# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. source_set("ssl") { configs += [ "//build/config/compiler:enable_arc" ] sources = [ "captive_portal_detector_tab_helper.h", "captive_portal_detector_tab_helper.mm", "ios_captive_portal_blocking_page.h", "ios_captive_portal_blocking_page.mm", "ios_captive_portal_blocking_page_delegate.h", "ios_security_state_tab_helper.h", "ios_security_state_tab_helper.mm", "ios_ssl_blocking_page.h", "ios_ssl_blocking_page.mm", "ios_ssl_error_handler.h", "ios_ssl_error_handler.mm", ] deps = [ ":features", "//base", "//base:i18n", "//components/captive_portal", "//components/security_interstitials/core", "//components/security_state/core", "//components/strings", "//components/url_formatter", "//ios/chrome/app/strings", "//ios/chrome/browser/browser_state", "//ios/chrome/browser/interstitials", "//ios/chrome/browser/tabs", "//ios/chrome/browser/ui/captive_portal", "//ios/chrome/browser/ui/util", "//ios/public/provider/chrome/browser", "//ios/web", "//net", "//ui/base", "//url", ] } source_set("features") { configs += [ "//build/config/compiler:enable_arc" ] sources = [ "captive_portal_features.cc", "captive_portal_features.h", ] deps = [ "//base", ] } source_set("unit_tests") { configs += [ "//build/config/compiler:enable_arc" ] testonly = true sources = [ "ios_captive_portal_blocking_page_unittest.mm", "ios_ssl_error_handler_unittest.mm", ] deps = [ ":ssl", "//ios/chrome/browser/browser_state:test_support", "//ios/chrome/browser/web:test_support", "//ios/testing:ios_test_support", "//ios/web", "//ios/web/public/test", "//net", "//net:test_support", ] }