summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/ui/settings/sync/BUILD.gn
blob: 8b1ae979208c35698de6f53a118bcb3f0a1cc961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Copyright 2019 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("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",
    "sync_settings_table_view_controller.h",
    "sync_settings_table_view_controller.mm",
  ]
  deps = [
    "//base",
    "//components/autofill/core/common",
    "//components/browser_sync",
    "//components/google/core/common",
    "//components/prefs",
    "//components/strings",
    "//components/sync",
    "//components/unified_consent",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser",
    "//ios/chrome/browser",
    "//ios/chrome/browser/browser_state",
    "//ios/chrome/browser/signin",
    "//ios/chrome/browser/sync",
    "//ios/chrome/browser/ui:feature_flags",
    "//ios/chrome/browser/ui:feature_flags",
    "//ios/chrome/browser/ui/authentication",
    "//ios/chrome/browser/ui/authentication/cells",
    "//ios/chrome/browser/ui/collection_view",
    "//ios/chrome/browser/ui/collection_view/cells",
    "//ios/chrome/browser/ui/colors",
    "//ios/chrome/browser/ui/commands",
    "//ios/chrome/browser/ui/settings:settings_root",
    "//ios/chrome/browser/ui/settings/cells",
    "//ios/chrome/browser/ui/settings/cells/legacy",
    "//ios/chrome/browser/ui/settings/sync/utils",
    "//ios/chrome/browser/ui/settings/utils",
    "//ios/chrome/browser/ui/table_view",
    "//ios/chrome/browser/ui/table_view/cells",
    "//ios/chrome/browser/ui/util",
    "//ios/public/provider/chrome/browser",
    "//ios/public/provider/chrome/browser/signin",
    "//services/identity/public/objc",
    "//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",
    "sync_settings_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_driver",
    "//components/sync_preferences",
    "//components/sync_preferences:test_support",
    "//components/unified_consent",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser",
    "//ios/chrome/browser",
    "//ios/chrome/browser/browser_state:test_support",
    "//ios/chrome/browser/prefs",
    "//ios/chrome/browser/prefs:browser_prefs",
    "//ios/chrome/browser/sync",
    "//ios/chrome/browser/sync:test_support",
    "//ios/chrome/browser/ui/collection_view",
    "//ios/chrome/browser/ui/collection_view:test_support",
    "//ios/chrome/browser/ui/settings:test_support",
    "//ios/chrome/browser/ui/settings/cells",
    "//ios/chrome/browser/ui/settings/cells/legacy",
    "//ios/chrome/browser/ui/settings/sync/utils",
    "//ios/chrome/browser/ui/table_view",
    "//ios/chrome/browser/ui/table_view:test_support",
    "//ios/chrome/browser/ui/table_view/cells",
    "//ios/web/public/test",
    "//testing/gtest",
    "//ui/base",
  ]
}