Chromium Code Reviews| 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/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 | 6 |
| 7 static_library("sync_driver") { | 7 static_library("sync_driver") { |
| 8 sources = [ | 8 sources = [ |
| 9 "backend_data_type_configurer.cc", | 9 "backend_data_type_configurer.cc", |
| 10 "backend_data_type_configurer.h", | 10 "backend_data_type_configurer.h", |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 66 "sync_error_controller.h", | 66 "sync_error_controller.h", |
| 67 "sync_frontend.cc", | 67 "sync_frontend.cc", |
| 68 "sync_frontend.h", | 68 "sync_frontend.h", |
| 69 "sync_prefs.cc", | 69 "sync_prefs.cc", |
| 70 "sync_prefs.h", | 70 "sync_prefs.h", |
| 71 "sync_service.h", | 71 "sync_service.h", |
| 72 "sync_service_observer.cc", | 72 "sync_service_observer.cc", |
| 73 "sync_service_observer.h", | 73 "sync_service_observer.h", |
| 74 "system_encryptor.cc", | 74 "system_encryptor.cc", |
| 75 "system_encryptor.h", | 75 "system_encryptor.h", |
| 76 "tab_node_pool.cc", | |
| 77 "tab_node_pool.h", | |
| 76 "ui_data_type_controller.cc", | 78 "ui_data_type_controller.cc", |
| 77 "ui_data_type_controller.h", | 79 "ui_data_type_controller.h", |
| 78 "user_selectable_sync_type.h", | 80 "user_selectable_sync_type.h", |
| 79 ] | 81 ] |
| 80 | 82 |
| 81 deps = [ | 83 deps = [ |
| 82 "//base", | 84 "//base", |
| 83 "//components/os_crypt", | 85 "//components/os_crypt", |
| 84 "//components/signin/core/browser", | 86 "//components/signin/core/browser", |
| 85 "//sync", | 87 "//sync", |
| 86 ] | 88 ] |
| 87 | 89 |
| 88 if (enable_configuration_policy) { | 90 if (enable_configuration_policy) { |
| 89 sources += [ | 91 sources += [ |
| 90 "sync_policy_handler.cc", | 92 "sync_policy_handler.cc", |
| 91 "sync_policy_handler.h", | 93 "sync_policy_handler.h", |
| 92 ] | 94 ] |
| 93 } | 95 } |
| 94 } | 96 } |
| 95 | 97 |
| 98 source_set("unit_tests") { | |
| 99 testonly = true | |
| 100 sources = [ | |
| 101 "tab_node_pool_unittest.cc", | |
| 102 ] | |
| 103 | |
| 104 deps = [ | |
| 105 ":sync_driver", | |
|
droger
2015/08/10 12:21:20
Looks like you need also
//base
because the test i
Abhishek
2015/08/11 08:16:18
I think we are not using it. So I've removed it.
| |
| 106 "//sync:test_support_sync_internal_api", | |
| 107 "//testing/gtest", | |
| 108 ] | |
| 109 } | |
| 110 | |
| 96 static_library("test_support") { | 111 static_library("test_support") { |
| 97 testonly = true | 112 testonly = true |
| 98 sources = [ | 113 sources = [ |
| 99 "change_processor_mock.cc", | 114 "change_processor_mock.cc", |
| 100 "change_processor_mock.h", | 115 "change_processor_mock.h", |
| 101 "data_type_controller_mock.cc", | 116 "data_type_controller_mock.cc", |
| 102 "data_type_controller_mock.h", | 117 "data_type_controller_mock.h", |
| 103 "data_type_error_handler_mock.cc", | 118 "data_type_error_handler_mock.cc", |
| 104 "data_type_error_handler_mock.h", | 119 "data_type_error_handler_mock.h", |
| 105 "data_type_manager_mock.cc", | 120 "data_type_manager_mock.cc", |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 119 deps = [ | 134 deps = [ |
| 120 ":sync_driver", | 135 ":sync_driver", |
| 121 "//base", | 136 "//base", |
| 122 "//components/sessions", | 137 "//components/sessions", |
| 123 "//sync", | 138 "//sync", |
| 124 "//sync:test_support_sync_internal_api", | 139 "//sync:test_support_sync_internal_api", |
| 125 "//testing/gmock", | 140 "//testing/gmock", |
| 126 "//testing/gtest", | 141 "//testing/gtest", |
| 127 ] | 142 ] |
| 128 } | 143 } |
| OLD | NEW |