| 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("core") { | 5 component("core") { |
| 6 output_name = "keyed_service_core" | 6 output_name = "keyed_service_core" |
| 7 sources = [ | 7 sources = [ |
| 8 "dependency_graph.cc", | 8 "dependency_graph.cc", |
| 9 "dependency_graph.h", | 9 "dependency_graph.h", |
| 10 "dependency_manager.cc", | 10 "dependency_manager.cc", |
| 11 "dependency_manager.h", | 11 "dependency_manager.h", |
| 12 "dependency_node.h", | 12 "dependency_node.h", |
| 13 "keyed_service.cc", | 13 "keyed_service.cc", |
| 14 "keyed_service.h", | 14 "keyed_service.h", |
| 15 "keyed_service_base_factory.cc", | 15 "keyed_service_base_factory.cc", |
| 16 "keyed_service_base_factory.h", | 16 "keyed_service_base_factory.h", |
| 17 "keyed_service_export.h", | 17 "keyed_service_export.h", |
| 18 "keyed_service_factory.cc", | 18 "keyed_service_factory.cc", |
| 19 "keyed_service_factory.h", | 19 "keyed_service_factory.h", |
| 20 "keyed_service_shutdown_notifier.cc", | 20 "keyed_service_shutdown_notifier.cc", |
| 21 "keyed_service_shutdown_notifier.h", | 21 "keyed_service_shutdown_notifier.h", |
| 22 "refcounted_keyed_service.cc", | 22 "refcounted_keyed_service.cc", |
| 23 "refcounted_keyed_service.h", | 23 "refcounted_keyed_service.h", |
| 24 "refcounted_keyed_service_factory.cc", | 24 "refcounted_keyed_service_factory.cc", |
| 25 "refcounted_keyed_service_factory.h", | 25 "refcounted_keyed_service_factory.h", |
| 26 "service_access_type.h", |
| 26 ] | 27 ] |
| 27 | 28 |
| 28 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 29 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 29 | 30 |
| 30 defines = [ "KEYED_SERVICE_IMPLEMENTATION" ] | 31 defines = [ "KEYED_SERVICE_IMPLEMENTATION" ] |
| 31 | 32 |
| 32 deps = [ | 33 deps = [ |
| 33 "//base", | 34 "//base", |
| 34 "//components/pref_registry", | 35 "//components/pref_registry", |
| 35 "//components/prefs", | 36 "//components/prefs", |
| 36 "//components/user_prefs", | 37 "//components/user_prefs", |
| 37 ] | 38 ] |
| 38 } | 39 } |
| 39 | 40 |
| 40 source_set("unit_tests") { | 41 source_set("unit_tests") { |
| 41 testonly = true | 42 testonly = true |
| 42 sources = [ | 43 sources = [ |
| 43 "dependency_graph_unittest.cc", | 44 "dependency_graph_unittest.cc", |
| 44 ] | 45 ] |
| 45 deps = [ | 46 deps = [ |
| 46 ":core", | 47 ":core", |
| 47 "//base", | 48 "//base", |
| 48 "//testing/gtest", | 49 "//testing/gtest", |
| 49 "//third_party/re2", | 50 "//third_party/re2", |
| 50 ] | 51 ] |
| 51 } | 52 } |
| OLD | NEW |