Reland issue 671513010 check sync themes setting patch.
[chromium-blink-merge.git] / components / components.gyp
blob088fa44d0445fd4d22612cf5268a27336b4154a9
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     'captive_portal.gypi',
17     'cloud_devices.gypi',
18     'component_updater.gypi',
19     'content_settings.gypi',
20     'crash.gypi',
21     'cronet.gypi',
22     'crx_file.gypi',
23     'data_reduction_proxy.gypi',
24     'dom_distiller.gypi',
25     'domain_reliability.gypi',
26     'enhanced_bookmarks.gypi',
27     'error_page.gypi',
28     'favicon.gypi',
29     'favicon_base.gypi',
30     'google.gypi',
31     'history.gypi',
32     'infobars.gypi',
33     'json_schema.gypi',
34     'keyed_service.gypi',
35     'language_usage_metrics.gypi',
36     'leveldb_proto.gypi',
37     'login.gypi',
38     'metrics.gypi',
39     'navigation_metrics.gypi',
40     'network_time.gypi',
41     'omaha_query_params.gypi',
42     'onc.gypi',
43     'os_crypt.gypi',
44     'ownership.gypi',
45     'password_manager.gypi',
46     'policy.gypi',
47     'precache.gypi',
48     'pref_registry.gypi',
49     'query_parser.gypi',
50     'rappor.gypi',
51     'search.gypi',
52     'search_provider_logos.gypi',
53     'sessions.gypi',
54     'signin.gypi',
55     'startup_metric_utils.gypi',
56     'suggestions.gypi',
57     'translate.gypi',
58     'url_fixer.gypi',
59     'url_matcher.gypi',
60     'user_prefs.gypi',
61     'variations.gypi',
62     'webdata.gypi',
63   ],
64   'conditions': [
65     ['OS != "ios"', {
66       'includes': [
67         'app_modal_dialogs.gypi',
68         'cdm.gypi',
69         'copresence_sockets.gypi',
70         'navigation_interception.gypi',
71         'plugins.gypi',
72         'power.gypi',
73         'visitedlink.gypi',
74         'web_cache.gypi',
75         'web_contents_delegate_android.gypi',
76         'web_modal.gypi',
77       ],
78     }],
79     ['OS != "android"', {
80       'includes': [
81         'feedback.gypi',
82       ]
83     }],
84     ['OS != "ios" and OS != "android"', {
85       'includes': [
86         'copresence.gypi',
87         'proximity_auth.gypi',
88         'storage_monitor.gypi',
89       ]
90     }],
91     ['chromeos == 1', {
92       'includes': [
93         'pairing.gypi',
94         'timers.gypi',
95       ],
96     }],
97     ['OS == "win" or OS == "mac"', {
98       'includes': [
99         'wifi.gypi',
100       ],
101     }],
102     ['use_ash==1', {
103       'includes': [
104         'session_manager.gypi',
105         'user_manager.gypi',
106       ],
107     }],
108     ['toolkit_views==1', {
109       'includes': [
110         'constrained_window.gypi',
111       ],
112     }],
113     ['android_webview_build == 0', {
114       # Android WebView fails to build if a dependency on these targets is
115       # introduced.
116       'includes': [
117         'gcm_driver.gypi',
118         'omnibox.gypi',
119         'renderer_context_menu.gypi',
120         'search_engines.gypi',
121         'sync_driver.gypi',
122         'invalidation.gypi',
123       ],
124     }],
125     ['enable_plugins==1', {
126       'includes': [
127         'pdf.gypi',
128       ],
129     }],
130   ],