Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Side by Side Diff: components/sync_driver/BUILD.gn

Issue 1516433004: Componentize SyncBackendHostImpl unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 source_set("sync_driver") { 8 source_set("sync_driver") {
9 sources = [ 9 sources = [
10 "about_sync_util.cc", 10 "about_sync_util.cc",
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 "about_sync_util_unittest.cc", 210 "about_sync_util_unittest.cc",
211 "backend_migrator_unittest.cc", 211 "backend_migrator_unittest.cc",
212 "backup_rollback_controller_unittest.cc", 212 "backup_rollback_controller_unittest.cc",
213 "data_type_manager_impl_unittest.cc", 213 "data_type_manager_impl_unittest.cc",
214 "device_info_data_type_controller_unittest.cc", 214 "device_info_data_type_controller_unittest.cc",
215 "device_info_service_unittest.cc", 215 "device_info_service_unittest.cc",
216 "device_info_sync_service_unittest.cc", 216 "device_info_sync_service_unittest.cc",
217 "frontend_data_type_controller_unittest.cc", 217 "frontend_data_type_controller_unittest.cc",
218 "generic_change_processor_unittest.cc", 218 "generic_change_processor_unittest.cc",
219 "glue/browser_thread_model_worker_unittest.cc", 219 "glue/browser_thread_model_worker_unittest.cc",
220 "glue/sync_backend_host_impl_unittest.cc",
220 "glue/sync_backend_registrar_unittest.cc", 221 "glue/sync_backend_registrar_unittest.cc",
221 "glue/ui_model_worker_unittest.cc", 222 "glue/ui_model_worker_unittest.cc",
222 "local_device_info_provider_unittest.cc", 223 "local_device_info_provider_unittest.cc",
223 "model_association_manager_unittest.cc", 224 "model_association_manager_unittest.cc",
224 "non_blocking_data_type_controller_unittest.cc", 225 "non_blocking_data_type_controller_unittest.cc",
225 "non_frontend_data_type_controller_unittest.cc", 226 "non_frontend_data_type_controller_unittest.cc",
226 "non_ui_data_type_controller_unittest.cc", 227 "non_ui_data_type_controller_unittest.cc",
227 "profile_sync_auth_provider_unittest.cc", 228 "profile_sync_auth_provider_unittest.cc",
228 "shared_change_processor_unittest.cc", 229 "shared_change_processor_unittest.cc",
229 "startup_controller_unittest.cc", 230 "startup_controller_unittest.cc",
230 "sync_prefs_unittest.cc", 231 "sync_prefs_unittest.cc",
231 "sync_stopped_reporter_unittest.cc", 232 "sync_stopped_reporter_unittest.cc",
232 "sync_util_unittest.cc", 233 "sync_util_unittest.cc",
233 "system_encryptor_unittest.cc", 234 "system_encryptor_unittest.cc",
234 "ui_data_type_controller_unittest.cc", 235 "ui_data_type_controller_unittest.cc",
235 ] 236 ]
236 deps = [ 237 deps = [
237 ":test_support", 238 ":test_support",
238 "//base", 239 "//base",
239 "//base:prefs_test_support", 240 "//base:prefs_test_support",
240 "//base/test:test_support", 241 "//base/test:test_support",
242 "//components/invalidation/impl",
241 "//components/os_crypt", 243 "//components/os_crypt",
242 "//components/pref_registry:test_support", 244 "//components/pref_registry:test_support",
243 "//components/signin/core/browser:test_support", 245 "//components/signin/core/browser:test_support",
244 "//components/syncable_prefs", 246 "//components/syncable_prefs",
245 "//components/syncable_prefs:test_support", 247 "//components/syncable_prefs:test_support",
246 "//components/version_info", 248 "//components/version_info",
247 "//net:test_support", 249 "//net:test_support",
248 "//sync:test_support_sync_api", 250 "//sync:test_support_sync_api",
249 "//sync:test_support_sync_internal_api", 251 "//sync:test_support_sync_internal_api",
250 "//testing/gmock", 252 "//testing/gmock",
(...skipping 11 matching lines...) Expand all
262 } 264 }
263 265
264 buildflag_header("features") { 266 buildflag_header("features") {
265 header = "sync_driver_features.h" 267 header = "sync_driver_features.h"
266 268
267 # Whether to back up data before sync. 269 # Whether to back up data before sync.
268 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) 270 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos)
269 271
270 flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ] 272 flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ]
271 } 273 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/sync_driver/glue/sync_backend_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698