| 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 # Reference the forwarding headers so "gn check" can check them properly |
| 8 # while we're transitioning from base to here. |
| 9 "//base/prefs/base_prefs_export.h", |
| 10 "//base/prefs/default_pref_store.h", |
| 11 "//base/prefs/json_pref_store.h", |
| 12 "//base/prefs/overlay_user_pref_store.h", |
| 13 "//base/prefs/persistent_pref_store.h", |
| 14 "//base/prefs/pref_change_registrar.h", |
| 15 "//base/prefs/pref_filter.h", |
| 16 "//base/prefs/pref_member.h", |
| 17 "//base/prefs/pref_notifier.h", |
| 18 "//base/prefs/pref_notifier_impl.h", |
| 19 "//base/prefs/pref_observer.h", |
| 20 "//base/prefs/pref_registry.h", |
| 21 "//base/prefs/pref_registry_simple.h", |
| 22 "//base/prefs/pref_service_factory.h", |
| 23 "//base/prefs/pref_service.h", |
| 24 "//base/prefs/pref_store.h", |
| 25 "//base/prefs/pref_value_map.h", |
| 26 "//base/prefs/pref_value_store.h", |
| 27 "//base/prefs/scoped_user_pref_update.h", |
| 28 "//base/prefs/value_map_pref_store.h", |
| 29 "//base/prefs/writeable_pref_store.h", |
| 30 |
| 7 "default_pref_store.cc", | 31 "default_pref_store.cc", |
| 8 "default_pref_store.h", | 32 "default_pref_store.h", |
| 9 "json_pref_store.cc", | 33 "json_pref_store.cc", |
| 10 "json_pref_store.h", | 34 "json_pref_store.h", |
| 11 "overlay_user_pref_store.cc", | 35 "overlay_user_pref_store.cc", |
| 12 "overlay_user_pref_store.h", | 36 "overlay_user_pref_store.h", |
| 13 "pref_change_registrar.cc", | 37 "pref_change_registrar.cc", |
| 14 "pref_change_registrar.h", | 38 "pref_change_registrar.h", |
| 15 "pref_member.cc", | 39 "pref_member.cc", |
| 16 "pref_member.h", | 40 "pref_member.h", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 78 |
| 55 if (!is_debug) { | 79 if (!is_debug) { |
| 56 configs -= [ "//build/config/compiler:default_optimization" ] | 80 configs -= [ "//build/config/compiler:default_optimization" ] |
| 57 configs += [ "//build/config/compiler:optimize_max" ] | 81 configs += [ "//build/config/compiler:optimize_max" ] |
| 58 } | 82 } |
| 59 } | 83 } |
| 60 | 84 |
| 61 source_set("test_support") { | 85 source_set("test_support") { |
| 62 testonly = true | 86 testonly = true |
| 63 sources = [ | 87 sources = [ |
| 88 # Reference the forwarding headers so "gn check" can check them properly |
| 89 # while we're transitioning from base to here. |
| 90 "//base/prefs/mock_pref_change_callback.h", |
| 91 "//base/prefs/pref_store_observer_mock.h", |
| 92 "//base/prefs/testing_pref_service.h", |
| 93 "//base/prefs/testing_pref_store.h", |
| 94 |
| 64 "mock_pref_change_callback.cc", | 95 "mock_pref_change_callback.cc", |
| 65 "mock_pref_change_callback.h", | 96 "mock_pref_change_callback.h", |
| 66 "pref_store_observer_mock.cc", | 97 "pref_store_observer_mock.cc", |
| 67 "pref_store_observer_mock.h", | 98 "pref_store_observer_mock.h", |
| 68 "testing_pref_service.cc", | 99 "testing_pref_service.cc", |
| 69 "testing_pref_service.h", | 100 "testing_pref_service.h", |
| 70 "testing_pref_store.cc", | 101 "testing_pref_store.cc", |
| 71 "testing_pref_store.h", | 102 "testing_pref_store.h", |
| 72 ] | 103 ] |
| 73 | 104 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 97 ] | 128 ] |
| 98 | 129 |
| 99 deps = [ | 130 deps = [ |
| 100 ":test_support", | 131 ":test_support", |
| 101 "//base", | 132 "//base", |
| 102 "//base/test:test_support", | 133 "//base/test:test_support", |
| 103 "//testing/gmock", | 134 "//testing/gmock", |
| 104 "//testing/gtest", | 135 "//testing/gtest", |
| 105 ] | 136 ] |
| 106 } | 137 } |
| OLD | NEW |