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

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

Issue 1645073005: Revert of Move base/prefs to components/prefs (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/pref_registry.gypi ('k') | components/prefs/OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 component("prefs") {
6 sources = [
7 "default_pref_store.cc",
8 "default_pref_store.h",
9 "json_pref_store.cc",
10 "json_pref_store.h",
11 "overlay_user_pref_store.cc",
12 "overlay_user_pref_store.h",
13 "pref_change_registrar.cc",
14 "pref_change_registrar.h",
15 "pref_member.cc",
16 "pref_member.h",
17 "pref_notifier_impl.cc",
18 "pref_notifier_impl.h",
19 "pref_registry.cc",
20 "pref_registry.h",
21 "pref_registry_simple.cc",
22 "pref_registry_simple.h",
23 "pref_service.cc",
24 "pref_service.h",
25 "pref_service_factory.cc",
26 "pref_service_factory.h",
27 "pref_store.cc",
28 "pref_store.h",
29 "pref_value_map.cc",
30 "pref_value_map.h",
31 "pref_value_store.cc",
32 "pref_value_store.h",
33 "scoped_user_pref_update.cc",
34 "scoped_user_pref_update.h",
35 "value_map_pref_store.cc",
36 "value_map_pref_store.h",
37 ]
38 if (!is_ios) {
39 sources += [
40 "base_prefs_export.h",
41 "persistent_pref_store.h",
42 "pref_filter.h",
43 "pref_notifier.h",
44 "pref_observer.h",
45 "writeable_pref_store.h",
46 ]
47 }
48
49 defines = [ "BASE_PREFS_IMPLEMENTATION" ]
50
51 deps = [
52 "//base",
53 ]
54
55 if (!is_debug) {
56 configs -= [ "//build/config/compiler:default_optimization" ]
57 configs += [ "//build/config/compiler:optimize_max" ]
58 }
59 }
60
61 source_set("test_support") {
62 testonly = true
63 sources = [
64 "mock_pref_change_callback.cc",
65 "mock_pref_change_callback.h",
66 "pref_store_observer_mock.cc",
67 "pref_store_observer_mock.h",
68 "testing_pref_service.cc",
69 "testing_pref_service.h",
70 "testing_pref_store.cc",
71 "testing_pref_store.h",
72 ]
73
74 public_deps = [
75 ":prefs",
76 ]
77 deps = [
78 "//base",
79 "//testing/gmock",
80 "//testing/gtest",
81 ]
82 }
83
84 source_set("unit_tests") {
85 testonly = true
86 sources = [
87 "default_pref_store_unittest.cc",
88 "json_pref_store_unittest.cc",
89 "overlay_user_pref_store_unittest.cc",
90 "pref_change_registrar_unittest.cc",
91 "pref_member_unittest.cc",
92 "pref_notifier_impl_unittest.cc",
93 "pref_service_unittest.cc",
94 "pref_value_map_unittest.cc",
95 "pref_value_store_unittest.cc",
96 "scoped_user_pref_update_unittest.cc",
97 ]
98
99 deps = [
100 ":test_support",
101 "//base",
102 "//base/test:test_support",
103 "//testing/gmock",
104 "//testing/gtest",
105 ]
106 }
OLDNEW
« no previous file with comments | « components/pref_registry.gypi ('k') | components/prefs/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698