Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: build/all.gyp

Issue 1053733003: Guard non-Chromecast-applicable targets when chromecast==1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 # A hook that can be overridden in other repositories to add additional 7 # A hook that can be overridden in other repositories to add additional
8 # compilation targets to 'All'. 8 # compilation targets to 'All'.
9 'app_targets%': [], 9 'app_targets%': [],
10 # For Android-specific targets. 10 # For Android-specific targets.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 ], 94 ],
95 }], 95 }],
96 ], 96 ],
97 }, { 97 }, {
98 'dependencies': [ 98 'dependencies': [
99 '../content/content_shell_and_tests.gyp:*', 99 '../content/content_shell_and_tests.gyp:*',
100 # TODO: This should build on Android and the target should move to t he list above. 100 # TODO: This should build on Android and the target should move to t he list above.
101 '../sync/sync.gyp:*', 101 '../sync/sync.gyp:*',
102 ], 102 ],
103 }], 103 }],
104 ['OS!="ios" and OS!="android"', { 104 ['OS!="ios" and OS!="android" and chromecast==0', {
105 'dependencies': [ 105 'dependencies': [
106 '../third_party/re2/re2.gyp:re2', 106 '../third_party/re2/re2.gyp:re2',
107 '../chrome/chrome.gyp:*', 107 '../chrome/chrome.gyp:*',
108 '../chrome/tools/profile_reset/jtl_compiler.gyp:*', 108 '../chrome/tools/profile_reset/jtl_compiler.gyp:*',
109 '../cc/blink/cc_blink_tests.gyp:*', 109 '../cc/blink/cc_blink_tests.gyp:*',
110 '../cc/cc_tests.gyp:*', 110 '../cc/cc_tests.gyp:*',
111 '../device/usb/usb.gyp:*', 111 '../device/usb/usb.gyp:*',
112 '../gin/gin.gyp:*', 112 '../gin/gin.gyp:*',
113 '../gpu/gpu.gyp:*', 113 '../gpu/gpu.gyp:*',
114 '../gpu/tools/tools.gyp:*', 114 '../gpu/tools/tools.gyp:*',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 ['OS=="mac"', { 167 ['OS=="mac"', {
168 'dependencies': [ 168 'dependencies': [
169 '../sandbox/sandbox.gyp:*', 169 '../sandbox/sandbox.gyp:*',
170 '../third_party/crashpad/crashpad/crashpad.gyp:*', 170 '../third_party/crashpad/crashpad/crashpad.gyp:*',
171 '../third_party/ocmock/ocmock.gyp:*', 171 '../third_party/ocmock/ocmock.gyp:*',
172 ], 172 ],
173 }], 173 }],
174 ['OS=="linux"', { 174 ['OS=="linux"', {
175 'dependencies': [ 175 'dependencies': [
176 '../courgette/courgette.gyp:*', 176 '../courgette/courgette.gyp:*',
177 '../dbus/dbus.gyp:*',
178 '../sandbox/sandbox.gyp:*', 177 '../sandbox/sandbox.gyp:*',
179 ], 178 ],
180 'conditions': [ 179 'conditions': [
181 ['branding=="Chrome"', { 180 ['branding=="Chrome"', {
182 'dependencies': [ 181 'dependencies': [
183 '../chrome/chrome.gyp:linux_packages_<(channel)', 182 '../chrome/chrome.gyp:linux_packages_<(channel)',
184 ], 183 ],
185 }], 184 }],
186 ['enable_ipc_fuzzer==1', { 185 ['enable_ipc_fuzzer==1', {
187 'dependencies': [ 186 'dependencies': [
188 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*', 187 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
189 ], 188 ],
190 }], 189 }],
190 ['use_dbus==1', {
191 'dependencies': [
192 '../dbus/dbus.gyp:*',
193 ],
194 }],
191 ], 195 ],
192 }], 196 }],
193 ['chromecast==1', { 197 ['chromecast==1', {
194 'dependencies': [ 198 'dependencies': [
195 '../chromecast/chromecast.gyp:*', 199 '../chromecast/chromecast.gyp:*',
196 ], 200 ],
197 }], 201 }],
198 ['use_x11==1', { 202 ['use_x11==1', {
199 'dependencies': [ 203 'dependencies': [
200 '../tools/xdisplaycheck/xdisplaycheck.gyp:*', 204 '../tools/xdisplaycheck/xdisplaycheck.gyp:*',
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 ['enable_app_list==1', { 264 ['enable_app_list==1', {
261 'dependencies': [ 265 'dependencies': [
262 '../ui/app_list/app_list.gyp:*', 266 '../ui/app_list/app_list.gyp:*',
263 ], 267 ],
264 }], 268 }],
265 ['OS!="android" and OS!="ios"', { 269 ['OS!="android" and OS!="ios"', {
266 'dependencies': [ 270 'dependencies': [
267 '../google_apis/gcm/gcm.gyp:*', 271 '../google_apis/gcm/gcm.gyp:*',
268 ], 272 ],
269 }], 273 }],
270 ['chromeos==1 or OS=="linux" or OS=="win" or OS=="mac"', { 274 ['(chromeos==1 or OS=="linux" or OS=="win" or OS=="mac") and chromecast= =0', {
271 'dependencies': [ 275 'dependencies': [
272 '../extensions/shell/app_shell.gyp:*', 276 '../extensions/shell/app_shell.gyp:*',
273 ], 277 ],
274 }], 278 }],
275 ['envoy==1', { 279 ['envoy==1', {
276 'dependencies': [ 280 'dependencies': [
277 '../envoy/envoy.gyp:*', 281 '../envoy/envoy.gyp:*',
278 ], 282 ],
279 }], 283 }],
280 ], 284 ],
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 }], 411 }],
408 ], 412 ],
409 }], 413 }],
410 ['chromeos==1', { 414 ['chromeos==1', {
411 'dependencies': [ 415 'dependencies': [
412 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests', 416 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
413 ], 417 ],
414 }], 418 }],
415 ['OS=="linux"', { 419 ['OS=="linux"', {
416 'dependencies': [ 420 'dependencies': [
421 '../sandbox/sandbox.gyp:sandbox_linux_unittests',
422 ],
423 }],
424 ['OS=="linux" and use_dbus==1', {
425 'dependencies': [
417 '../dbus/dbus.gyp:dbus_unittests', 426 '../dbus/dbus.gyp:dbus_unittests',
418 '../sandbox/sandbox.gyp:sandbox_linux_unittests',
419 ], 427 ],
420 }], 428 }],
421 ['OS=="mac"', { 429 ['OS=="mac"', {
422 'dependencies': [ 430 'dependencies': [
423 '../ui/app_list/app_list.gyp:app_list_unittests', 431 '../ui/app_list/app_list.gyp:app_list_unittests',
424 '../ui/message_center/message_center.gyp:*', 432 '../ui/message_center/message_center.gyp:*',
425 ], 433 ],
426 }], 434 }],
427 ['test_isolation_mode != "noop"', { 435 ['test_isolation_mode != "noop"', {
428 'dependencies': [ 436 'dependencies': [
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 }], 532 }],
525 ['OS=="linux"', { 533 ['OS=="linux"', {
526 'dependencies': [ 534 'dependencies': [
527 '../breakpad/breakpad.gyp:dump_syms', 535 '../breakpad/breakpad.gyp:dump_syms',
528 ], 536 ],
529 }], 537 }],
530 ], 538 ],
531 }, # target_name: blink_tests 539 }, # target_name: blink_tests
532 ], 540 ],
533 }], # OS!=ios 541 }], # OS!=ios
534 ['OS!="ios" and OS!="android"', { 542 ['OS!="ios" and OS!="android" and chromecast==0', {
535 'targets': [ 543 'targets': [
536 { 544 {
537 'target_name': 'chromium_builder_nacl_win_integration', 545 'target_name': 'chromium_builder_nacl_win_integration',
538 'type': 'none', 546 'type': 'none',
539 'dependencies': [ 547 'dependencies': [
540 'chromium_builder_tests', 548 'chromium_builder_tests',
541 ], 549 ],
542 }, # target_name: chromium_builder_nacl_win_integration 550 }, # target_name: chromium_builder_nacl_win_integration
543 { 551 {
544 'target_name': 'chromium_builder_perf', 552 'target_name': 'chromium_builder_perf',
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1229 ], # conditions 1237 ], # conditions
1230 }], # OS="win" 1238 }], # OS="win"
1231 ['use_aura==1', { 1239 ['use_aura==1', {
1232 'targets': [ 1240 'targets': [
1233 { 1241 {
1234 'target_name': 'aura_builder', 1242 'target_name': 'aura_builder',
1235 'type': 'none', 1243 'type': 'none',
1236 'dependencies': [ 1244 'dependencies': [
1237 '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests', 1245 '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1238 '../cc/cc_tests.gyp:cc_unittests', 1246 '../cc/cc_tests.gyp:cc_unittests',
1239 '../chrome/chrome.gyp:browser_tests',
1240 '../chrome/chrome.gyp:chrome',
1241 '../chrome/chrome.gyp:interactive_ui_tests',
1242 '../chrome/chrome.gyp:unit_tests',
1243 '../components/components_tests.gyp:components_unittests', 1247 '../components/components_tests.gyp:components_unittests',
1244 '../content/content_shell_and_tests.gyp:content_browsertests', 1248 '../content/content_shell_and_tests.gyp:content_browsertests',
1245 '../content/content_shell_and_tests.gyp:content_unittests', 1249 '../content/content_shell_and_tests.gyp:content_unittests',
1246 '../device/device_tests.gyp:device_unittests', 1250 '../device/device_tests.gyp:device_unittests',
1247 '../google_apis/gcm/gcm.gyp:gcm_unit_tests', 1251 '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1248 '../ppapi/ppapi_internal.gyp:ppapi_unittests', 1252 '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1249 '../remoting/remoting.gyp:remoting_unittests', 1253 '../remoting/remoting.gyp:remoting_unittests',
1250 '../skia/skia_tests.gyp:skia_unittests', 1254 '../skia/skia_tests.gyp:skia_unittests',
1251 '../ui/app_list/app_list.gyp:*', 1255 '../ui/app_list/app_list.gyp:*',
1252 '../ui/aura/aura.gyp:*', 1256 '../ui/aura/aura.gyp:*',
1253 '../ui/aura_extra/aura_extra.gyp:*', 1257 '../ui/aura_extra/aura_extra.gyp:*',
1254 '../ui/base/ui_base_tests.gyp:ui_base_unittests', 1258 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1255 '../ui/compositor/compositor.gyp:*', 1259 '../ui/compositor/compositor.gyp:*',
1256 '../ui/display/display.gyp:display_unittests', 1260 '../ui/display/display.gyp:display_unittests',
1257 '../ui/events/events.gyp:*', 1261 '../ui/events/events.gyp:*',
1258 '../ui/gfx/gfx_tests.gyp:gfx_unittests', 1262 '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1259 '../ui/keyboard/keyboard.gyp:*', 1263 '../ui/keyboard/keyboard.gyp:*',
1260 '../ui/message_center/message_center.gyp:*',
1261 '../ui/snapshot/snapshot.gyp:snapshot_unittests', 1264 '../ui/snapshot/snapshot.gyp:snapshot_unittests',
1262 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_uni ttests', 1265 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_uni ttests',
1263 '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1264 '../ui/views/views.gyp:views',
1265 '../ui/views/views.gyp:views_unittests',
1266 '../ui/wm/wm.gyp:*', 1266 '../ui/wm/wm.gyp:*',
1267 'blink_tests', 1267 'blink_tests',
1268 ], 1268 ],
1269 'conditions': [ 1269 'conditions': [
1270 ['OS=="win"', { 1270 ['OS=="win"', {
1271 'dependencies': [ 1271 'dependencies': [
1272 '../chrome/chrome.gyp:crash_service', 1272 '../chrome/chrome.gyp:crash_service',
1273 ], 1273 ],
1274 }], 1274 }],
1275 ['OS=="win" and target_arch=="ia32"', { 1275 ['OS=="win" and target_arch=="ia32"', {
(...skipping 21 matching lines...) Expand all
1297 '../chromeos/chromeos.gyp:chromeos_unittests', 1297 '../chromeos/chromeos.gyp:chromeos_unittests',
1298 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests', 1298 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
1299 ], 1299 ],
1300 }], 1300 }],
1301 ['use_ozone==1', { 1301 ['use_ozone==1', {
1302 'dependencies': [ 1302 'dependencies': [
1303 '../ui/ozone/ozone.gyp:*', 1303 '../ui/ozone/ozone.gyp:*',
1304 '../ui/ozone/demo/ozone_demos.gyp:*', 1304 '../ui/ozone/demo/ozone_demos.gyp:*',
1305 ], 1305 ],
1306 }], 1306 }],
1307 ['chromecast==0', {
1308 'dependencies': [
1309 '../chrome/chrome.gyp:browser_tests',
1310 '../chrome/chrome.gyp:chrome',
1311 '../chrome/chrome.gyp:interactive_ui_tests',
1312 '../chrome/chrome.gyp:unit_tests',
1313 '../ui/message_center/message_center.gyp:*',
1314 '../ui/views/examples/examples.gyp:views_examples_with_content_e xe',
1315 '../ui/views/views.gyp:views',
1316 '../ui/views/views.gyp:views_unittests',
1317 ],
1318 }],
1307 ], 1319 ],
1308 }, 1320 },
1309 ], # targets 1321 ], # targets
1310 }], # "use_aura==1" 1322 }], # "use_aura==1"
1311 ['test_isolation_mode != "noop"', { 1323 ['test_isolation_mode != "noop"', {
1312 'targets': [ 1324 'targets': [
1313 { 1325 {
1314 'target_name': 'chromium_swarm_tests', 1326 'target_name': 'chromium_swarm_tests',
1315 'type': 'none', 1327 'type': 'none',
1316 'dependencies': [ 1328 'dependencies': [
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 'dependencies': [ 1363 'dependencies': [
1352 '../ui/views/examples/examples.gyp:views_examples_with_content_exe', 1364 '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1353 '../ui/views/views.gyp:views', 1365 '../ui/views/views.gyp:views',
1354 '../ui/views/views.gyp:views_unittests', 1366 '../ui/views/views.gyp:views_unittests',
1355 ], 1367 ],
1356 }, # target_name: macviews_builder 1368 }, # target_name: macviews_builder
1357 ], # targets 1369 ], # targets
1358 }], # os=='mac' and toolkit_views==1 1370 }], # os=='mac' and toolkit_views==1
1359 ], # conditions 1371 ], # conditions
1360 } 1372 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698