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 source_set("sync_driver") { |
9 sources = [ | 9 sources = [ |
10 "about_sync_util.cc", | 10 "about_sync_util.cc", |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 "system_encryptor.cc", | 119 "system_encryptor.cc", |
120 "system_encryptor.h", | 120 "system_encryptor.h", |
121 "ui_data_type_controller.cc", | 121 "ui_data_type_controller.cc", |
122 "ui_data_type_controller.h", | 122 "ui_data_type_controller.h", |
123 "ui_model_type_controller.cc", | 123 "ui_model_type_controller.cc", |
124 "ui_model_type_controller.h", | 124 "ui_model_type_controller.h", |
125 "user_selectable_sync_type.h", | 125 "user_selectable_sync_type.h", |
126 ] | 126 ] |
127 | 127 |
128 public_deps = [ | 128 public_deps = [ |
| 129 "//sync", |
129 "//third_party/cacheinvalidation", | 130 "//third_party/cacheinvalidation", |
130 ] | 131 ] |
| 132 |
131 deps = [ | 133 deps = [ |
132 "//base", | 134 "//base", |
133 "//base/third_party/dynamic_annotations", | 135 "//base/third_party/dynamic_annotations", |
134 "//components/data_use_measurement/core", | 136 "//components/data_use_measurement/core", |
135 "//components/invalidation/public", | 137 "//components/invalidation/public", |
136 "//components/metrics", | 138 "//components/metrics", |
137 "//components/os_crypt", | 139 "//components/os_crypt", |
138 "//components/pref_registry", | 140 "//components/pref_registry", |
139 "//components/prefs", | 141 "//components/prefs", |
140 "//components/signin/core/browser", | 142 "//components/signin/core/browser", |
141 "//components/version_info", | 143 "//components/version_info", |
142 "//google_apis", | 144 "//google_apis", |
143 "//net", | 145 "//net", |
144 "//sync", | |
145 ] | 146 ] |
146 | 147 |
147 if (enable_configuration_policy) { | 148 if (enable_configuration_policy) { |
148 sources += [ | 149 sources += [ |
149 "sync_policy_handler.cc", | 150 "sync_policy_handler.cc", |
150 "sync_policy_handler.h", | 151 "sync_policy_handler.h", |
151 ] | 152 ] |
152 deps += [ | 153 deps += [ |
153 "//components/policy", | 154 "//components/policy", |
154 "//components/policy:policy_component", | 155 "//components/policy:policy_component", |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 ] | 256 ] |
256 | 257 |
257 if (enable_configuration_policy) { | 258 if (enable_configuration_policy) { |
258 sources += [ "sync_policy_handler_unittest.cc" ] | 259 sources += [ "sync_policy_handler_unittest.cc" ] |
259 deps += [ | 260 deps += [ |
260 "//components/policy", | 261 "//components/policy", |
261 "//components/policy:policy_component", | 262 "//components/policy:policy_component", |
262 ] | 263 ] |
263 } | 264 } |
264 } | 265 } |
OLD | NEW |