Wrapper script for isolating telemetry_gpu_unittests.
[chromium-blink-merge.git] / components / components.gyp
blob43889d16a29c75ce79481c8906ce34671985f74f
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     'device_event_log.gypi',
25     'dom_distiller.gypi',
26     'domain_reliability.gypi',
27     'enhanced_bookmarks.gypi',
28     'error_page.gypi',
29     'favicon.gypi',
30     'favicon_base.gypi',
31     'gcm_driver.gypi',
32     'google.gypi',
33     'guest_view.gypi',
34     'handoff.gypi',
35     'history.gypi',
36     'infobars.gypi',
37     'invalidation.gypi',
38     'json_schema.gypi',
39     'keyed_service.gypi',
40     'language_usage_metrics.gypi',
41     'leveldb_proto.gypi',
42     'login.gypi',
43     'metrics.gypi',
44     'navigation_metrics.gypi',
45     'network_hints.gypi',
46     'network_time.gypi',
47     'offline_pages.gypi',
48     'omnibox.gypi',
49     'onc.gypi',
50     'os_crypt.gypi',
51     'ownership.gypi',
52     'packed_ct_ev_whitelist.gypi',
53     'password_manager.gypi',
54     'plugins.gypi',
55     'policy.gypi',
56     'precache.gypi',
57     'pref_registry.gypi',
58     'proxy_config.gypi',
59     'query_parser.gypi',
60     'rappor.gypi',
61     'renderer_context_menu.gypi',
62     'search.gypi',
63     'search_engines.gypi',
64     'search_provider_logos.gypi',
65     'sessions.gypi',
66     'signin.gypi',
67     'startup_metric_utils.gypi',
68     'suggestions.gypi',
69     'sync_driver.gypi',
70     'translate.gypi',
71     'ui_zoom.gypi',
72     'undo.gypi',
73     'update_client.gypi',
74     'url_fixer.gypi',
75     'url_matcher.gypi',
76     'user_prefs.gypi',
77     'variations.gypi',
78     'wallpaper.gypi',
79     'web_resource.gypi',
80     'webdata.gypi',
81     'webdata_services.gypi',
82   ],
83   'conditions': [
84     ['OS == "android"', {
85       'includes': [
86         'external_video_surface.gypi',
87         'service_tab_launcher.gypi',
88       ],
89     }],
90     ['OS != "ios"', {
91       'includes': [
92         'app_modal.gypi',
93         'browsing_data.gypi',
94         'cdm.gypi',
95         'devtools_discovery.gypi',
96         'devtools_http_handler.gypi',
97         'drive.gypi',
98         'message_port.gypi',
99         'navigation_interception.gypi',
100         'power.gypi',
101         'safe_json.gypi',
102         'visitedlink.gypi',
103         'web_cache.gypi',
104         'web_contents_delegate_android.gypi',
105         'web_modal.gypi',
106       ],
107     }],
108     ['OS == "ios"', {
109       'includes': [
110         'open_from_clipboard.gypi',
111         'webp_transcode.gypi',
112       ],
113     }],
114     ['OS != "ios" and OS != "android"', {
115       'includes': [
116         'audio_modem.gypi',
117         'copresence.gypi',
118         'feedback.gypi',
119         'proximity_auth.gypi',
120         'storage_monitor.gypi',
121       ]
122     }],
123     ['chromeos == 1', {
124       'includes': [
125         'pairing.gypi',
126         'timers.gypi',
127         'wifi_sync.gypi',
128       ],
129     }],
130     ['OS == "win" or OS == "mac"', {
131       'includes': [
132         'wifi.gypi',
133       ],
134     }],
135     ['OS == "win"', {
136       'includes': [
137         'browser_watcher.gypi',
138       ],
139     }],
140     ['chromeos == 1 or use_ash == 1', {
141       'includes': [
142         'session_manager.gypi',
143         'user_manager.gypi',
144       ],
145     }],
146     ['toolkit_views==1', {
147       'includes': [
148         'constrained_window.gypi',
149       ],
150     }],
151     ['enable_basic_printing==1 or enable_print_preview==1', {
152       'includes': [
153         'printing.gypi',
154       ],
155     }],
156     ['enable_plugins==1', {
157       'includes': [
158         'pdf.gypi',
159       ],
160     }],
161     # TODO(tbarzic): Remove chromeos condition when there are non-chromeos apps
162     # in components/apps.
163     ['enable_extensions == 1 and chromeos == 1', {
164       'includes': [
165         'chrome_apps.gypi',
166       ],
167     }],
168     ['enable_rlz_support==1', {
169       'includes': [
170         'rlz.gypi',
171       ],
172     }]
173   ],