Add SetCookieAndChannelIdStores method to URLRequestContextBuilder
[chromium-blink-merge.git] / components / keyed_service.gypi
blob6fb6c958b29f20afc49f63d5fe3cdc7559460d7c
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_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         'keyed_service/core/service_access_type.h',
40       ],
41     },
42   ],
43   'conditions': [
44     ['OS != "ios"', {
45       'targets': [
46         {
47           # GN version: //components/keyed_service/content:content
48           'target_name': 'keyed_service_content',
49           'type': '<(component)',
50           'defines': [
51             'KEYED_SERVICE_IMPLEMENTATION',
52           ],
53           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
54           'msvs_disabled_warnings': [ 4267, ],
55           'dependencies': [
56             'keyed_service_core',
57             '../base/base.gyp:base',
58             '../base/base.gyp:base_prefs',
59             '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
60             '../content/content.gyp:content_common',
61             'user_prefs',
62           ],
63           'include_dirs': [
64             '..',
65           ],
66           'sources': [
67             'keyed_service/content/browser_context_dependency_manager.cc',
68             'keyed_service/content/browser_context_dependency_manager.h',
69             'keyed_service/content/browser_context_keyed_base_factory.h',
70             'keyed_service/content/browser_context_keyed_base_factory.cc',
71             'keyed_service/content/browser_context_keyed_service_factory.cc',
72             'keyed_service/content/browser_context_keyed_service_factory.h',
73             'keyed_service/content/refcounted_browser_context_keyed_service_factory.cc',
74             'keyed_service/content/refcounted_browser_context_keyed_service_factory.h',
75         ],
76       }],
77     }],
78     ['OS == "ios"', {
79       'targets': [
80         {
81           'target_name': 'keyed_service_ios',
82           'type': '<(component)',
83           'defines': [
84             'KEYED_SERVICE_IMPLEMENTATION',
85           ],
86           'dependencies': [
87             '../base/base.gyp:base',
88             '../base/base.gyp:base_prefs',
89             '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
90             '../ios/web/ios_web.gyp:ios_web',
91             'keyed_service_core',
92           ],
93           'include_dirs': [
94             '..',
95           ],
96           'sources': [
97             'keyed_service/ios/browser_state_dependency_manager.cc',
98             'keyed_service/ios/browser_state_dependency_manager.h',
99             'keyed_service/ios/browser_state_helper.cc',
100             'keyed_service/ios/browser_state_helper.h',
101             'keyed_service/ios/browser_state_keyed_service_factory.cc',
102             'keyed_service/ios/browser_state_keyed_service_factory.h',
103             'keyed_service/ios/refcounted_browser_state_keyed_service_factory.cc',
104             'keyed_service/ios/refcounted_browser_state_keyed_service_factory.h',
105         ],
106       }],
107     }],
108   ],