OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 | 7 |
8 static_library("sync_driver") { | 8 static_library("sync_driver") { |
9 sources = [ | 9 sources = [ |
10 "about_sync_util.cc", | 10 "about_sync_util.cc", |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 "system_encryptor.cc", | 118 "system_encryptor.cc", |
119 "system_encryptor.h", | 119 "system_encryptor.h", |
120 "ui_data_type_controller.cc", | 120 "ui_data_type_controller.cc", |
121 "ui_data_type_controller.h", | 121 "ui_data_type_controller.h", |
122 "ui_model_type_controller.cc", | 122 "ui_model_type_controller.cc", |
123 "ui_model_type_controller.h", | 123 "ui_model_type_controller.h", |
124 "user_selectable_sync_type.h", | 124 "user_selectable_sync_type.h", |
125 ] | 125 ] |
126 | 126 |
127 public_deps = [ | 127 public_deps = [ |
128 "//sync", | 128 "//components/sync", |
129 "//third_party/cacheinvalidation", | 129 "//third_party/cacheinvalidation", |
130 ] | 130 ] |
131 | 131 |
132 deps = [ | 132 deps = [ |
133 "//base", | 133 "//base", |
134 "//base/third_party/dynamic_annotations", | 134 "//base/third_party/dynamic_annotations", |
135 "//components/data_use_measurement/core", | 135 "//components/data_use_measurement/core", |
136 "//components/invalidation/public", | 136 "//components/invalidation/public", |
137 "//components/metrics", | 137 "//components/metrics", |
138 "//components/os_crypt", | 138 "//components/os_crypt", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 "model_associator_mock.cc", | 182 "model_associator_mock.cc", |
183 "model_associator_mock.h", | 183 "model_associator_mock.h", |
184 "non_ui_data_type_controller_mock.cc", | 184 "non_ui_data_type_controller_mock.cc", |
185 "non_ui_data_type_controller_mock.h", | 185 "non_ui_data_type_controller_mock.h", |
186 "sync_api_component_factory_mock.cc", | 186 "sync_api_component_factory_mock.cc", |
187 "sync_api_component_factory_mock.h", | 187 "sync_api_component_factory_mock.h", |
188 ] | 188 ] |
189 | 189 |
190 public_deps = [ | 190 public_deps = [ |
191 ":sync_driver", | 191 ":sync_driver", |
192 "//sync", | 192 "//components/sync", |
193 ] | 193 ] |
194 | 194 |
195 deps = [ | 195 deps = [ |
196 "//base", | 196 "//base", |
| 197 "//components/sync:test_support_sync_core_impl", |
197 "//components/syncable_prefs:test_support", | 198 "//components/syncable_prefs:test_support", |
198 "//components/version_info", | 199 "//components/version_info", |
199 "//google_apis", | 200 "//google_apis", |
200 "//sync:test_support_sync_internal_api", | |
201 "//testing/gmock", | 201 "//testing/gmock", |
202 "//testing/gtest", | 202 "//testing/gtest", |
203 ] | 203 ] |
204 } | 204 } |
205 | 205 |
206 source_set("unit_tests") { | 206 source_set("unit_tests") { |
207 testonly = true | 207 testonly = true |
208 sources = [ | 208 sources = [ |
209 "about_sync_util_unittest.cc", | 209 "about_sync_util_unittest.cc", |
210 "backend_migrator_unittest.cc", | 210 "backend_migrator_unittest.cc", |
(...skipping 26 matching lines...) Expand all Loading... |
237 ] | 237 ] |
238 deps = [ | 238 deps = [ |
239 ":test_support", | 239 ":test_support", |
240 "//base", | 240 "//base", |
241 "//base/test:test_support", | 241 "//base/test:test_support", |
242 "//components/invalidation/impl", | 242 "//components/invalidation/impl", |
243 "//components/os_crypt:test_support", | 243 "//components/os_crypt:test_support", |
244 "//components/pref_registry:test_support", | 244 "//components/pref_registry:test_support", |
245 "//components/prefs:test_support", | 245 "//components/prefs:test_support", |
246 "//components/signin/core/browser:test_support", | 246 "//components/signin/core/browser:test_support", |
| 247 "//components/sync:test_support_sync_api", |
| 248 "//components/sync:test_support_sync_core_impl", |
247 "//components/syncable_prefs", | 249 "//components/syncable_prefs", |
248 "//components/syncable_prefs:test_support", | 250 "//components/syncable_prefs:test_support", |
249 "//components/version_info", | 251 "//components/version_info", |
250 "//net:test_support", | 252 "//net:test_support", |
251 "//sync:test_support_sync_api", | |
252 "//sync:test_support_sync_internal_api", | |
253 "//testing/gmock", | 253 "//testing/gmock", |
254 "//testing/gtest", | 254 "//testing/gtest", |
255 "//url", | 255 "//url", |
256 ] | 256 ] |
257 | 257 |
258 if (enable_configuration_policy) { | 258 if (enable_configuration_policy) { |
259 sources += [ "sync_policy_handler_unittest.cc" ] | 259 sources += [ "sync_policy_handler_unittest.cc" ] |
260 deps += [ | 260 deps += [ |
261 "//components/policy", | 261 "//components/policy", |
262 "//components/policy:policy_component", | 262 "//components/policy:policy_component", |
263 ] | 263 ] |
264 } | 264 } |
265 } | 265 } |
OLD | NEW |