Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / components / keyed_service.gypi
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       ],
22       'sources': [
23         'keyed_service/core/dependency_graph.cc',
24         'keyed_service/core/dependency_graph.h',
25         'keyed_service/core/dependency_manager.cc',
26         'keyed_service/core/dependency_manager.h',
27         'keyed_service/core/dependency_node.h',
28         'keyed_service/core/keyed_service.cc',
29         'keyed_service/core/keyed_service.h',
30         'keyed_service/core/keyed_service_base_factory.cc',
31         'keyed_service/core/keyed_service_base_factory.h',
32         'keyed_service/core/keyed_service_export.h',
33         'keyed_service/core/keyed_service_factory.cc',
34         'keyed_service/core/keyed_service_factory.h',
35         'keyed_service/core/refcounted_keyed_service.cc',
36         'keyed_service/core/refcounted_keyed_service.h',
37         'keyed_service/core/refcounted_keyed_service_factory.cc',
38         'keyed_service/core/refcounted_keyed_service_factory.h',
39       ],
40     },
41   ],
42   'conditions': [
43     ['OS != "ios"', {
44       'targets': [
45         {
46           # GN version: //components/keyed_service/content:content
47           'target_name': 'keyed_service_content',
48           'type': '<(component)',
49           'defines': [
50             'KEYED_SERVICE_IMPLEMENTATION',
51           ],
52           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
53           'msvs_disabled_warnings': [ 4267, ],
54           'dependencies': [
55             'keyed_service_core',
56             '../base/base.gyp:base',
57             '../base/base.gyp:base_prefs',
58             '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
59             '../content/content.gyp:content_common',
60             'user_prefs',
61           ],
62           'include_dirs': [
63             '..',
64           ],
65           'sources': [
66             'keyed_service/content/browser_context_dependency_manager.cc',
67             'keyed_service/content/browser_context_dependency_manager.h',
68             'keyed_service/content/browser_context_keyed_base_factory.h',
69             'keyed_service/content/browser_context_keyed_base_factory.cc',
70             'keyed_service/content/browser_context_keyed_service_factory.cc',
71             'keyed_service/content/browser_context_keyed_service_factory.h',
72             'keyed_service/content/refcounted_browser_context_keyed_service_factory.cc',
73             'keyed_service/content/refcounted_browser_context_keyed_service_factory.h',
74         ],
75       }],
76     }],
77   ],
78 }