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