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_types.h", | 26 "service_access_types.h", |
27 ] | 27 ] |
28 | 28 |
| 29 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 30 |
29 defines = [ "KEYED_SERVICE_IMPLEMENTATION" ] | 31 defines = [ "KEYED_SERVICE_IMPLEMENTATION" ] |
30 | 32 |
31 deps = [ | 33 deps = [ |
32 "//base", | 34 "//base", |
33 ] | 35 ] |
34 | |
35 if (is_win) { | |
36 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
37 cflags = [ "/wd4267" ] | |
38 } | |
39 } | 36 } |
OLD | NEW |