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

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

Issue 2740493002: Pref service: create service at browser startup (Closed)
Patch Set: Merge 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | components/sync_preferences/DEPS » ('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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 static_library("sync_preferences") { 7 static_library("sync_preferences") {
8 sources = [ 8 sources = [
9 "pref_model_associator.cc", 9 "pref_model_associator.cc",
10 "pref_model_associator.h", 10 "pref_model_associator.h",
11 "pref_model_associator_client.h", 11 "pref_model_associator_client.h",
12 "pref_service_syncable.cc", 12 "pref_service_syncable.cc",
13 "pref_service_syncable.h", 13 "pref_service_syncable.h",
14 "pref_service_syncable_factory.cc", 14 "pref_service_syncable_factory.cc",
15 "pref_service_syncable_factory.h", 15 "pref_service_syncable_factory.h",
16 "pref_service_syncable_observer.h", 16 "pref_service_syncable_observer.h",
17 "synced_pref_change_registrar.cc", 17 "synced_pref_change_registrar.cc",
18 "synced_pref_change_registrar.h", 18 "synced_pref_change_registrar.h",
19 "synced_pref_observer.h", 19 "synced_pref_observer.h",
20 ] 20 ]
21 21
22 deps = [ 22 deps = [
23 "//base", 23 "//base",
24 "//components/pref_registry", 24 "//components/pref_registry",
25 "//components/prefs", 25 "//components/prefs",
26 "//components/sync", 26 "//components/sync",
27 "//services/preferences/public/cpp",
27 ] 28 ]
28 29
29 if (!is_ios) { 30 if (!is_ios) {
30 deps += [ "//components/policy/core/browser" ] 31 deps += [ "//components/policy/core/browser" ]
31 } 32 }
32 } 33 }
33 34
34 static_library("test_support") { 35 static_library("test_support") {
35 testonly = true 36 testonly = true
36 sources = [ 37 sources = [
(...skipping 22 matching lines...) Expand all
59 deps = [ 60 deps = [
60 ":sync_preferences", 61 ":sync_preferences",
61 ":test_support", 62 ":test_support",
62 "//components/pref_registry", 63 "//components/pref_registry",
63 "//components/prefs", 64 "//components/prefs",
64 "//components/sync", 65 "//components/sync",
65 "//components/sync:test_support_model", 66 "//components/sync:test_support_model",
66 "//testing/gtest", 67 "//testing/gtest",
67 ] 68 ]
68 } 69 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | components/sync_preferences/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698