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

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

Issue 1652573002: Update GN build files for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@presf_move
Patch Set: Created 4 years, 10 months 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
« no previous file with comments | « components/sync_sessions/BUILD.gn ('k') | components/translate/core/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 source_set("syncable_prefs") { 7 source_set("syncable_prefs") {
8 sources = [ 8 sources = [
9 "pref_model_associator.cc", 9 "pref_model_associator.cc",
10 "pref_model_associator.h", 10 "pref_model_associator.h",
11 "pref_model_associator_client.h", 11 "pref_model_associator_client.h",
12 "pref_service_syncable.cc", 12 "pref_service_syncable.cc",
13 "pref_service_syncable.h", 13 "pref_service_syncable.h",
14 "pref_service_syncable_factory.cc", 14 "pref_service_syncable_factory.cc",
15 "pref_service_syncable_factory.h", 15 "pref_service_syncable_factory.h",
16 "pref_service_syncable_observer.h", 16 "pref_service_syncable_observer.h",
17 "synced_pref_change_registrar.cc", 17 "synced_pref_change_registrar.cc",
18 "synced_pref_change_registrar.h", 18 "synced_pref_change_registrar.h",
19 "synced_pref_observer.h", 19 "synced_pref_observer.h",
20 ] 20 ]
21 21
22 deps = [ 22 deps = [
23 "//base", 23 "//base",
24 "//base:prefs",
25 "//components/pref_registry", 24 "//components/pref_registry",
25 "//components/prefs",
26 "//sync", 26 "//sync",
27 ] 27 ]
28 28
29 if (enable_configuration_policy) { 29 if (enable_configuration_policy) {
30 deps += [ 30 deps += [
31 "//components/policy:policy_component_browser", 31 "//components/policy:policy_component_browser",
32 "//components/policy:policy_component_common", 32 "//components/policy:policy_component_common",
33 ] 33 ]
34 } 34 }
35 } 35 }
36 36
37 source_set("test_support") { 37 source_set("test_support") {
38 testonly = true 38 testonly = true
39 sources = [ 39 sources = [
40 "pref_service_mock_factory.cc", 40 "pref_service_mock_factory.cc",
41 "pref_service_mock_factory.h", 41 "pref_service_mock_factory.h",
42 "testing_pref_service_syncable.cc", 42 "testing_pref_service_syncable.cc",
43 "testing_pref_service_syncable.h", 43 "testing_pref_service_syncable.h",
44 ] 44 ]
45 45
46 deps = [ 46 deps = [
47 ":syncable_prefs", 47 ":syncable_prefs",
48 "//base", 48 "//base",
49 "//base:prefs_test_support",
50 "//components/pref_registry", 49 "//components/pref_registry",
50 "//components/prefs:test_support",
51 "//testing/gtest", 51 "//testing/gtest",
52 ] 52 ]
53 } 53 }
54 54
55 source_set("unit_tests") { 55 source_set("unit_tests") {
56 testonly = true 56 testonly = true
57 sources = [ 57 sources = [
58 "pref_model_associator_unittest.cc", 58 "pref_model_associator_unittest.cc",
59 "pref_service_syncable_unittest.cc", 59 "pref_service_syncable_unittest.cc",
60 ] 60 ]
61 61
62 deps = [ 62 deps = [
63 ":syncable_prefs", 63 ":syncable_prefs",
64 ":test_support", 64 ":test_support",
65 "//base:prefs",
66 "//components/pref_registry", 65 "//components/pref_registry",
66 "//components/prefs",
67 "//sync:test_support_sync_api", 67 "//sync:test_support_sync_api",
68 "//testing/gtest", 68 "//testing/gtest",
69 ] 69 ]
70 } 70 }
OLDNEW
« no previous file with comments | « components/sync_sessions/BUILD.gn ('k') | components/translate/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698