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 assert(!is_ios) | 5 assert(!is_ios) |
6 | 6 |
7 component("content") { | 7 component("content") { |
8 output_name = "keyed_service_content" | 8 output_name = "keyed_service_content" |
9 sources = [ | 9 sources = [ |
10 "browser_context_dependency_manager.cc", | 10 "browser_context_dependency_manager.cc", |
11 "browser_context_dependency_manager.h", | 11 "browser_context_dependency_manager.h", |
12 "browser_context_keyed_base_factory.cc", | 12 "browser_context_keyed_base_factory.cc", |
13 "browser_context_keyed_base_factory.h", | 13 "browser_context_keyed_base_factory.h", |
14 "browser_context_keyed_service_factory.cc", | 14 "browser_context_keyed_service_factory.cc", |
15 "browser_context_keyed_service_factory.h", | 15 "browser_context_keyed_service_factory.h", |
16 "browser_context_keyed_service_shutdown_notifier_factory.cc", | 16 "browser_context_keyed_service_shutdown_notifier_factory.cc", |
17 "browser_context_keyed_service_shutdown_notifier_factory.h", | 17 "browser_context_keyed_service_shutdown_notifier_factory.h", |
18 "refcounted_browser_context_keyed_service_factory.cc", | 18 "refcounted_browser_context_keyed_service_factory.cc", |
19 "refcounted_browser_context_keyed_service_factory.h", | 19 "refcounted_browser_context_keyed_service_factory.h", |
20 ] | 20 ] |
21 | 21 |
| 22 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 23 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 24 |
22 defines = [ "KEYED_SERVICE_IMPLEMENTATION" ] | 25 defines = [ "KEYED_SERVICE_IMPLEMENTATION" ] |
23 if (is_win) { | |
24 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
25 cflags = [ "/wd4267" ] | |
26 } | |
27 | 26 |
28 deps = [ | 27 deps = [ |
29 "//base", | 28 "//base", |
30 "//base:prefs", | 29 "//base:prefs", |
31 "//base/third_party/dynamic_annotations", | 30 "//base/third_party/dynamic_annotations", |
32 "//content/public/common", | 31 "//content/public/common", |
33 "//components/keyed_service/core", | 32 "//components/keyed_service/core", |
34 "//components/user_prefs", | 33 "//components/user_prefs", |
35 ] | 34 ] |
36 } | 35 } |
OLD | NEW |