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 = [ |
13 "PREF_REGISTRY_IMPLEMENTATION", | 13 "PREF_REGISTRY_IMPLEMENTATION", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
18 "//base:prefs", | 18 "//base:prefs", |
19 "//base/third_party/dynamic_annotations", | 19 "//base/third_party/dynamic_annotations", |
20 "//ui/base", | 20 "//ui/base", |
21 ] | 21 ] |
22 } | 22 } |
23 | 23 |
24 source_set("pref_registry_test_support") { | 24 source_set("test_support") { |
| 25 testonly = true |
25 sources = [ | 26 sources = [ |
26 "testing_pref_service_syncable.cc", | 27 "testing_pref_service_syncable.cc", |
27 "testing_pref_service_syncable.h", | 28 "testing_pref_service_syncable.h", |
28 ] | 29 ] |
29 | 30 |
30 deps = [ | 31 deps = [ |
31 ":pref_registry", | 32 ":pref_registry", |
32 ] | 33 ] |
33 } | 34 } |
OLD | NEW |