Support Promise<T> syntax in the IDL parser.
[chromium-blink-merge.git] / components / keyed_service.gypi
blob4a11114054c4a34480c92faa9ed9294b58ef2176
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.
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       ],
22       'sources': [
23         'keyed_service/core/dependency_graph.cc',
24         'keyed_service/core/dependency_graph.h',
25         'keyed_service/core/dependency_node.h',
26         'keyed_service/core/keyed_service.cc',
27         'keyed_service/core/keyed_service.h',
28         'keyed_service/core/keyed_service_export.h',
29         'keyed_service/core/refcounted_keyed_service.cc',
30         'keyed_service/core/refcounted_keyed_service.h',
31       ],
32     },
33   ],
34   'conditions': [
35     ['OS != "ios"', {
36       'targets': [
37         {
38           # GN version: //components/keyed_service/content:content
39           'target_name': 'keyed_service_content',
40           'type': '<(component)',
41           'defines': [
42             'KEYED_SERVICE_IMPLEMENTATION',
43           ],
44           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
45           'msvs_disabled_warnings': [ 4267, ],
46           'dependencies': [
47             'keyed_service_core',
48             '../base/base.gyp:base',
49             '../base/base.gyp:base_prefs',
50             '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
51             '../content/content.gyp:content_common',
52             'user_prefs',
53           ],
54           'include_dirs': [
55             '..',
56           ],
57           'sources': [
58             'keyed_service/content/browser_context_dependency_manager.cc',
59             'keyed_service/content/browser_context_dependency_manager.h',
60             'keyed_service/content/browser_context_keyed_base_factory.h',
61             'keyed_service/content/browser_context_keyed_base_factory.cc',
62             'keyed_service/content/browser_context_keyed_service_factory.cc',
63             'keyed_service/content/browser_context_keyed_service_factory.h',
64             'keyed_service/content/refcounted_browser_context_keyed_service_factory.cc',
65             'keyed_service/content/refcounted_browser_context_keyed_service_factory.h',
66         ],
67       }],
68     }],
69   ],