Roll src/third_party/skia c64137c:b5fb5af
[chromium-blink-merge.git] / components / keyed_service.gypi
blob06c431c65b79a8749bcb11723ef781ea4b095d8f
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         '../base/base.gyp:base_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:dynamic_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_notifier_factory.cc',
76             'keyed_service/content/browser_context_keyed_service_shutdown_notifier_factory.h',
77             'keyed_service/content/refcounted_browser_context_keyed_service_factory.cc',
78             'keyed_service/content/refcounted_browser_context_keyed_service_factory.h',
79         ],
80       }],
81     }],
82     ['OS == "ios"', {
83       'targets': [
84         {
85           'target_name': 'keyed_service_ios',
86           'type': '<(component)',
87           'defines': [
88             'KEYED_SERVICE_IMPLEMENTATION',
89           ],
90           'dependencies': [
91             '../base/base.gyp:base',
92             '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
93             '../ios/web/ios_web.gyp:ios_web',
94             'keyed_service_core',
95           ],
96           'include_dirs': [
97             '..',
98           ],
99           'sources': [
100             'keyed_service/ios/browser_state_context_converter.cc',
101             'keyed_service/ios/browser_state_context_converter.h',
102             'keyed_service/ios/browser_state_dependency_manager.cc',
103             'keyed_service/ios/browser_state_dependency_manager.h',
104             'keyed_service/ios/browser_state_keyed_service_factory.cc',
105             'keyed_service/ios/browser_state_keyed_service_factory.h',
106             'keyed_service/ios/refcounted_browser_state_keyed_service_factory.cc',
107             'keyed_service/ios/refcounted_browser_state_keyed_service_factory.h',
108         ],
109       }],
110     }],
111   ],