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", |
(...skipping 17 matching lines...) Expand all Loading... |
28 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 28 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
29 | 29 |
30 defines = [ "KEYED_SERVICE_IMPLEMENTATION" ] | 30 defines = [ "KEYED_SERVICE_IMPLEMENTATION" ] |
31 | 31 |
32 deps = [ | 32 deps = [ |
33 "//base", | 33 "//base", |
34 "//base:prefs", | 34 "//base:prefs", |
35 "//components/user_prefs", | 35 "//components/user_prefs", |
36 ] | 36 ] |
37 } | 37 } |
| 38 |
| 39 source_set("unit_tests") { |
| 40 testonly = true |
| 41 sources = [ |
| 42 "dependency_graph_unittest.cc", |
| 43 ] |
| 44 deps = [ |
| 45 ":core", |
| 46 "//testing/gtest", |
| 47 ] |
| 48 } |
OLD | NEW |