OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("signin") { | 5 source_set("signin") { |
6 sources = [ | 6 sources = [ |
7 "about_signin_internals_factory.cc", | 7 "about_signin_internals_factory.cc", |
8 "about_signin_internals_factory.h", | 8 "about_signin_internals_factory.h", |
9 "account_consistency_service_factory.h", | 9 "account_consistency_service_factory.h", |
10 "account_consistency_service_factory.mm", | 10 "account_consistency_service_factory.mm", |
11 "account_fetcher_service_factory.cc", | 11 "account_fetcher_service_factory.cc", |
12 "account_fetcher_service_factory.h", | 12 "account_fetcher_service_factory.h", |
13 "account_reconcilor_factory.cc", | 13 "account_reconcilor_factory.cc", |
14 "account_reconcilor_factory.h", | 14 "account_reconcilor_factory.h", |
15 "account_tracker_service_factory.cc", | 15 "account_tracker_service_factory.cc", |
16 "account_tracker_service_factory.h", | 16 "account_tracker_service_factory.h", |
| 17 "authentication_service.h", |
| 18 "authentication_service.mm", |
| 19 "authentication_service_factory.h", |
| 20 "authentication_service_factory.mm", |
17 "browser_state_data_remover.h", | 21 "browser_state_data_remover.h", |
18 "browser_state_data_remover.mm", | 22 "browser_state_data_remover.mm", |
19 "chrome_identity_service_observer_bridge.h", | 23 "chrome_identity_service_observer_bridge.h", |
20 "chrome_identity_service_observer_bridge.mm", | 24 "chrome_identity_service_observer_bridge.mm", |
21 "constants.h", | 25 "constants.h", |
22 "constants.mm", | 26 "constants.mm", |
23 "gaia_auth_fetcher_ios.h", | 27 "gaia_auth_fetcher_ios.h", |
24 "gaia_auth_fetcher_ios.mm", | 28 "gaia_auth_fetcher_ios.mm", |
25 "gaia_auth_fetcher_ios_private.h", | 29 "gaia_auth_fetcher_ios_private.h", |
26 "gaia_cookie_manager_service_factory.cc", | 30 "gaia_cookie_manager_service_factory.cc", |
(...skipping 10 matching lines...) Expand all Loading... |
37 "signin_client_impl.mm", | 41 "signin_client_impl.mm", |
38 "signin_error_controller_factory.cc", | 42 "signin_error_controller_factory.cc", |
39 "signin_error_controller_factory.h", | 43 "signin_error_controller_factory.h", |
40 "signin_manager_factory.cc", | 44 "signin_manager_factory.cc", |
41 "signin_manager_factory.h", | 45 "signin_manager_factory.h", |
42 "signin_manager_factory_observer.h", | 46 "signin_manager_factory_observer.h", |
43 "signin_util.h", | 47 "signin_util.h", |
44 "signin_util.mm", | 48 "signin_util.mm", |
45 ] | 49 ] |
46 deps = [ | 50 deps = [ |
47 "//components/pref_registry", | 51 "//components/browser_sync", |
48 "//components/prefs", | 52 "//components/sync", |
49 "//ios/web", | 53 "//ios/web", |
50 "//url", | 54 "//url", |
51 ] | 55 ] |
52 public_deps = [ | 56 public_deps = [ |
53 "//base", | 57 "//base", |
54 "//components/content_settings/core/browser", | 58 "//components/content_settings/core/browser", |
| 59 "//components/keyed_service/core", |
55 "//components/keyed_service/ios", | 60 "//components/keyed_service/ios", |
56 "//components/metrics", | 61 "//components/metrics", |
| 62 "//components/pref_registry", |
57 "//components/prefs", | 63 "//components/prefs", |
58 "//components/signin/core/browser", | 64 "//components/signin/core/browser", |
59 "//components/signin/ios/browser", | 65 "//components/signin/ios/browser", |
60 "//google_apis", | 66 "//google_apis", |
61 "//ios/chrome/common", | 67 "//ios/chrome/common", |
62 "//ios/public/provider/chrome/browser", | 68 "//ios/public/provider/chrome/browser", |
63 "//net", | 69 "//net", |
64 ] | 70 ] |
65 } | 71 } |
66 | 72 |
67 # Temporary target to allow upstreaming authentication_service*.{cc,h} | 73 # Temporary target to allow upstreaming authentication_service*.{cc,h} |
68 # without breaking downstream repository when rolling the CL. Will be | 74 # without breaking downstream repository when rolling the CL. Will be |
69 # removed once downstream code no longer use it. | 75 # removed once downstream code no longer use it. |
70 source_set("authentication_service") { | 76 group("authentication_service") { |
71 sources = [ | |
72 "authentication_service.h", | |
73 "authentication_service.mm", | |
74 "authentication_service_factory.h", | |
75 "authentication_service_factory.mm", | |
76 ] | |
77 deps = [ | |
78 ":signin", | |
79 "//components/browser_sync", | |
80 "//components/prefs", | |
81 "//components/signin/ios/browser", | |
82 "//components/sync", | |
83 "//ios/chrome/browser", | |
84 ] | |
85 public_deps = [ | |
86 "//base", | |
87 "//components/keyed_service/core", | |
88 "//components/keyed_service/ios", | |
89 "//components/pref_registry", | |
90 "//components/signin/core/browser", | |
91 "//google_apis", | |
92 "//ios/public/provider/chrome/browser", | |
93 ] | |
94 } | 77 } |
95 | 78 |
96 source_set("test_support") { | 79 source_set("test_support") { |
97 testonly = true | 80 testonly = true |
98 sources = [ | 81 sources = [ |
| 82 "authentication_service_fake.h", |
| 83 "authentication_service_fake.mm", |
99 "fake_oauth2_token_service_builder.h", | 84 "fake_oauth2_token_service_builder.h", |
100 "fake_oauth2_token_service_builder.mm", | 85 "fake_oauth2_token_service_builder.mm", |
101 "fake_signin_manager_builder.cc", | 86 "fake_signin_manager_builder.cc", |
102 "fake_signin_manager_builder.h", | 87 "fake_signin_manager_builder.h", |
103 ] | 88 ] |
104 deps = [ | 89 deps = [ |
105 ":signin", | |
106 "//base", | |
107 "//components/signin/core/browser:test_support", | 90 "//components/signin/core/browser:test_support", |
108 "//components/signin/ios/browser", | 91 "//components/signin/ios/browser", |
109 "//ios/chrome/browser", | 92 "//ios/chrome/browser", |
110 ] | 93 ] |
| 94 public_deps = [ |
| 95 ":signin", |
| 96 "//base", |
| 97 "//ios/public/provider/chrome/browser", |
| 98 ] |
111 } | 99 } |
112 | 100 |
113 # Temporary target to allow upstreaming authentication_service*.{cc,h} | 101 # Temporary target to allow upstreaming authentication_service*.{cc,h} |
114 # without breaking downstream repository when rolling the CL. Will be | 102 # without breaking downstream repository when rolling the CL. Will be |
115 # removed once downstream code no longer use it. | 103 # removed once downstream code no longer use it. |
116 source_set("authentication_service_test_support") { | 104 group("authentication_service_test_support") { |
117 testonly = true | 105 testonly = true |
118 sources = [ | |
119 "authentication_service_fake.h", | |
120 "authentication_service_fake.mm", | |
121 ] | |
122 deps = [ | |
123 "//ios/chrome/browser", | |
124 ] | |
125 public_deps = [ | |
126 ":authentication_service", | |
127 ":signin", | |
128 "//base", | |
129 "//ios/public/provider/chrome/browser", | |
130 ] | |
131 } | 106 } |
132 | 107 |
133 source_set("unit_tests") { | 108 source_set("unit_tests") { |
134 testonly = true | 109 testonly = true |
135 sources = [ | 110 sources = [ |
136 "authentication_service_unittest.mm", | 111 "authentication_service_unittest.mm", |
137 "chrome_identity_service_observer_bridge_unittest.mm", | 112 "chrome_identity_service_observer_bridge_unittest.mm", |
138 "gaia_auth_fetcher_ios_unittest.mm", | 113 "gaia_auth_fetcher_ios_unittest.mm", |
139 ] | 114 ] |
140 deps = [ | 115 deps = [ |
141 ":authentication_service", | |
142 ":signin", | 116 ":signin", |
143 ":test_support", | 117 ":test_support", |
144 "//base", | 118 "//base", |
145 "//components/browser_sync:test_support", | 119 "//components/browser_sync:test_support", |
146 "//components/pref_registry", | 120 "//components/pref_registry", |
147 "//components/prefs", | 121 "//components/prefs", |
148 "//components/signin/core/browser", | 122 "//components/signin/core/browser", |
149 "//components/signin/core/browser:test_support", | 123 "//components/signin/core/browser:test_support", |
150 "//components/signin/core/common", | 124 "//components/signin/core/common", |
151 "//components/signin/ios/browser", | 125 "//components/signin/ios/browser", |
152 "//components/syncable_prefs", | 126 "//components/syncable_prefs", |
153 "//components/syncable_prefs:test_support", | 127 "//components/syncable_prefs:test_support", |
154 "//google_apis", | 128 "//google_apis", |
155 "//ios/chrome/browser", | 129 "//ios/chrome/browser", |
156 "//ios/chrome/browser:test_support", | 130 "//ios/chrome/browser:test_support", |
157 "//ios/chrome/test", | 131 "//ios/chrome/test", |
158 "//ios/public/provider/chrome/browser", | 132 "//ios/public/provider/chrome/browser", |
159 "//ios/public/provider/chrome/browser:test_support", | 133 "//ios/public/provider/chrome/browser:test_support", |
160 "//ios/web:test_support", | 134 "//ios/web:test_support", |
161 "//net:test_support", | 135 "//net:test_support", |
162 "//testing/gmock", | 136 "//testing/gmock", |
163 "//testing/gtest", | 137 "//testing/gtest", |
164 "//third_party/ocmock", | 138 "//third_party/ocmock", |
165 ] | 139 ] |
166 } | 140 } |
OLD | NEW |