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

Side by Side Diff: services/preferences/BUILD.gn

Issue 2745563005: Pref service: add support for tracked prefs. (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//services/service_manager/public/service_manifest.gni") 5 import("//services/service_manager/public/service_manifest.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 group("tests") { 8 group("tests") {
9 testonly = true 9 testonly = true
10 deps = [ 10 deps = [
11 ":preferences_unittests", 11 ":preferences_unittests",
12 ] 12 ]
13 } 13 }
14 14
15 service_manifest("manifest") { 15 service_manifest("manifest") {
16 name = "preferences2" 16 name = "preferences2"
17 source = "manifest.json" 17 source = "manifest.json"
18 } 18 }
19 19
20 source_set("preferences") { 20 source_set("preferences") {
21 public_deps = [ 21 public_deps = [
22 "//services/preferences/public/interfaces", 22 "//services/preferences/public/interfaces",
23 ] 23 ]
24 deps = [ 24 deps = [
25 "//components/prefs", 25 "//components/prefs",
26 "//components/user_prefs/tracked:user_prefs_tracked",
26 ] 27 ]
27 sources = [ 28 sources = [
28 "persistent_pref_store_factory.cc", 29 "persistent_pref_store_factory.cc",
29 "persistent_pref_store_factory.h", 30 "persistent_pref_store_factory.h",
30 "persistent_pref_store_impl.cc", 31 "persistent_pref_store_impl.cc",
31 "persistent_pref_store_impl.h", 32 "persistent_pref_store_impl.h",
32 ] 33 ]
33 } 34 }
34 35
35 test("preferences_unittests") { 36 test("preferences_unittests") {
36 deps = [ 37 deps = [
37 ":preferences", 38 ":preferences",
38 "//base", 39 "//base",
39 "//base/test:test_support", 40 "//base/test:test_support",
40 "//components/prefs:test_support", 41 "//components/prefs:test_support",
41 "//mojo/edk/test:run_all_unittests", 42 "//mojo/edk/test:run_all_unittests",
42 "//mojo/public/cpp/bindings:bindings", 43 "//mojo/public/cpp/bindings:bindings",
43 "//services/preferences/public/cpp", 44 "//services/preferences/public/cpp",
44 "//services/preferences/public/cpp/tests", 45 "//services/preferences/public/cpp/tests",
45 "//services/preferences/public/interfaces", 46 "//services/preferences/public/interfaces",
46 "//testing/gmock", 47 "//testing/gmock",
47 "//testing/gtest", 48 "//testing/gtest",
48 ] 49 ]
49 sources = [ 50 sources = [
50 "persistent_pref_store_impl_unittest.cc", 51 "persistent_pref_store_impl_unittest.cc",
51 ] 52 ]
52 } 53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698