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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "//sync", |
193 ] | 193 ] |
194 | 194 |
195 deps = [ | 195 deps = [ |
196 "//base", | 196 "//base", |
197 "//components/autofill/core/browser", | |
198 "//components/password_manager/core/browser", | |
199 "//components/version_info", | 197 "//components/version_info", |
200 "//google_apis", | 198 "//google_apis", |
201 "//sync:test_support_sync_internal_api", | 199 "//sync:test_support_sync_internal_api", |
202 "//testing/gmock", | 200 "//testing/gmock", |
203 "//testing/gtest", | 201 "//testing/gtest", |
204 ] | 202 ] |
205 } | 203 } |
206 | 204 |
207 source_set("unit_tests") { | 205 source_set("unit_tests") { |
208 testonly = true | 206 testonly = true |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 } | 254 } |
257 | 255 |
258 buildflag_header("features") { | 256 buildflag_header("features") { |
259 header = "sync_driver_features.h" | 257 header = "sync_driver_features.h" |
260 | 258 |
261 # Whether to back up data before sync. | 259 # Whether to back up data before sync. |
262 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 260 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
263 | 261 |
264 flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ] | 262 flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ] |
265 } | 263 } |
OLD | NEW |