blob: 1cfe97305fc657fc996b6a174ae8d1b96648965d [file] [log] [blame]
[email protected]fc217c02014-03-12 04:47:521# 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 {
[email protected]7c1ded12014-06-19 22:45:278 # GN version: //components/keyed_service/core:core
[email protected]fc217c02014-03-12 04:47:529 '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',
sdefresnef63755b2014-10-23 17:20:5425 'keyed_service/core/dependency_manager.cc',
26 'keyed_service/core/dependency_manager.h',
[email protected]fc217c02014-03-12 04:47:5227 'keyed_service/core/dependency_node.h',
[email protected]ac73cdf12014-06-13 09:27:2028 'keyed_service/core/keyed_service.cc',
[email protected]fc217c02014-03-12 04:47:5229 'keyed_service/core/keyed_service.h',
sdefresnef63755b2014-10-23 17:20:5430 'keyed_service/core/keyed_service_base_factory.cc',
31 'keyed_service/core/keyed_service_base_factory.h',
[email protected]fc217c02014-03-12 04:47:5232 'keyed_service/core/keyed_service_export.h',
sdefresne28acc0e2014-10-30 08:52:2733 'keyed_service/core/keyed_service_factory.cc',
34 'keyed_service/core/keyed_service_factory.h',
sdefresne2eb633d2014-10-08 12:31:5635 'keyed_service/core/refcounted_keyed_service.cc',
36 'keyed_service/core/refcounted_keyed_service.h',
sdefresne28acc0e2014-10-30 08:52:2737 'keyed_service/core/refcounted_keyed_service_factory.cc',
38 'keyed_service/core/refcounted_keyed_service_factory.h',
[email protected]fc217c02014-03-12 04:47:5239 ],
40 },
41 ],
42 'conditions': [
43 ['OS != "ios"', {
44 'targets': [
45 {
[email protected]7c1ded12014-06-19 22:45:2746 # GN version: //components/keyed_service/content:content
[email protected]fc217c02014-03-12 04:47:5247 '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': [
[email protected]fc217c02014-03-12 04:47:5266 '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',
[email protected]fc217c02014-03-12 04:47:5272 'keyed_service/content/refcounted_browser_context_keyed_service_factory.cc',
sdefresne2eb633d2014-10-08 12:31:5673 'keyed_service/content/refcounted_browser_context_keyed_service_factory.h',
[email protected]fc217c02014-03-12 04:47:5274 ],
75 }],
76 }],
77 ],
78}