| # Copyright 2017 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("page_info") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "legacy_page_info_view_controller.h", |
| "legacy_page_info_view_controller.mm", |
| "page_info_config.h", |
| "page_info_config.mm", |
| "page_info_view_controller.h", |
| "page_info_view_controller.mm", |
| ] |
| deps = [ |
| "//base", |
| "//base:i18n", |
| "//components/keyed_service/core", |
| "//components/security_state/core", |
| "//components/ssl_errors", |
| "//components/strings", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/app/theme", |
| "//ios/chrome/browser", |
| "//ios/chrome/browser/browser_state", |
| "//ios/chrome/browser/ui/commands", |
| "//ios/chrome/browser/ui/fancy_ui", |
| "//ios/chrome/browser/ui/page_info/requirements", |
| "//ios/chrome/browser/ui/popup_menu", |
| "//ios/chrome/browser/ui/util", |
| "//ios/chrome/common", |
| "//ios/chrome/common/colors", |
| "//ios/web", |
| "//ios/web/public/security", |
| "//ui/base", |
| "//ui/gfx", |
| "//url", |
| ] |
| public_deps = [ |
| ":constants", |
| ] |
| libs = [ "UIKit.framework" ] |
| } |
| |
| source_set("constants") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "page_info_constants.h", |
| "page_info_constants.mm", |
| ] |
| } |
| |
| source_set("features") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "features.h", |
| "features.mm", |
| ] |
| deps = [ |
| "//base", |
| ] |
| } |
| |
| source_set("coordinator") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "page_info_coordinator.h", |
| "page_info_coordinator.mm", |
| "page_info_legacy_coordinator.h", |
| "page_info_legacy_coordinator.mm", |
| "page_info_mediator.h", |
| "page_info_mediator.mm", |
| ] |
| deps = [ |
| ":page_info", |
| "resources:page_info_bad", |
| "resources:page_info_good", |
| "resources:page_info_info", |
| "resources:page_info_offline", |
| "//base", |
| "//components/security_state/core", |
| "//components/ssl_errors", |
| "//components/strings", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser", |
| "//ios/chrome/browser/browser_state", |
| "//ios/chrome/browser/main", |
| "//ios/chrome/browser/reading_list", |
| "//ios/chrome/browser/tabs", |
| "//ios/chrome/browser/ui/commands", |
| "//ios/chrome/browser/ui/coordinators:chrome_coordinators", |
| "//ios/chrome/browser/ui/fullscreen:coordinators", |
| "//ios/chrome/browser/ui/page_info/requirements", |
| "//ios/chrome/browser/url_loading", |
| "//ios/chrome/browser/web_state_list", |
| "//ios/web", |
| "//ios/web/public", |
| "//ios/web/public/security", |
| "//ui/base", |
| ] |
| libs = [ "UIKit.framework" ] |
| } |
| |
| source_set("eg_tests") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| defines = [ "CHROME_EARL_GREY_1" ] |
| testonly = true |
| sources = [ |
| "page_info_egtest.mm", |
| ] |
| deps = [ |
| ":page_info", |
| "//ios/chrome/browser/ui/popup_menu:constants", |
| "//ios/chrome/browser/ui/util", |
| "//ios/chrome/test/earl_grey:test_support", |
| "//ios/testing/earl_grey:earl_grey_support", |
| ] |
| libs = [ |
| "UIKit.framework", |
| "XCTest.framework", |
| ] |
| } |
| |
| source_set("eg2_tests") { |
| defines = [ "CHROME_EARL_GREY_2" ] |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//build/config/ios:xctest_config", |
| ] |
| testonly = true |
| sources = [ |
| "page_info_egtest.mm", |
| ] |
| deps = [ |
| ":constants", |
| "//ios/chrome/browser/ui/popup_menu:constants", |
| "//ios/chrome/test/earl_grey:eg_test_support+eg2", |
| "//ios/testing/earl_grey:eg_test_support+eg2", |
| "//ios/third_party/earl_grey2:test_lib", |
| "//ui/base", |
| ] |
| libs = [ |
| "UIKit.framework", |
| "XCTest.framework", |
| ] |
| } |