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

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

Issue 1662523004: Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/metrics/metrics_log.cc ('k') | components/prefs/base_prefs_export.h » ('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 component("prefs") { 5 component("prefs") {
6 sources = [ 6 sources = [
7 # Reference the forwarding headers so "gn check" can check them properly
8 # while we're transitioning from base to here.
9 "//base/prefs/base_prefs_export.h",
10 "//base/prefs/default_pref_store.h",
11 "//base/prefs/json_pref_store.h",
12 "//base/prefs/overlay_user_pref_store.h",
13 "//base/prefs/persistent_pref_store.h",
14 "//base/prefs/pref_change_registrar.h",
15 "//base/prefs/pref_filter.h",
16 "//base/prefs/pref_member.h",
17 "//base/prefs/pref_notifier.h",
18 "//base/prefs/pref_notifier_impl.h",
19 "//base/prefs/pref_observer.h",
20 "//base/prefs/pref_registry.h",
21 "//base/prefs/pref_registry_simple.h",
22 "//base/prefs/pref_service_factory.h",
23 "//base/prefs/pref_service.h",
24 "//base/prefs/pref_store.h",
25 "//base/prefs/pref_value_map.h",
26 "//base/prefs/pref_value_store.h",
27 "//base/prefs/scoped_user_pref_update.h",
28 "//base/prefs/value_map_pref_store.h",
29 "//base/prefs/writeable_pref_store.h",
30
31 "default_pref_store.cc", 7 "default_pref_store.cc",
32 "default_pref_store.h", 8 "default_pref_store.h",
33 "json_pref_store.cc", 9 "json_pref_store.cc",
34 "json_pref_store.h", 10 "json_pref_store.h",
35 "overlay_user_pref_store.cc", 11 "overlay_user_pref_store.cc",
36 "overlay_user_pref_store.h", 12 "overlay_user_pref_store.h",
37 "pref_change_registrar.cc", 13 "pref_change_registrar.cc",
38 "pref_change_registrar.h", 14 "pref_change_registrar.h",
39 "pref_member.cc", 15 "pref_member.cc",
40 "pref_member.h", 16 "pref_member.h",
(...skipping 22 matching lines...) Expand all
63 sources += [ 39 sources += [
64 "base_prefs_export.h", 40 "base_prefs_export.h",
65 "persistent_pref_store.h", 41 "persistent_pref_store.h",
66 "pref_filter.h", 42 "pref_filter.h",
67 "pref_notifier.h", 43 "pref_notifier.h",
68 "pref_observer.h", 44 "pref_observer.h",
69 "writeable_pref_store.h", 45 "writeable_pref_store.h",
70 ] 46 ]
71 } 47 }
72 48
73 defines = [ "BASE_PREFS_IMPLEMENTATION" ] 49 defines = [ "COMPONENTS_PREFS_IMPLEMENTATION" ]
74 50
75 deps = [ 51 deps = [
76 "//base", 52 "//base",
77 ] 53 ]
78 54
79 if (!is_debug) { 55 if (!is_debug) {
80 configs -= [ "//build/config/compiler:default_optimization" ] 56 configs -= [ "//build/config/compiler:default_optimization" ]
81 configs += [ "//build/config/compiler:optimize_max" ] 57 configs += [ "//build/config/compiler:optimize_max" ]
82 } 58 }
83 } 59 }
84 60
85 source_set("test_support") { 61 source_set("test_support") {
86 testonly = true 62 testonly = true
87 sources = [ 63 sources = [
88 # Reference the forwarding headers so "gn check" can check them properly
89 # while we're transitioning from base to here.
90 "//base/prefs/mock_pref_change_callback.h",
91 "//base/prefs/pref_store_observer_mock.h",
92 "//base/prefs/testing_pref_service.h",
93 "//base/prefs/testing_pref_store.h",
94
95 "mock_pref_change_callback.cc", 64 "mock_pref_change_callback.cc",
96 "mock_pref_change_callback.h", 65 "mock_pref_change_callback.h",
97 "pref_store_observer_mock.cc", 66 "pref_store_observer_mock.cc",
98 "pref_store_observer_mock.h", 67 "pref_store_observer_mock.h",
99 "testing_pref_service.cc", 68 "testing_pref_service.cc",
100 "testing_pref_service.h", 69 "testing_pref_service.h",
101 "testing_pref_store.cc", 70 "testing_pref_store.cc",
102 "testing_pref_store.h", 71 "testing_pref_store.h",
103 ] 72 ]
104 73
(...skipping 23 matching lines...) Expand all
128 ] 97 ]
129 98
130 deps = [ 99 deps = [
131 ":test_support", 100 ":test_support",
132 "//base", 101 "//base",
133 "//base/test:test_support", 102 "//base/test:test_support",
134 "//testing/gmock", 103 "//testing/gmock",
135 "//testing/gtest", 104 "//testing/gtest",
136 ] 105 ]
137 } 106 }
OLDNEW
« no previous file with comments | « components/metrics/metrics_log.cc ('k') | components/prefs/base_prefs_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698