OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 # GN version: //components/keyed_service/core:core | |
9 'target_name': 'keyed_service_core', | |
10 'type': '<(component)', | |
11 'defines': [ | |
12 'KEYED_SERVICE_IMPLEMENTATION', | |
13 ], | |
14 'include_dirs': [ | |
15 '..', | |
16 ], | |
17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
18 'msvs_disabled_warnings': [ 4267, ], | |
19 'dependencies': [ | |
20 '../base/base.gyp:base', | |
21 'prefs/prefs.gyp:prefs', | |
22 'user_prefs', | |
23 ], | |
24 'sources': [ | |
25 'keyed_service/core/dependency_graph.cc', | |
26 'keyed_service/core/dependency_graph.h', | |
27 'keyed_service/core/dependency_manager.cc', | |
28 'keyed_service/core/dependency_manager.h', | |
29 'keyed_service/core/dependency_node.h', | |
30 'keyed_service/core/keyed_service.cc', | |
31 'keyed_service/core/keyed_service.h', | |
32 'keyed_service/core/keyed_service_base_factory.cc', | |
33 'keyed_service/core/keyed_service_base_factory.h', | |
34 'keyed_service/core/keyed_service_export.h', | |
35 'keyed_service/core/keyed_service_factory.cc', | |
36 'keyed_service/core/keyed_service_factory.h', | |
37 'keyed_service/core/keyed_service_shutdown_notifier.cc', | |
38 'keyed_service/core/keyed_service_shutdown_notifier.h', | |
39 'keyed_service/core/refcounted_keyed_service.cc', | |
40 'keyed_service/core/refcounted_keyed_service.h', | |
41 'keyed_service/core/refcounted_keyed_service_factory.cc', | |
42 'keyed_service/core/refcounted_keyed_service_factory.h', | |
43 'keyed_service/core/service_access_type.h', | |
44 ], | |
45 }, | |
46 ], | |
47 'conditions': [ | |
48 ['OS != "ios"', { | |
49 'targets': [ | |
50 { | |
51 # GN version: //components/keyed_service/content:content | |
52 'target_name': 'keyed_service_content', | |
53 'type': '<(component)', | |
54 'defines': [ | |
55 'KEYED_SERVICE_IMPLEMENTATION', | |
56 ], | |
57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
58 'msvs_disabled_warnings': [ 4267, ], | |
59 'dependencies': [ | |
60 '../base/base.gyp:base', | |
61 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | |
62 '../content/content.gyp:content_common', | |
63 'keyed_service_core', | |
64 ], | |
65 'include_dirs': [ | |
66 '..', | |
67 ], | |
68 'sources': [ | |
69 'keyed_service/content/browser_context_dependency_manager.cc', | |
70 'keyed_service/content/browser_context_dependency_manager.h', | |
71 'keyed_service/content/browser_context_keyed_base_factory.cc', | |
72 'keyed_service/content/browser_context_keyed_base_factory.h', | |
73 'keyed_service/content/browser_context_keyed_service_factory.cc', | |
74 'keyed_service/content/browser_context_keyed_service_factory.h', | |
75 'keyed_service/content/browser_context_keyed_service_shutdown_notifi
er_factory.cc', | |
76 'keyed_service/content/browser_context_keyed_service_shutdown_notifi
er_factory.h', | |
77 'keyed_service/content/refcounted_browser_context_keyed_service_fact
ory.cc', | |
78 'keyed_service/content/refcounted_browser_context_keyed_service_fact
ory.h', | |
79 ], | |
80 }], | |
81 }], | |
82 ['OS == "ios"', { | |
83 'targets': [ | |
84 { | |
85 # GN version: //components/keyed_service/ios | |
86 'target_name': 'keyed_service_ios', | |
87 'type': '<(component)', | |
88 'defines': [ | |
89 'KEYED_SERVICE_IMPLEMENTATION', | |
90 ], | |
91 'dependencies': [ | |
92 '../base/base.gyp:base', | |
93 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | |
94 '../ios/web/ios_web.gyp:ios_web', | |
95 'keyed_service_core', | |
96 ], | |
97 'include_dirs': [ | |
98 '..', | |
99 ], | |
100 'sources': [ | |
101 'keyed_service/ios/browser_state_dependency_manager.cc', | |
102 'keyed_service/ios/browser_state_dependency_manager.h', | |
103 'keyed_service/ios/browser_state_keyed_service_factory.cc', | |
104 'keyed_service/ios/browser_state_keyed_service_factory.h', | |
105 'keyed_service/ios/refcounted_browser_state_keyed_service_factory.cc
', | |
106 'keyed_service/ios/refcounted_browser_state_keyed_service_factory.h'
, | |
107 ], | |
108 }], | |
109 }], | |
110 ], | |
111 } | |
OLD | NEW |