forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeyed_service.gypi
66 lines (65 loc) · 2.29 KB
/
keyed_service.gypi
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
# 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': [
{
'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',
],
'sources': [
'keyed_service/core/dependency_graph.cc',
'keyed_service/core/dependency_graph.h',
'keyed_service/core/dependency_node.h',
'keyed_service/core/keyed_service.h',
'keyed_service/core/keyed_service_export.h',
],
},
],
'conditions': [
['OS != "ios"', {
'targets': [
{
'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': [
'keyed_service_core',
'../base/base.gyp:base',
'../base/base.gyp:base_prefs',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../content/content.gyp:content_common',
'user_prefs',
],
'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.h',
'keyed_service/content/browser_context_keyed_base_factory.cc',
'keyed_service/content/browser_context_keyed_service_factory.cc',
'keyed_service/content/browser_context_keyed_service_factory.h',
'keyed_service/content/refcounted_browser_context_keyed_service.cc',
'keyed_service/content/refcounted_browser_context_keyed_service.h',
'keyed_service/content/refcounted_browser_context_keyed_service_factory.cc',
],
}],
}],
],
}