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 source_set("sync_driver") { | 8 static_library("sync_driver") { |
9 sources = [ | 9 sources = [ |
10 "about_sync_util.cc", | 10 "about_sync_util.cc", |
11 "about_sync_util.h", | 11 "about_sync_util.h", |
12 "backend_data_type_configurer.cc", | 12 "backend_data_type_configurer.cc", |
13 "backend_data_type_configurer.h", | 13 "backend_data_type_configurer.h", |
14 "backend_migrator.cc", | 14 "backend_migrator.cc", |
15 "backend_migrator.h", | 15 "backend_migrator.h", |
16 "change_processor.cc", | 16 "change_processor.cc", |
17 "change_processor.h", | 17 "change_processor.h", |
18 "data_type_controller.cc", | 18 "data_type_controller.cc", |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 "sync_policy_handler.cc", | 149 "sync_policy_handler.cc", |
150 "sync_policy_handler.h", | 150 "sync_policy_handler.h", |
151 ] | 151 ] |
152 deps += [ | 152 deps += [ |
153 "//components/policy", | 153 "//components/policy", |
154 "//components/policy:policy_component", | 154 "//components/policy:policy_component", |
155 ] | 155 ] |
156 } | 156 } |
157 } | 157 } |
158 | 158 |
159 source_set("test_support") { | 159 static_library("test_support") { |
160 testonly = true | 160 testonly = true |
161 sources = [ | 161 sources = [ |
162 "change_processor_mock.cc", | 162 "change_processor_mock.cc", |
163 "change_processor_mock.h", | 163 "change_processor_mock.h", |
164 "data_type_controller_mock.cc", | 164 "data_type_controller_mock.cc", |
165 "data_type_controller_mock.h", | 165 "data_type_controller_mock.h", |
166 "data_type_manager_mock.cc", | 166 "data_type_manager_mock.cc", |
167 "data_type_manager_mock.h", | 167 "data_type_manager_mock.h", |
168 "fake_data_type_controller.cc", | 168 "fake_data_type_controller.cc", |
169 "fake_data_type_controller.h", | 169 "fake_data_type_controller.h", |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |