OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("pref_registry") { | 5 component("pref_registry") { |
6 sources = [ | 6 sources = [ |
7 "pref_registry_export.h", | 7 "pref_registry_export.h", |
8 "pref_registry_syncable.cc", | 8 "pref_registry_syncable.cc", |
9 "pref_registry_syncable.h", | 9 "pref_registry_syncable.h", |
10 ] | 10 ] |
11 | 11 |
12 defines = [ | 12 defines = [ "PREF_REGISTRY_IMPLEMENTATION" ] |
13 "PREF_REGISTRY_IMPLEMENTATION", | |
14 ] | |
15 | 13 |
16 deps = [ | 14 deps = [ |
17 "//base", | 15 "//base", |
18 "//base:prefs", | 16 "//base:prefs", |
19 "//base/third_party/dynamic_annotations", | 17 "//base/third_party/dynamic_annotations", |
20 "//ui/base", | 18 "//ui/base", |
21 ] | 19 ] |
22 } | 20 } |
23 | 21 |
24 source_set("test_support") { | 22 source_set("test_support") { |
25 testonly = true | 23 testonly = true |
26 sources = [ | 24 sources = [ |
27 "testing_pref_service_syncable.cc", | 25 "testing_pref_service_syncable.cc", |
28 "testing_pref_service_syncable.h", | 26 "testing_pref_service_syncable.h", |
29 ] | 27 ] |
30 | 28 |
31 deps = [ | 29 deps = [ |
32 ":pref_registry", | 30 ":pref_registry", |
33 ] | 31 ] |
34 } | 32 } |
OLD | NEW |