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