| # 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("sync") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "sync_create_passphrase_table_view_controller.h", |
| "sync_create_passphrase_table_view_controller.mm", |
| "sync_encryption_passphrase_table_view_controller.h", |
| "sync_encryption_passphrase_table_view_controller.mm", |
| "sync_encryption_table_view_controller.h", |
| "sync_encryption_table_view_controller.mm", |
| ] |
| deps = [ |
| "//base", |
| "//components/autofill/core/common", |
| "//components/browser_sync", |
| "//components/google/core/common", |
| "//components/prefs", |
| "//components/signin/public/identity_manager/objc", |
| "//components/strings", |
| "//components/sync", |
| "//components/unified_consent", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/application_context", |
| "//ios/chrome/browser/browser_state", |
| "//ios/chrome/browser/main:public", |
| "//ios/chrome/browser/net:crurl", |
| "//ios/chrome/browser/shared/public/commands", |
| "//ios/chrome/browser/shared/public/features", |
| "//ios/chrome/browser/shared/public/features", |
| "//ios/chrome/browser/shared/ui/table_view", |
| "//ios/chrome/browser/shared/ui/table_view:utils", |
| "//ios/chrome/browser/shared/ui/table_view/cells", |
| "//ios/chrome/browser/shared/ui/util", |
| "//ios/chrome/browser/signin", |
| "//ios/chrome/browser/signin:system_identity", |
| "//ios/chrome/browser/sync", |
| "//ios/chrome/browser/ui/authentication", |
| "//ios/chrome/browser/ui/authentication/cells", |
| "//ios/chrome/browser/ui/main:scene_state_header", |
| "//ios/chrome/browser/ui/scoped_ui_blocker", |
| "//ios/chrome/browser/ui/settings:settings_root", |
| "//ios/chrome/browser/ui/settings/cells", |
| "//ios/chrome/browser/ui/settings/google_services:constants", |
| "//ios/chrome/browser/ui/settings/sync/utils", |
| "//ios/chrome/browser/ui/settings/utils", |
| "//ios/chrome/browser/url:constants", |
| "//ios/chrome/common/ui/colors", |
| "//ios/chrome/common/ui/table_view:cells_constants", |
| "//ui/base", |
| "//url", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| sources = [ |
| "sync_create_passphrase_table_view_controller_unittest.mm", |
| "sync_encryption_passphrase_table_view_controller_unittest.mm", |
| "sync_encryption_table_view_controller_unittest.mm", |
| ] |
| deps = [ |
| ":sync", |
| "//base/test:test_support", |
| "//components/autofill/core/common", |
| "//components/google/core/common", |
| "//components/strings", |
| "//components/sync:test_support", |
| "//components/sync_preferences", |
| "//components/sync_preferences:test_support", |
| "//components/unified_consent", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/browser_state:test_support", |
| "//ios/chrome/browser/main:test_support", |
| "//ios/chrome/browser/prefs", |
| "//ios/chrome/browser/prefs:browser_prefs", |
| "//ios/chrome/browser/shared/ui/table_view", |
| "//ios/chrome/browser/shared/ui/table_view:test_support", |
| "//ios/chrome/browser/shared/ui/table_view/cells", |
| "//ios/chrome/browser/signin", |
| "//ios/chrome/browser/signin:system_identity", |
| "//ios/chrome/browser/sync", |
| "//ios/chrome/browser/sync:test_support", |
| "//ios/chrome/browser/ui/settings:test_support", |
| "//ios/chrome/browser/ui/settings/cells", |
| "//ios/chrome/browser/ui/settings/sync/utils", |
| "//ios/web/public/test", |
| "//testing/gtest", |
| "//ui/base", |
| ] |
| } |
| |
| source_set("eg2_tests") { |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//build/config/ios:xctest_config", |
| ] |
| testonly = true |
| sources = [ "sync_encryption_passphrase_table_view_controller_egtest.mm" ] |
| deps = [ |
| "//base/test:test_support", |
| "//components/strings", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/metrics: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:constants", |
| "//ios/chrome/browser/ui/settings/google_services:constants", |
| "//ios/chrome/test/earl_grey:eg_test_support+eg2", |
| "//ios/testing/earl_grey:eg_test_support+eg2", |
| "//ui/base", |
| ] |
| frameworks = [ "UIKit.framework" ] |
| } |