Componentize GCM Part 1: create GCM component and move some files over
[chromium-blink-merge.git] / components / components.gyp
blob7d57704c5a861b3d21baa77793bf6366185b14b5
1 # Copyright (c) 2013 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   'variables': {
7     # This turns on e.g. the filename-based detection of which
8     # platforms to include source files on (e.g. files ending in
9     # _mac.h or _mac.cc are only compiled on MacOSX).
10     'chromium_code': 1,
11   },
12   'includes': [
13     'auto_login_parser.gypi',
14     'autofill.gypi',
15     'bookmarks.gypi',
16     'breakpad.gypi',
17     'captive_portal.gypi',
18     'cloud_devices.gypi',
19     'cronet.gypi',
20     'data_reduction_proxy.gypi',
21     'dom_distiller.gypi',
22     'domain_reliability.gypi',
23     'enhanced_bookmarks.gypi',
24     'favicon.gypi',
25     'favicon_base.gypi',
26     'feedback.gypi',  # crbug.com/368738
27     'google.gypi',
28     'infobars.gypi',
29     'json_schema.gypi',
30     'keyed_service.gypi',
31     'language_usage_metrics.gypi',
32     'metrics.gypi',
33     'navigation_metrics.gypi',
34     'onc.gypi',
35     'os_crypt.gypi',
36     'password_manager.gypi',
37     'policy.gypi',
38     'precache.gypi',
39     'query_parser.gypi',
40     'rappor.gypi',
41     'search_provider_logos.gypi',
42     'signin.gypi',
43     'startup_metric_utils.gypi',
44     'translate.gypi',
45     'url_matcher.gypi',
46     'user_prefs.gypi',
47     'variations.gypi',
48     'webdata.gypi',
49   ],
50   'conditions': [
51     ['OS != "ios"', {
52       'includes': [
53         'cdm.gypi',
54         'navigation_interception.gypi',
55         'plugins.gypi',
56         'sessions.gypi',
57         'storage_monitor.gypi',
58         'visitedlink.gypi',
59         'web_contents_delegate_android.gypi',
60         'web_modal.gypi',
61       ],
62     }],
63     ['OS == "win" or OS == "mac"', {
64       'includes': [
65         'wifi.gypi',
66       ],
67     }],
68     ['OS != "ios" and OS != "android"', {
69       'includes': [
70         'usb_service.gypi',
71       ]
72     }],
73     ['android_webview_build == 0', {
74       # Android WebView fails to build if a dependency on these targets is
75       # introduced.
76       'includes': [
77         'gcm_driver.gypi',
78         'sync_driver.gypi',
79         'invalidation.gypi',
80       ],
81     }],
82   ],