[email protected] | 64f5650c | 2013-01-11 05:35:09 | [diff] [blame] | 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. |
| 4 | |
| 5 | { |
[email protected] | da84fa4 | 2013-03-24 20:57:36 | [diff] [blame] | 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, |
[email protected] | 278c74bc | 2014-01-17 14:55:40 | [diff] [blame] | 11 | }, |
[email protected] | 64f5650c | 2013-01-11 05:35:09 | [diff] [blame] | 12 | 'includes': [ |
jitendra.ks | 4f2e911 | 2015-08-14 11:40:26 | [diff] [blame] | 13 | 'about_handler.gypi', |
[email protected] | b88450e7 | 2013-01-18 21:52:34 | [diff] [blame] | 14 | 'auto_login_parser.gypi', |
[email protected] | 908cb9e | 2014-02-21 15:40:09 | [diff] [blame] | 15 | 'autofill.gypi', |
[email protected] | 42c42826 | 2014-04-10 17:03:21 | [diff] [blame] | 16 | 'bookmarks.gypi', |
hcarmona | aa431c0 | 2015-08-28 18:45:57 | [diff] [blame] | 17 | 'bubble.gypi', |
[email protected] | b1a160d | 2014-04-29 18:05:44 | [diff] [blame] | 18 | 'captive_portal.gypi', |
estark | 334673f4 | 2015-09-08 14:51:39 | [diff] [blame] | 19 | 'certificate_reporting.gypi', |
[email protected] | 9828e7da | 2014-01-29 00:30:08 | [diff] [blame] | 20 | 'cloud_devices.gypi', |
[email protected] | 6c0c9736d | 2014-07-08 14:17:00 | [diff] [blame] | 21 | 'component_updater.gypi', |
blundell | 64fedf1 | 2015-08-25 12:22:27 | [diff] [blame] | 22 | 'compression.gypi', |
[email protected] | 08f7101 | 2014-07-25 10:27:54 | [diff] [blame] | 23 | 'content_settings.gypi', |
abhishek.a21 | bbf8e4a | 2015-10-15 21:05:56 | [diff] [blame] | 24 | 'cookie_config.gypi', |
sdefresne | 8ba0b88c | 2015-09-18 10:33:13 | [diff] [blame] | 25 | 'crash.gypi', |
[email protected] | 0dcb1a8 | 2014-04-10 00:27:42 | [diff] [blame] | 26 | 'cronet.gypi', |
[email protected] | 8c83fe0 | 2014-08-15 19:07:35 | [diff] [blame] | 27 | 'crx_file.gypi', |
[email protected] | a0a0693 | 2014-04-14 21:23:42 | [diff] [blame] | 28 | 'data_reduction_proxy.gypi', |
sclittle | ae932be | 2015-10-08 20:53:50 | [diff] [blame] | 29 | 'data_usage.gypi', |
amohammadkhan | 092adb2 | 2015-09-11 21:08:49 | [diff] [blame] | 30 | 'data_use_measurement.gypi', |
reillyg | 4a84927 | 2015-02-20 21:38:43 | [diff] [blame] | 31 | 'device_event_log.gypi', |
[email protected] | 9e8cec1 | 2013-09-18 01:16:47 | [diff] [blame] | 32 | 'dom_distiller.gypi', |
[email protected] | 45de676a | 2014-03-18 23:52:02 | [diff] [blame] | 33 | 'domain_reliability.gypi', |
[email protected] | 174a621 | 2014-05-11 14:19:52 | [diff] [blame] | 34 | 'enhanced_bookmarks.gypi', |
hashimoto | 9b160e2 | 2014-10-15 03:56:53 | [diff] [blame] | 35 | 'error_page.gypi', |
torne | 0b2cdd6 | 2015-04-02 15:14:21 | [diff] [blame] | 36 | 'favicon.gypi', |
[email protected] | 7627e0b4 | 2014-04-17 17:20:53 | [diff] [blame] | 37 | 'favicon_base.gypi', |
droger | 2fbfee5 | 2015-09-24 08:12:30 | [diff] [blame] | 38 | 'flags_ui.gypi', |
torne | 0b2cdd6 | 2015-04-02 15:14:21 | [diff] [blame] | 39 | 'gcm_driver.gypi', |
[email protected] | 8b134c80 | 2014-05-14 13:20:56 | [diff] [blame] | 40 | 'google.gypi', |
fsamuel | 8dfa19a | 2015-05-05 01:00:39 | [diff] [blame] | 41 | 'guest_view.gypi', |
erikchen | 332265b | 2014-11-14 19:59:52 | [diff] [blame] | 42 | 'handoff.gypi', |
torne | 0b2cdd6 | 2015-04-02 15:14:21 | [diff] [blame] | 43 | 'history.gypi', |
[email protected] | 051655ad | 2014-04-18 15:09:41 | [diff] [blame] | 44 | 'infobars.gypi', |
torne | 0b2cdd6 | 2015-04-02 15:14:21 | [diff] [blame] | 45 | 'invalidation.gypi', |
[email protected] | fb1397ce | 2013-08-13 22:55:07 | [diff] [blame] | 46 | 'json_schema.gypi', |
[email protected] | fc217c0 | 2014-03-12 04:47:52 | [diff] [blame] | 47 | 'keyed_service.gypi', |
[email protected] | 3f3a65f | 2014-01-09 19:05:05 | [diff] [blame] | 48 | 'language_usage_metrics.gypi', |
[email protected] | 2b894b8 | 2014-06-18 16:22:30 | [diff] [blame] | 49 | 'leveldb_proto.gypi', |
ygorshenin | 98f956e5 | 2014-10-24 17:22:16 | [diff] [blame] | 50 | 'login.gypi', |
chrisha | dfdde66 | 2015-08-24 16:04:23 | [diff] [blame] | 51 | 'memory_pressure.gypi', |
[email protected] | 2a172e4 | 2014-02-21 04:06:10 | [diff] [blame] | 52 | 'metrics.gypi', |
blundell | 695d61f | 2015-10-21 11:25:53 | [diff] [blame] | 53 | 'metrics_services_manager.gypi', |
[email protected] | e600542 | 2013-10-23 20:58:25 | [diff] [blame] | 54 | 'navigation_metrics.gypi', |
droger | c690e880 | 2015-09-21 14:29:16 | [diff] [blame] | 55 | 'net_log.gypi', |
torne | 0b2cdd6 | 2015-04-02 15:14:21 | [diff] [blame] | 56 | 'network_hints.gypi', |
[email protected] | d0ab865b | 2014-06-04 19:41:34 | [diff] [blame] | 57 | 'network_time.gypi', |
fgorski | d0e3446c | 2015-06-03 00:28:20 | [diff] [blame] | 58 | 'offline_pages.gypi', |
torne | 0b2cdd6 | 2015-04-02 15:14:21 | [diff] [blame] | 59 | 'omnibox.gypi', |
[email protected] | d0f6d66 | 2013-10-08 08:21:23 | [diff] [blame] | 60 | 'onc.gypi', |
sdefresne | 70948d6 | 2015-08-11 10:46:35 | [diff] [blame] | 61 | 'open_from_clipboard.gypi', |
[email protected] | c523d20 | 2014-03-18 01:34:54 | [diff] [blame] | 62 | 'os_crypt.gypi', |
ygorshenin | 39e3678 | 2014-08-29 13:09:51 | [diff] [blame] | 63 | 'ownership.gypi', |
[email protected] | 2d2e5c8 | 2014-01-29 23:21:41 | [diff] [blame] | 64 | 'password_manager.gypi', |
dbeam | 155ac97 | 2015-04-20 15:34:48 | [diff] [blame] | 65 | 'plugins.gypi', |
[email protected] | 183be4e | 2013-08-14 14:41:10 | [diff] [blame] | 66 | 'policy.gypi', |
[email protected] | 72779c9 | 2013-10-18 09:53:02 | [diff] [blame] | 67 | 'precache.gypi', |
[email protected] | f0c8c499 | 2014-05-15 17:37:26 | [diff] [blame] | 68 | 'pref_registry.gypi', |
droger | 78da654 | 2015-11-02 11:25:59 | [diff] [blame^] | 69 | 'profile_metrics.gypi', |
stevenjb | b237e2ae | 2015-07-02 22:02:11 | [diff] [blame] | 70 | 'proxy_config.gypi', |
[email protected] | acf9f27 | 2014-04-15 23:04:00 | [diff] [blame] | 71 | 'query_parser.gypi', |
[email protected] | 2a172e4 | 2014-02-21 04:06:10 | [diff] [blame] | 72 | 'rappor.gypi', |
torne | 0b2cdd6 | 2015-04-02 15:14:21 | [diff] [blame] | 73 | 'renderer_context_menu.gypi', |
[email protected] | 720b1049 | 2014-07-23 08:48:40 | [diff] [blame] | 74 | 'search.gypi', |
torne | 0b2cdd6 | 2015-04-02 15:14:21 | [diff] [blame] | 75 | 'search_engines.gypi', |
[email protected] | 12fad44 | 2014-04-30 21:55:16 | [diff] [blame] | 76 | 'search_provider_logos.gypi', |
felt | aafecea | 2015-07-29 16:00:00 | [diff] [blame] | 77 | 'security_interstitials.gypi', |
rohitrao | 2975885b | 2014-10-24 19:00:27 | [diff] [blame] | 78 | 'sessions.gypi', |
[email protected] | 1be4efd | 2014-01-09 12:43:44 | [diff] [blame] | 79 | 'signin.gypi', |
abhishek.a21 | 2849cee | 2015-10-20 11:27:29 | [diff] [blame] | 80 | 'ssl_config.gypi', |
felt | 2493b445 | 2015-09-17 20:33:59 | [diff] [blame] | 81 | 'ssl_errors.gypi', |
[email protected] | 7a83dd07 | 2013-09-03 12:09:17 | [diff] [blame] | 82 | 'startup_metric_utils.gypi', |
[email protected] | bdceb3ba | 2014-07-25 16:47:48 | [diff] [blame] | 83 | 'suggestions.gypi', |
blundell | c759b68 | 2015-10-08 15:50:59 | [diff] [blame] | 84 | 'sync_bookmarks.gypi', |
torne | 0b2cdd6 | 2015-04-02 15:14:21 | [diff] [blame] | 85 | 'sync_driver.gypi', |
skym | 6b9887e | 2015-10-09 22:10:47 | [diff] [blame] | 86 | 'sync_sessions.gypi', |
sdefresne | 875d078 | 2015-09-16 12:01:28 | [diff] [blame] | 87 | 'syncable_prefs.gypi', |
blundell | 11d93bc | 2015-07-31 12:33:12 | [diff] [blame] | 88 | 'toolbar.gypi', |
[email protected] | 499e7c5 | 2013-10-04 16:03:09 | [diff] [blame] | 89 | 'translate.gypi', |
wjmaclean | 7f63c6b | 2014-12-09 14:59:55 | [diff] [blame] | 90 | 'ui_zoom.gypi', |
sdefresne | c083d1f | 2015-04-17 21:12:18 | [diff] [blame] | 91 | 'undo.gypi', |
sorin | 39eab2f | 2015-01-06 01:09:08 | [diff] [blame] | 92 | 'update_client.gypi', |
sdefresne | 44eb1f2 | 2015-08-06 08:51:55 | [diff] [blame] | 93 | 'upload_list.gypi', |
[email protected] | 278c74bc | 2014-01-17 14:55:40 | [diff] [blame] | 94 | 'url_matcher.gypi', |
[email protected] | 75fee37 | 2013-03-06 00:42:44 | [diff] [blame] | 95 | 'user_prefs.gypi', |
[email protected] | 50ae9f1 | 2013-08-29 18:03:22 | [diff] [blame] | 96 | 'variations.gypi', |
sdefresne | 6e883e4 | 2015-07-30 08:05:54 | [diff] [blame] | 97 | 'version_info.gypi', |
droger | fd959bad | 2015-10-16 09:07:01 | [diff] [blame] | 98 | 'version_ui.gypi', |
droger | f847994 | 2014-11-21 17:47:53 | [diff] [blame] | 99 | 'web_resource.gypi', |
dzhioev | c1c2a50 | 2015-03-03 16:31:47 | [diff] [blame] | 100 | 'webdata.gypi', |
torne | 0b2cdd6 | 2015-04-02 15:14:21 | [diff] [blame] | 101 | 'webdata_services.gypi', |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 102 | ], |
| 103 | 'conditions': [ |
mathiash | 3ecfdfa | 2015-04-13 15:06:07 | [diff] [blame] | 104 | ['OS == "android"', { |
| 105 | 'includes': [ |
gunsch | 3ea3179 | 2015-05-07 22:24:12 | [diff] [blame] | 106 | 'external_video_surface.gypi', |
mathiash | 3ecfdfa | 2015-04-13 15:06:07 | [diff] [blame] | 107 | 'service_tab_launcher.gypi', |
| 108 | ], |
| 109 | }], |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 110 | ['OS != "ios"', { |
| 111 | 'includes': [ |
oshima | f6539842 | 2014-11-18 23:30:42 | [diff] [blame] | 112 | 'app_modal.gypi', |
lazyboy | 14082d2 | 2015-04-02 01:04:58 | [diff] [blame] | 113 | 'browsing_data.gypi', |
[email protected] | 649b5727 | 2014-05-09 14:54:44 | [diff] [blame] | 114 | 'cdm.gypi', |
eranm | d86db10 | 2015-09-03 21:52:29 | [diff] [blame] | 115 | 'certificate_transparency.gypi', |
dgozman | f720015 | 2015-04-22 17:48:21 | [diff] [blame] | 116 | 'devtools_discovery.gypi', |
dgozman | 102fee9 | 2015-04-20 15:45:46 | [diff] [blame] | 117 | 'devtools_http_handler.gypi', |
lukasza | 8acc4eb | 2015-07-20 20:57:20 | [diff] [blame] | 118 | 'drive.gypi', |
rockot | d3bd2cb | 2015-06-17 20:56:53 | [diff] [blame] | 119 | 'message_port.gypi', |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 120 | 'navigation_interception.gypi', |
sdefresne | faa5502 | 2015-10-26 17:53:48 | [diff] [blame] | 121 | 'packed_ct_ev_whitelist.gypi', |
csharrison | 9fa62d5 | 2015-09-21 22:05:29 | [diff] [blame] | 122 | 'page_load_metrics.gypi', |
[email protected] | 3e30590 | 2014-08-14 20:25:33 | [diff] [blame] | 123 | 'power.gypi', |
vakh | 9d588802 | 2015-10-29 21:04:07 | [diff] [blame] | 124 | 'safe_browsing_db.gypi', |
bauerb | f0e64aa | 2015-06-25 15:54:07 | [diff] [blame] | 125 | 'safe_json.gypi', |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 126 | 'visitedlink.gypi', |
sdefresne | 10bb689 | 2015-10-26 16:45:19 | [diff] [blame] | 127 | 'wallpaper.gypi', |
hanxi | 149b92d | 2014-09-11 21:57:18 | [diff] [blame] | 128 | 'web_cache.gypi', |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 129 | 'web_contents_delegate_android.gypi', |
| 130 | 'web_modal.gypi', |
[email protected] | c6afb98b | 2014-04-24 23:04:32 | [diff] [blame] | 131 | ], |
| 132 | }], |
droger | 7ebec07 | 2014-12-19 11:19:49 | [diff] [blame] | 133 | ['OS == "ios"', { |
| 134 | 'includes': [ |
| 135 | 'webp_transcode.gypi', |
| 136 | ], |
| 137 | }], |
[email protected] | b42e689c | 2014-05-29 21:03:41 | [diff] [blame] | 138 | ['OS != "ios" and OS != "android"', { |
| 139 | 'includes': [ |
ckehoe | a9408e14 | 2015-02-17 20:05:24 | [diff] [blame] | 140 | 'audio_modem.gypi', |
[email protected] | e0a6edf | 2014-08-01 17:32:13 | [diff] [blame] | 141 | 'copresence.gypi', |
sdefresne | bbf563c | 2015-03-17 11:09:09 | [diff] [blame] | 142 | 'feedback.gypi', |
isherman | 25cab40a | 2014-09-18 03:51:51 | [diff] [blame] | 143 | 'proximity_auth.gypi', |
[email protected] | b42e689c | 2014-05-29 21:03:41 | [diff] [blame] | 144 | 'storage_monitor.gypi', |
juncai | 1b115256 | 2015-09-04 02:36:08 | [diff] [blame] | 145 | 'webusb.gypi', |
[email protected] | b42e689c | 2014-05-29 21:03:41 | [diff] [blame] | 146 | ] |
| 147 | }], |
[email protected] | 7d54a19 | 2014-07-22 00:17:38 | [diff] [blame] | 148 | ['chromeos == 1', { |
| 149 | 'includes': [ |
| 150 | 'pairing.gypi', |
chirantan | 26436e40 | 2014-10-24 19:44:42 | [diff] [blame] | 151 | 'timers.gypi', |
quiche | 271c6cca | 2014-12-20 03:57:53 | [diff] [blame] | 152 | 'wifi_sync.gypi', |
[email protected] | 7d54a19 | 2014-07-22 00:17:38 | [diff] [blame] | 153 | ], |
| 154 | }], |
[email protected] | c6afb98b | 2014-04-24 23:04:32 | [diff] [blame] | 155 | ['OS == "win" or OS == "mac"', { |
| 156 | 'includes': [ |
[email protected] | 54ac11b | 2013-12-04 19:50:37 | [diff] [blame] | 157 | 'wifi.gypi', |
| 158 | ], |
| 159 | }], |
siggi | c0d0a0e | 2014-11-17 23:29:19 | [diff] [blame] | 160 | ['OS == "win"', { |
| 161 | 'includes': [ |
| 162 | 'browser_watcher.gypi', |
| 163 | ], |
| 164 | }], |
pkotwicz | 2b65d3c | 2014-10-29 14:31:10 | [diff] [blame] | 165 | ['chromeos == 1 or use_ash == 1', { |
[email protected] | d772c9a | 2014-07-04 13:48:07 | [diff] [blame] | 166 | 'includes': [ |
[email protected] | b88d2c6 | 2014-07-16 18:20:44 | [diff] [blame] | 167 | 'session_manager.gypi', |
[email protected] | d772c9a | 2014-07-04 13:48:07 | [diff] [blame] | 168 | 'user_manager.gypi', |
| 169 | ], |
| 170 | }], |
oshima | 136691a | 2014-10-24 21:54:11 | [diff] [blame] | 171 | ['toolkit_views==1', { |
| 172 | 'includes': [ |
| 173 | 'constrained_window.gypi', |
| 174 | ], |
| 175 | }], |
dgn | 2fa98a5 | 2015-02-03 10:38:44 | [diff] [blame] | 176 | ['enable_basic_printing==1 or enable_print_preview==1', { |
dgn | 445b597 | 2015-01-13 18:13:07 | [diff] [blame] | 177 | 'includes': [ |
dgn | 445b597 | 2015-01-13 18:13:07 | [diff] [blame] | 178 | 'printing.gypi', |
| 179 | ], |
| 180 | }], |
Sadrul Habib Chowdhury | 2f8807f | 2014-08-28 03:50:36 | [diff] [blame] | 181 | ['enable_plugins==1', { |
| 182 | 'includes': [ |
| 183 | 'pdf.gypi', |
| 184 | ], |
| 185 | }], |
tbarzic | 56ebc03 | 2015-05-01 18:44:34 | [diff] [blame] | 186 | # TODO(tbarzic): Remove chromeos condition when there are non-chromeos apps |
| 187 | # in components/apps. |
| 188 | ['enable_extensions == 1 and chromeos == 1', { |
| 189 | 'includes': [ |
| 190 | 'chrome_apps.gypi', |
| 191 | ], |
| 192 | }], |
sdefresne | d967d55 | 2015-07-16 08:34:35 | [diff] [blame] | 193 | ['enable_rlz_support==1', { |
| 194 | 'includes': [ |
| 195 | 'rlz.gypi', |
| 196 | ], |
| 197 | }] |
[email protected] | 64f5650c | 2013-01-11 05:35:09 | [diff] [blame] | 198 | ], |
| 199 | } |