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

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

Issue 1662843002: Revert of 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
7 "default_pref_store.cc", 31 "default_pref_store.cc",
8 "default_pref_store.h", 32 "default_pref_store.h",
9 "json_pref_store.cc", 33 "json_pref_store.cc",
10 "json_pref_store.h", 34 "json_pref_store.h",
11 "overlay_user_pref_store.cc", 35 "overlay_user_pref_store.cc",
12 "overlay_user_pref_store.h", 36 "overlay_user_pref_store.h",
13 "pref_change_registrar.cc", 37 "pref_change_registrar.cc",
14 "pref_change_registrar.h", 38 "pref_change_registrar.h",
15 "pref_member.cc", 39 "pref_member.cc",
16 "pref_member.h", 40 "pref_member.h",
(...skipping 22 matching lines...) Expand all
39 sources += [ 63 sources += [
40 "base_prefs_export.h", 64 "base_prefs_export.h",
41 "persistent_pref_store.h", 65 "persistent_pref_store.h",
42 "pref_filter.h", 66 "pref_filter.h",
43 "pref_notifier.h", 67 "pref_notifier.h",
44 "pref_observer.h", 68 "pref_observer.h",
45 "writeable_pref_store.h", 69 "writeable_pref_store.h",
46 ] 70 ]
47 } 71 }
48 72
49 defines = [ "COMPONENTS_PREFS_IMPLEMENTATION" ] 73 defines = [ "BASE_PREFS_IMPLEMENTATION" ]
50 74
51 deps = [ 75 deps = [
52 "//base", 76 "//base",
53 ] 77 ]
54 78
55 if (!is_debug) { 79 if (!is_debug) {
56 configs -= [ "//build/config/compiler:default_optimization" ] 80 configs -= [ "//build/config/compiler:default_optimization" ]
57 configs += [ "//build/config/compiler:optimize_max" ] 81 configs += [ "//build/config/compiler:optimize_max" ]
58 } 82 }
59 } 83 }
60 84
61 source_set("test_support") { 85 source_set("test_support") {
62 testonly = true 86 testonly = true
63 sources = [ 87 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
64 "mock_pref_change_callback.cc", 95 "mock_pref_change_callback.cc",
65 "mock_pref_change_callback.h", 96 "mock_pref_change_callback.h",
66 "pref_store_observer_mock.cc", 97 "pref_store_observer_mock.cc",
67 "pref_store_observer_mock.h", 98 "pref_store_observer_mock.h",
68 "testing_pref_service.cc", 99 "testing_pref_service.cc",
69 "testing_pref_service.h", 100 "testing_pref_service.h",
70 "testing_pref_store.cc", 101 "testing_pref_store.cc",
71 "testing_pref_store.h", 102 "testing_pref_store.h",
72 ] 103 ]
73 104
(...skipping 23 matching lines...) Expand all
97 ] 128 ]
98 129
99 deps = [ 130 deps = [
100 ":test_support", 131 ":test_support",
101 "//base", 132 "//base",
102 "//base/test:test_support", 133 "//base/test:test_support",
103 "//testing/gmock", 134 "//testing/gmock",
104 "//testing/gtest", 135 "//testing/gtest",
105 ] 136 ]
106 } 137 }
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