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

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

Issue 2745563005: Pref service: add support for tracked prefs. (Closed)
Patch Set: deflake tests Created 3 years, 8 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/catalog/public/tools/catalog.gni") 5 import("//services/catalog/public/tools/catalog.gni")
6 import("//services/service_manager/public/service_manifest.gni") 6 import("//services/service_manager/public/service_manifest.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 service_manifest("manifest") { 9 service_manifest("manifest") {
10 name = "preferences" 10 name = "preferences"
11 source = "manifest.json" 11 source = "manifest.json"
12 } 12 }
13 13
14 source_set("preferences") { 14 source_set("preferences") {
15 visibility = [ 15 visibility = [
16 ":*", 16 ":*",
17 "//services/preferences/public/cpp:service_main", 17 "//services/preferences/public/cpp:service_main",
18 ] 18 ]
19 deps = [ 19 deps = [
20 "//components/prefs", 20 "//components/prefs",
21 "//services/preferences/public/cpp", 21 "//services/preferences/public/cpp",
22 "//services/preferences/public/interfaces", 22 "//services/preferences/public/interfaces",
23 "//services/preferences/tracked",
23 "//services/service_manager/public/cpp", 24 "//services/service_manager/public/cpp",
24 ] 25 ]
25 sources = [ 26 sources = [
26 "persistent_pref_store_factory.cc", 27 "persistent_pref_store_factory.cc",
27 "persistent_pref_store_factory.h", 28 "persistent_pref_store_factory.h",
28 "persistent_pref_store_impl.cc", 29 "persistent_pref_store_impl.cc",
29 "persistent_pref_store_impl.h", 30 "persistent_pref_store_impl.h",
30 "pref_store_manager_impl.cc", 31 "pref_store_manager_impl.cc",
31 "pref_store_manager_impl.h", 32 "pref_store_manager_impl.h",
32 ] 33 ]
(...skipping 28 matching lines...) Expand all
61 service_manifest("unittest_manifest") { 62 service_manifest("unittest_manifest") {
62 name = "prefs_unittests" 63 name = "prefs_unittests"
63 source = "unittest_manifest.json" 64 source = "unittest_manifest.json"
64 packaged_services = [ ":manifest" ] 65 packaged_services = [ ":manifest" ]
65 } 66 }
66 67
67 catalog("tests_catalog") { 68 catalog("tests_catalog") {
68 testonly = true 69 testonly = true
69 embedded_services = [ ":unittest_manifest" ] 70 embedded_services = [ ":unittest_manifest" ]
70 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698