| # Copyright 2019 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("passwords") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "password_breach_consumer.h", |
| "password_breach_coordinator.h", |
| "password_breach_coordinator.mm", |
| "password_breach_mediator.h", |
| "password_breach_mediator.mm", |
| "password_breach_presenter.h", |
| "password_breach_view_controller.h", |
| "password_breach_view_controller.mm", |
| "password_protection_coordinator.h", |
| "password_protection_coordinator.mm", |
| "password_protection_view_controller.h", |
| "password_protection_view_controller.mm", |
| "password_suggestion_coordinator.h", |
| "password_suggestion_coordinator.mm", |
| "password_suggestion_view_controller.h", |
| "password_suggestion_view_controller.mm", |
| ] |
| public_deps = [ "account_storage_notice" ] |
| deps = [ |
| ":constants", |
| "resources", |
| "//base", |
| "//components/password_manager/core/browser", |
| "//components/password_manager/core/common:features", |
| "//components/password_manager/ios:password_manager_feature_header", |
| "//components/safe_browsing/core/browser/password_protection:password_protection_metrics_util", |
| "//components/strings", |
| "//components/ukm/ios:ukm_url_recorder", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/autofill:autofill_shared", |
| "//ios/chrome/browser/shared/coordinator/chrome_coordinator", |
| "//ios/chrome/browser/shared/model/browser", |
| "//ios/chrome/browser/shared/model/browser_state", |
| "//ios/chrome/browser/shared/model/web_state_list", |
| "//ios/chrome/browser/shared/public/commands", |
| "//ios/chrome/browser/shared/public/features", |
| "//ios/chrome/browser/shared/ui/util", |
| "//ios/chrome/browser/signin", |
| "//ios/chrome/browser/ui/autofill/form_input_accessory", |
| "//ios/chrome/browser/ui/settings/password:title_view", |
| "//ios/chrome/common/ui/colors", |
| "//ios/chrome/common/ui/confirmation_alert", |
| "//ios/chrome/common/ui/elements:popover_label_view_controller", |
| "//ios/chrome/common/ui/util", |
| "//ios/public/provider/chrome/browser/branded_images:branded_images_api", |
| "//ios/web", |
| "//ios/web/public", |
| "//ios/web/public/js_messaging", |
| "//ui/base", |
| ] |
| frameworks = [ "UIKit.framework" ] |
| } |
| |
| source_set("constants") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "password_constants.h", |
| "password_constants.mm", |
| ] |
| } |
| |
| source_set("eg_app_support+eg2") { |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//build/config/ios:xctest_config", |
| ] |
| testonly = true |
| sources = [ |
| "password_breach_app_interface.h", |
| "password_breach_app_interface.mm", |
| ] |
| deps = [ |
| "//base", |
| "//base/test:test_support", |
| "//ios/chrome/browser/shared/model/browser_state", |
| "//ios/chrome/browser/shared/public/commands", |
| "//ios/chrome/test/app:test_support", |
| ] |
| } |
| |
| source_set("eg_test_support+eg2") { |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//build/config/ios:xctest_config", |
| ] |
| testonly = true |
| sources = [ |
| "password_breach_app_interface.h", |
| "password_breach_app_interface_stub.mm", |
| ] |
| deps = [ |
| ":constants", |
| "//base", |
| "//ios/testing/earl_grey:eg_test_support+eg2", |
| ] |
| } |
| |
| source_set("eg2_tests") { |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//build/config/ios:xctest_config", |
| ] |
| testonly = true |
| sources = [ "password_breach_egtest.mm" ] |
| deps = [ |
| ":constants", |
| ":eg_test_support+eg2", |
| "//base", |
| "//base/test:test_support", |
| "//components/password_manager/core/common:features", |
| "//components/strings", |
| "//ios/chrome/browser/ui/authentication:eg_test_support+eg2", |
| "//ios/chrome/browser/ui/settings/password:password_constants", |
| "//ios/chrome/test:eg_test_support+eg2", |
| "//ios/chrome/test/earl_grey:eg_test_support+eg2", |
| "//ios/testing/earl_grey:eg_test_support+eg2", |
| "//ios/web/public/test/http_server", |
| "//net:test_support", |
| "//testing/gtest", |
| "//ui/base:base", |
| ] |
| frameworks = [ |
| "UIKit.framework", |
| "XCTest.framework", |
| ] |
| } |