OLD | NEW |
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 component("prefs") { | 5 component("prefs") { |
6 sources = [ | 6 sources = [ |
7 "default_pref_store.cc", | 7 "default_pref_store.cc", |
8 "default_pref_store.h", | 8 "default_pref_store.h", |
9 "in_memory_pref_store.cc", | 9 "in_memory_pref_store.cc", |
10 "in_memory_pref_store.h", | 10 "in_memory_pref_store.h", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 ] | 48 ] |
49 } | 49 } |
50 | 50 |
51 defines = [ "COMPONENTS_PREFS_IMPLEMENTATION" ] | 51 defines = [ "COMPONENTS_PREFS_IMPLEMENTATION" ] |
52 | 52 |
53 deps = [ | 53 deps = [ |
54 "//base", | 54 "//base", |
55 ] | 55 ] |
56 } | 56 } |
57 | 57 |
58 source_set("test_support") { | 58 static_library("test_support") { |
59 testonly = true | 59 testonly = true |
60 sources = [ | 60 sources = [ |
61 "mock_pref_change_callback.cc", | 61 "mock_pref_change_callback.cc", |
62 "mock_pref_change_callback.h", | 62 "mock_pref_change_callback.h", |
63 "pref_store_observer_mock.cc", | 63 "pref_store_observer_mock.cc", |
64 "pref_store_observer_mock.h", | 64 "pref_store_observer_mock.h", |
65 "testing_pref_service.cc", | 65 "testing_pref_service.cc", |
66 "testing_pref_service.h", | 66 "testing_pref_service.h", |
67 "testing_pref_store.cc", | 67 "testing_pref_store.cc", |
68 "testing_pref_store.h", | 68 "testing_pref_store.h", |
(...skipping 26 matching lines...) Expand all Loading... |
95 ] | 95 ] |
96 | 96 |
97 deps = [ | 97 deps = [ |
98 ":test_support", | 98 ":test_support", |
99 "//base", | 99 "//base", |
100 "//base/test:test_support", | 100 "//base/test:test_support", |
101 "//testing/gmock", | 101 "//testing/gmock", |
102 "//testing/gtest", | 102 "//testing/gtest", |
103 ] | 103 ] |
104 } | 104 } |
OLD | NEW |