| # Copyright 2016 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("bottom_sheet") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "password_suggestion_bottom_sheet_consumer.h", |
| "password_suggestion_bottom_sheet_coordinator.h", |
| "password_suggestion_bottom_sheet_coordinator.mm", |
| "password_suggestion_bottom_sheet_delegate.h", |
| "password_suggestion_bottom_sheet_exit_reason.h", |
| "password_suggestion_bottom_sheet_handler.h", |
| "password_suggestion_bottom_sheet_mediator.h", |
| "password_suggestion_bottom_sheet_mediator.mm", |
| "password_suggestion_bottom_sheet_view_controller.h", |
| "password_suggestion_bottom_sheet_view_controller.mm", |
| ] |
| deps = [ |
| ":common", |
| ":constants", |
| "//components/autofill/ios/browser", |
| "//components/autofill/ios/form_util", |
| "//components/password_manager/core/browser", |
| "//components/password_manager/ios", |
| "//components/prefs", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/autofill", |
| "//ios/chrome/browser/autofill/bottom_sheet", |
| "//ios/chrome/browser/autofill/manual_fill", |
| "//ios/chrome/browser/browser_state", |
| "//ios/chrome/browser/default_browser:utils", |
| "//ios/chrome/browser/favicon", |
| "//ios/chrome/browser/passwords", |
| "//ios/chrome/browser/passwords:password_controller_delegate", |
| "//ios/chrome/browser/passwords:passwords", |
| "//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/prefs:pref_names", |
| "//ios/chrome/browser/shared/model/web_state_list", |
| "//ios/chrome/browser/shared/ui/symbols", |
| "//ios/chrome/browser/shared/ui/table_view", |
| "//ios/chrome/browser/shared/ui/table_view/cells", |
| "//ios/chrome/browser/shared/ui/util", |
| "//ios/chrome/browser/ui/settings/password:common", |
| "//ios/chrome/browser/ui/settings/password:title_view", |
| "//ios/chrome/common/ui/colors", |
| "//ios/chrome/common/ui/confirmation_alert", |
| "//ios/chrome/common/ui/favicon", |
| "//ios/chrome/common/ui/favicon:favicon_constants", |
| "//ios/chrome/common/ui/reauthentication", |
| "//ios/chrome/common/ui/table_view:cells_constants", |
| "//ios/web/public", |
| "//ios/web/public/js_messaging", |
| ] |
| } |
| |
| source_set("common") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "scoped_password_suggestion_bottom_sheet_reauth_module_override.h", |
| "scoped_password_suggestion_bottom_sheet_reauth_module_override.mm", |
| ] |
| deps = [ |
| "//base", |
| "//ios/chrome/common/ui/reauthentication", |
| ] |
| } |
| |
| source_set("constants") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "password_suggestion_bottom_sheet_constants.h", |
| "password_suggestion_bottom_sheet_constants.mm", |
| ] |
| } |
| |
| source_set("eg2_tests") { |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//build/config/ios:xctest_config", |
| ] |
| testonly = true |
| sources = [ "password_suggestion_bottom_sheet_egtest.mm" ] |
| deps = [ |
| ":constants", |
| ":eg_test_support+eg2", |
| "//components/password_manager/core/common:features", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/passwords:eg_test_support+eg2", |
| "//ios/chrome/browser/signin:fake_system_identity", |
| "//ios/chrome/browser/ui/authentication:eg_test_support+eg2", |
| "//ios/chrome/browser/ui/settings/password:eg_test_support+eg2", |
| "//ios/chrome/browser/ui/settings/password:password_constants", |
| "//ios/chrome/test/earl_grey:eg_test_support+eg2", |
| "//ios/testing/earl_grey:eg_test_support+eg2", |
| "//net", |
| "//net:test_support", |
| "//ui/base", |
| ] |
| frameworks = [ "UIKit.framework" ] |
| } |
| |
| source_set("eg_app_support+eg2") { |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//build/config/ios:xctest_config", |
| ] |
| testonly = true |
| sources = [ |
| "password_suggestion_bottom_sheet_app_interface.h", |
| "password_suggestion_bottom_sheet_app_interface.mm", |
| ] |
| deps = [ |
| ":common", |
| "//base", |
| "//components/prefs", |
| "//ios/chrome/browser/shared/model/browser_state", |
| "//ios/chrome/browser/shared/model/prefs:pref_names", |
| "//ios/chrome/common/ui/reauthentication", |
| "//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_suggestion_bottom_sheet_app_interface.h", |
| "password_suggestion_bottom_sheet_app_interface_stub.mm", |
| ] |
| deps = [ |
| "//ios/chrome/common/ui/reauthentication", |
| "//ios/testing/earl_grey:eg_test_support+eg2", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| sources = [ "password_suggestion_bottom_sheet_mediator_unittest.mm" ] |
| deps = [ |
| ":bottom_sheet", |
| "//components/autofill/ios/browser", |
| "//components/autofill/ios/form_util", |
| "//components/password_manager/core/browser:test_support", |
| "//components/password_manager/ios", |
| "//components/prefs:test_support", |
| "//ios/chrome/browser/autofill", |
| "//ios/chrome/browser/favicon", |
| "//ios/chrome/browser/history", |
| "//ios/chrome/browser/passwords", |
| "//ios/chrome/browser/passwords:store_factory", |
| "//ios/chrome/browser/shared/model/browser_state:test_support", |
| "//ios/chrome/browser/shared/model/prefs:pref_names", |
| "//ios/chrome/browser/shared/model/web_state_list", |
| "//ios/chrome/browser/shared/model/web_state_list/test:test_support", |
| "//ios/web/public/test", |
| "//ios/web/public/test/fakes", |
| "//testing/gtest", |
| "//third_party/ocmock", |
| ] |
| } |