Added switch to disable specified GL extensions.
[chromium-blink-merge.git] / build / all.gyp
blob48370974cad76d9588387b868a893b315dff95e9
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
3 # found in the LICENSE file.
6   'variables': {
7     # A hook that can be overridden in other repositories to add additional
8     # compilation targets to 'All'.
9     'app_targets%': [],
10     # For Android-specific targets.
11     'android_app_targets%': [],
12   },
13   'targets': [
14     {
15       'target_name': 'All',
16       'type': 'none',
17       'xcode_create_dependents_test_runner': 1,
18       'dependencies': [
19         '<@(app_targets)',
20         'some.gyp:*',
21         '../base/base.gyp:*',
22         '../components/components.gyp:*',
23         '../components/components_tests.gyp:*',
24         '../content/content.gyp:*',
25         '../crypto/crypto.gyp:*',
26         '../net/net.gyp:*',
27         '../sdch/sdch.gyp:*',
28         '../sql/sql.gyp:*',
29         '../testing/gmock.gyp:*',
30         '../testing/gtest.gyp:*',
31         '../third_party/icu/icu.gyp:*',
32         '../third_party/libxml/libxml.gyp:*',
33         '../third_party/sqlite/sqlite.gyp:*',
34         '../third_party/zlib/zlib.gyp:*',
35         '../ui/accessibility/accessibility.gyp:*',
36         '../ui/base/ui_base.gyp:*',
37         '../ui/display/display.gyp:display_unittests',
38         '../ui/snapshot/snapshot.gyp:*',
39         '../url/url.gyp:*',
40       ],
41       'conditions': [
42         ['OS!="ios" and OS!="mac"', {
43           'dependencies': [
44             '../ui/touch_selection/ui_touch_selection.gyp:*',
45           ],
46         }],
47         ['OS=="ios"', {
48           'dependencies': [
49             '../chrome/chrome.gyp:browser',
50             '../chrome/chrome.gyp:browser_ui',
51             '../ios/ios.gyp:*',
52             # NOTE: This list of targets is present because
53             # mojo_base.gyp:mojo_base cannot be built on iOS, as
54             # javascript-related targets cause v8 to be built.
55             '../mojo/mojo_base.gyp:mojo_common_lib',
56             '../mojo/mojo_base.gyp:mojo_common_unittests',
57             '../google_apis/google_apis.gyp:google_apis_unittests',
58             '../skia/skia_tests.gyp:skia_unittests',
59             '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
60             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests',
61             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_environment_unittests',
62             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_unittests',
63             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_utility_unittests',
64             '../third_party/mojo/mojo_edk_tests.gyp:mojo_system_unittests',
65             '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
66             '../third_party/mojo/mojo_public.gyp:mojo_public_test_utils',
67             '../third_party/mojo/mojo_public.gyp:mojo_system',
68             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
69             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
70           ],
71         }],
72         ['OS=="android"', {
73           'dependencies': [
74             '../content/content_shell_and_tests.gyp:content_shell_apk',
75             '<@(android_app_targets)',
76             'android_builder_tests',
77             '../tools/telemetry/telemetry.gyp:*#host',
78             # TODO(nyquist) This should instead by a target for sync when all of
79             # the sync-related code for Android has been upstreamed.
80             # See http://crbug.com/159203
81             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_javalib',
82           ],
83           'conditions': [
84             ['chromecast==0', {
85               'dependencies': [
86                 '../android_webview/android_webview.gyp:android_webview_apk',
87                 '../android_webview/android_webview.gyp:system_webview_apk',
88                 '../android_webview/android_webview_shell.gyp:android_webview_shell_apk',
89                 '../android_webview/android_webview_telemetry_shell.gyp:android_webview_telemetry_shell_apk',
90                 '../chrome/chrome.gyp:chrome_shell_apk',
91                 '../chrome/chrome.gyp:chrome_sync_shell_apk',
92                 '../remoting/remoting.gyp:remoting_apk',
93               ],
94             }],
95             ['target_arch == "arm" or target_arch == "arm64"', {
96               'dependencies': [
97                 # The relocation packer only works on ARM or ARM64.
98                 '../tools/relocation_packer/relocation_packer.gyp:relocation_packer_unittests#host',
99               ],
100             }],
101           ],
102         }, {
103           'dependencies': [
104             '../content/content_shell_and_tests.gyp:*',
105             # TODO: This should build on Android and the target should move to the list above.
106             '../sync/sync.gyp:*',
107           ],
108         }],
109         ['OS!="ios" and OS!="android" and chromecast==0', {
110           'dependencies': [
111             '../third_party/re2/re2.gyp:re2',
112             '../chrome/chrome.gyp:*',
113             '../chrome/tools/profile_reset/jtl_compiler.gyp:*',
114             '../cc/blink/cc_blink_tests.gyp:*',
115             '../cc/cc_tests.gyp:*',
116             '../device/usb/usb.gyp:*',
117             '../extensions/extensions.gyp:*',
118             '../extensions/extensions_tests.gyp:*',
119             '../gin/gin.gyp:*',
120             '../gpu/gpu.gyp:*',
121             '../gpu/tools/tools.gyp:*',
122             '../ipc/ipc.gyp:*',
123             '../ipc/mojo/ipc_mojo.gyp:*',
124             '../jingle/jingle.gyp:*',
125             '../media/cast/cast.gyp:*',
126             '../media/media.gyp:*',
127             '../media/midi/midi.gyp:*',
128             '../mojo/mojo.gyp:*',
129             '../mojo/mojo_base.gyp:*',
130             '../ppapi/ppapi.gyp:*',
131             '../ppapi/ppapi_internal.gyp:*',
132             '../ppapi/tools/ppapi_tools.gyp:*',
133             '../printing/printing.gyp:*',
134             '../skia/skia.gyp:*',
135             '../sync/tools/sync_tools.gyp:*',
136             '../third_party/WebKit/public/all.gyp:*',
137             '../third_party/cacheinvalidation/cacheinvalidation.gyp:*',
138             '../third_party/codesighs/codesighs.gyp:*',
139             '../third_party/ffmpeg/ffmpeg.gyp:*',
140             '../third_party/iccjpeg/iccjpeg.gyp:*',
141             '../third_party/libpng/libpng.gyp:*',
142             '../third_party/libusb/libusb.gyp:*',
143             '../third_party/libwebp/libwebp.gyp:*',
144             '../third_party/libxslt/libxslt.gyp:*',
145             '../third_party/lzma_sdk/lzma_sdk.gyp:*',
146             '../third_party/mesa/mesa.gyp:*',
147             '../third_party/modp_b64/modp_b64.gyp:*',
148             '../third_party/npapi/npapi.gyp:*',
149             '../third_party/ots/ots.gyp:*',
150             '../third_party/pdfium/samples/samples.gyp:*',
151             '../third_party/qcms/qcms.gyp:*',
152             '../tools/gn/gn.gyp:*',
153             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
154             '../tools/telemetry/telemetry.gyp:*',
155             '../v8/tools/gyp/v8.gyp:*',
156             '<(libjpeg_gyp_path):*',
157           ],
158         }],
159         ['OS!="ios"', {
160           'dependencies': [
161             '../device/bluetooth/bluetooth.gyp:*',
162             '../device/device_tests.gyp:*',
163           ],
164         }],
165         ['use_openssl==0 and (OS=="mac" or OS=="ios" or OS=="win")', {
166           'dependencies': [
167             '../third_party/nss/nss.gyp:*',
168            ],
169         }],
170         ['OS=="win" or OS=="ios" or OS=="linux"', {
171           'dependencies': [
172             '../breakpad/breakpad.gyp:*',
173            ],
174         }],
175         ['OS=="mac"', {
176           'dependencies': [
177             '../sandbox/sandbox.gyp:*',
178             '../third_party/crashpad/crashpad/crashpad.gyp:*',
179             '../third_party/ocmock/ocmock.gyp:*',
180           ],
181         }],
182         ['OS=="linux"', {
183           'dependencies': [
184             '../courgette/courgette.gyp:*',
185             '../sandbox/sandbox.gyp:*',
186           ],
187           'conditions': [
188             ['branding=="Chrome"', {
189               'dependencies': [
190                 '../chrome/chrome.gyp:linux_packages_<(channel)',
191               ],
192             }],
193             ['enable_ipc_fuzzer==1', {
194               'dependencies': [
195                 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
196               ],
197             }],
198             ['use_dbus==1', {
199               'dependencies': [
200                 '../dbus/dbus.gyp:*',
201               ],
202             }],
203           ],
204         }],
205         ['chromecast==1', {
206           'dependencies': [
207             '../chromecast/chromecast.gyp:*',
208           ],
209         }],
210         ['use_x11==1', {
211           'dependencies': [
212             '../tools/xdisplaycheck/xdisplaycheck.gyp:*',
213           ],
214         }],
215         ['OS=="win"', {
216           'conditions': [
217             ['win_use_allocator_shim==1', {
218               'dependencies': [
219                 '../base/allocator/allocator.gyp:*',
220               ],
221             }],
222           ],
223           'dependencies': [
224             '../chrome/tools/crash_service/caps/caps.gyp:*',
225             '../chrome_elf/chrome_elf.gyp:*',
226             '../cloud_print/cloud_print.gyp:*',
227             '../courgette/courgette.gyp:*',
228             '../rlz/rlz.gyp:*',
229             '../sandbox/sandbox.gyp:*',
230             '<(angle_path)/src/angle.gyp:*',
231             '../third_party/bspatch/bspatch.gyp:*',
232             '../tools/win/static_initializers/static_initializers.gyp:*',
233           ],
234         }, {
235           'dependencies': [
236             '../third_party/libevent/libevent.gyp:*',
237           ],
238         }],
239         ['toolkit_views==1', {
240           'dependencies': [
241             '../ui/views/controls/webview/webview.gyp:*',
242             '../ui/views/views.gyp:*',
243           ],
244         }],
245         ['use_aura==1', {
246           'dependencies': [
247             '../ui/aura/aura.gyp:*',
248             '../ui/aura_extra/aura_extra.gyp:*',
249           ],
250         }],
251         ['use_ash==1', {
252           'dependencies': [
253             '../ash/ash.gyp:*',
254           ],
255         }],
256         ['remoting==1', {
257           'dependencies': [
258             '../remoting/remoting_all.gyp:remoting_all',
259           ],
260         }],
261         ['use_openssl==0', {
262           'dependencies': [
263             '../net/third_party/nss/ssl.gyp:*',
264           ],
265         }],
266         ['use_openssl==1', {
267           'dependencies': [
268             '../third_party/boringssl/boringssl.gyp:*',
269             '../third_party/boringssl/boringssl_tests.gyp:*',
270           ],
271         }],
272         ['enable_app_list==1', {
273           'dependencies': [
274             '../ui/app_list/app_list.gyp:*',
275           ],
276         }],
277         ['OS!="android" and OS!="ios"', {
278           'dependencies': [
279             '../google_apis/gcm/gcm.gyp:*',
280           ],
281         }],
282         ['(chromeos==1 or OS=="linux" or OS=="win" or OS=="mac") and chromecast==0', {
283           'dependencies': [
284             '../extensions/shell/app_shell.gyp:*',
285           ],
286         }],
287         ['envoy==1', {
288           'dependencies': [
289             '../envoy/envoy.gyp:*',
290           ],
291         }],
292       ],
293     }, # target_name: All
294     {
295       'target_name': 'All_syzygy',
296       'type': 'none',
297       'conditions': [
298         ['OS=="win" and fastbuild==0 and target_arch=="ia32" and '
299             '(syzyasan==1 or syzygy_optimize==1)', {
300           'dependencies': [
301             '../chrome/installer/mini_installer_syzygy.gyp:*',
302           ],
303         }],
304       ],
305     }, # target_name: All_syzygy
306     {
307       # Note: Android uses android_builder_tests below.
308       # TODO: Consider merging that with this target.
309       'target_name': 'chromium_builder_tests',
310       'type': 'none',
311       'dependencies': [
312         '../base/base.gyp:base_unittests',
313         '../components/components_tests.gyp:components_unittests',
314         '../crypto/crypto.gyp:crypto_unittests',
315         '../net/net.gyp:net_unittests',
316         '../skia/skia_tests.gyp:skia_unittests',
317         '../sql/sql.gyp:sql_unittests',
318         '../sync/sync.gyp:sync_unit_tests',
319         '../ui/base/ui_base_tests.gyp:ui_base_unittests',
320         '../ui/display/display.gyp:display_unittests',
321         '../ui/gfx/gfx_tests.gyp:gfx_unittests',
322         '../url/url.gyp:url_unittests',
323       ],
324       'conditions': [
325         ['OS!="ios"', {
326           'dependencies': [
327             '../ui/gl/gl_tests.gyp:gl_unittests',
328           ],
329         }],
330         ['OS!="ios" and OS!="mac"', {
331           'dependencies': [
332             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
333           ],
334         }],
335         ['OS!="ios" and OS!="android"', {
336           'dependencies': [
337             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
338             '../cc/cc_tests.gyp:cc_unittests',
339             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
340             '../content/content_shell_and_tests.gyp:content_browsertests',
341             '../content/content_shell_and_tests.gyp:content_shell',
342             '../content/content_shell_and_tests.gyp:content_unittests',
343             '../device/device_tests.gyp:device_unittests',
344             '../gin/gin.gyp:gin_unittests',
345             '../google_apis/google_apis.gyp:google_apis_unittests',
346             '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',
347             '../gpu/gpu.gyp:gpu_unittests',
348             '../ipc/ipc.gyp:ipc_tests',
349             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
350             '../jingle/jingle.gyp:jingle_unittests',
351             '../media/cast/cast.gyp:cast_unittests',
352             '../media/media.gyp:media_unittests',
353             '../media/midi/midi.gyp:midi_unittests',
354             '../mojo/mojo.gyp:mojo',
355             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
356             '../remoting/remoting.gyp:remoting_unittests',
357             '../third_party/WebKit/public/all.gyp:all_blink',
358             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
359             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
360             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
361             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
362             '../tools/telemetry/telemetry.gyp:*',
363           ],
364         }],
365         ['OS!="ios" and OS!="android" and chromecast==0', {
366           'dependencies': [
367             '../chrome/chrome.gyp:browser_tests',
368             '../chrome/chrome.gyp:chromedriver_tests',
369             '../chrome/chrome.gyp:chromedriver_unittests',
370             '../chrome/chrome.gyp:interactive_ui_tests',
371             '../chrome/chrome.gyp:sync_integration_tests',
372             '../chrome/chrome.gyp:unit_tests',
373             '../extensions/extensions_tests.gyp:extensions_browsertests',
374             '../extensions/extensions_tests.gyp:extensions_unittests',
375           ],
376         }],
377         ['OS=="win"', {
378           'dependencies': [
379             '../chrome/chrome.gyp:app_installer',
380             '../chrome/chrome.gyp:app_installer_unittests',
381             '../chrome/chrome.gyp:crash_service',
382             '../chrome/chrome.gyp:installer_util_unittests',
383             # ../chrome/test/mini_installer requires mini_installer.
384             '../chrome/installer/mini_installer.gyp:mini_installer',
385             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
386             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
387             '../courgette/courgette.gyp:courgette_unittests',
388             '../sandbox/sandbox.gyp:sbox_integration_tests',
389             '../sandbox/sandbox.gyp:sbox_unittests',
390             '../sandbox/sandbox.gyp:sbox_validation_tests',
391             '../ui/app_list/app_list.gyp:app_list_unittests',
392           ],
393           'conditions': [
394             # remoting_host_installation uses lots of non-trivial GYP that tend
395             # to break because of differences between ninja and msbuild. Make
396             # sure this target is built by the builders on the main waterfall.
397             # See http://crbug.com/180600.
398             ['wix_exists == "True" and sas_dll_exists == "True"', {
399               'dependencies': [
400                 '../remoting/remoting.gyp:remoting_host_installation',
401               ],
402             }],
403             ['syzyasan==1', {
404               'variables': {
405                 # Disable incremental linking for all modules.
406                 # 0: inherit, 1: disabled, 2: enabled.
407                 'msvs_debug_link_incremental': '1',
408                 'msvs_large_module_debug_link_mode': '1',
409                 # Disable RTC. Syzygy explicitly doesn't support RTC
410                 # instrumented binaries for now.
411                 'win_debug_RuntimeChecks': '0',
412               },
413               'defines': [
414                 # Disable iterator debugging (huge speed boost).
415                 '_HAS_ITERATOR_DEBUGGING=0',
416               ],
417               'msvs_settings': {
418                 'VCLinkerTool': {
419                   # Enable profile information (necessary for SyzyAsan
420                   # instrumentation). This is incompatible with incremental
421                   # linking.
422                   'Profile': 'true',
423                 },
424               }
425             }],
426           ],
427         }],
428         ['chromeos==1', {
429           'dependencies': [
430             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
431           ],
432         }],
433         ['OS=="linux"', {
434           'dependencies': [
435             '../sandbox/sandbox.gyp:sandbox_linux_unittests',
436           ],
437         }],
438         ['OS=="linux" and use_dbus==1', {
439           'dependencies': [
440             '../dbus/dbus.gyp:dbus_unittests',
441           ],
442         }],
443         ['OS=="mac"', {
444           'dependencies': [
445             '../ui/app_list/app_list.gyp:app_list_unittests',
446             '../ui/message_center/message_center.gyp:*',
447           ],
448         }],
449         ['test_isolation_mode != "noop"', {
450           'dependencies': [
451             'chromium_swarm_tests',
452           ],
453         }],
454         ['OS!="android"', {
455           'dependencies': [
456             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
457           ],
458         }],
459         ['enable_basic_printing==1 or enable_print_preview==1', {
460           'dependencies': [
461             '../printing/printing.gyp:printing_unittests',
462           ],
463         }],
464         ['use_aura==1', {
465           'dependencies': [
466             '../ui/app_list/app_list.gyp:app_list_unittests',
467             '../ui/aura/aura.gyp:aura_unittests',
468             '../ui/compositor/compositor.gyp:compositor_unittests',
469           ],
470         }],
471         ['use_aura==1 and chromecast==0', {
472           'dependencies': [
473             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
474             '../ui/views/views.gyp:views_unittests',
475           ],
476         }],
477         ['use_aura==1 or toolkit_views==1', {
478           'dependencies': [
479             '../ui/events/events.gyp:events_unittests',
480           ],
481         }],
482         ['use_ash==1', {
483           'dependencies': [
484             '../ash/ash.gyp:ash_unittests',
485           ],
486         }],
487         ['disable_nacl==0', {
488           'dependencies': [
489             '../components/nacl.gyp:nacl_loader_unittests',
490           ],
491         }],
492         ['disable_nacl==0 and disable_nacl_untrusted==0', {
493           'dependencies': [
494             '../mojo/mojo_nacl_untrusted.gyp:libmojo',
495             '../mojo/mojo_nacl.gyp:monacl_codegen',
496             '../mojo/mojo_nacl.gyp:monacl_sel',
497             '../mojo/mojo_nacl.gyp:monacl_shell',
498           ],
499         }],
500       ],
501     }, # target_name: chromium_builder_tests
502   ],
503   'conditions': [
504     # TODO(GYP): make gn_migration.gypi work unconditionally.
505     ['OS=="mac" or OS=="win" or (OS=="linux" and target_arch=="x64" and chromecast==0)', {
506       'includes': [
507         'gn_migration.gypi',
508       ],
509     }],
510     ['OS!="ios"', {
511       'targets': [
512         {
513           'target_name': 'blink_tests',
514           'type': 'none',
515           'dependencies': [
516             '../third_party/WebKit/public/all.gyp:all_blink',
517           ],
518           'conditions': [
519             ['OS=="android"', {
520               'dependencies': [
521                 '../content/content_shell_and_tests.gyp:content_shell_apk',
522                 '../breakpad/breakpad.gyp:dump_syms#host',
523                 '../breakpad/breakpad.gyp:minidump_stackwalk#host',
524               ],
525             }, {  # OS!="android"
526               'dependencies': [
527                 '../content/content_shell_and_tests.gyp:content_shell',
528               ],
529             }],
530             ['OS=="win"', {
531               'dependencies': [
532                 '../content/content_shell_and_tests.gyp:content_shell_crash_service',
533                 '../content/content_shell_and_tests.gyp:layout_test_helper',
534               ],
535             }],
536             ['OS!="win" and OS!="android"', {
537               'dependencies': [
538                 '../breakpad/breakpad.gyp:minidump_stackwalk',
539               ],
540             }],
541             ['OS=="mac"', {
542               'dependencies': [
543                 '../breakpad/breakpad.gyp:dump_syms#host',
544                 '../content/content_shell_and_tests.gyp:layout_test_helper',
545               ],
546             }],
547             ['OS=="linux"', {
548               'dependencies': [
549                 '../breakpad/breakpad.gyp:dump_syms#host',
550               ],
551             }],
552           ],
553         }, # target_name: blink_tests
554       ],
555     }], # OS!=ios
556     ['OS!="ios" and OS!="android" and chromecast==0', {
557       'targets': [
558         {
559           'target_name': 'chromium_builder_nacl_win_integration',
560           'type': 'none',
561           'dependencies': [
562             'chromium_builder_tests',
563           ],
564         }, # target_name: chromium_builder_nacl_win_integration
565         {
566           'target_name': 'chromium_builder_perf',
567           'type': 'none',
568           'dependencies': [
569             '../cc/cc_tests.gyp:cc_perftests',
570             '../chrome/chrome.gyp:chrome',
571             '../chrome/chrome.gyp:load_library_perf_tests',
572             '../chrome/chrome.gyp:performance_browser_tests',
573             '../chrome/chrome.gyp:sync_performance_tests',
574             '../content/content_shell_and_tests.gyp:content_shell',
575             '../gpu/gpu.gyp:gpu_perftests',
576             '../media/media.gyp:media_perftests',
577             '../media/midi/midi.gyp:midi_unittests',
578             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
579             '../tools/telemetry/telemetry.gyp:*',
580           ],
581           'conditions': [
582             ['OS!="ios" and OS!="win"', {
583               'dependencies': [
584                 '../breakpad/breakpad.gyp:minidump_stackwalk',
585               ],
586             }],
587             ['OS=="linux"', {
588               'dependencies': [
589                 '../chrome/chrome.gyp:linux_symbols'
590               ],
591             }],
592             ['OS=="win"', {
593               'dependencies': [
594                 '../chrome/chrome.gyp:crash_service',
595                 '../gpu/gpu.gyp:angle_perftests',
596               ],
597             }],
598             ['OS=="win" and target_arch=="ia32"', {
599               'dependencies': [
600                 '../chrome/chrome.gyp:crash_service_win64',
601               ],
602             }],
603           ],
604         }, # target_name: chromium_builder_perf
605         {
606           'target_name': 'chromium_gpu_builder',
607           'type': 'none',
608           'dependencies': [
609             '../chrome/chrome.gyp:chrome',
610             '../chrome/chrome.gyp:performance_browser_tests',
611             '../content/content_shell_and_tests.gyp:content_browsertests',
612             '../content/content_shell_and_tests.gyp:content_gl_tests',
613             '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
614             '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
615             '../gpu/gpu.gyp:gl_tests',
616             '../gpu/gpu.gyp:angle_unittests',
617             '../gpu/gpu.gyp:gpu_unittests',
618             '../tools/telemetry/telemetry.gyp:*',
619           ],
620           'conditions': [
621             ['OS!="ios" and OS!="win"', {
622               'dependencies': [
623                 '../breakpad/breakpad.gyp:minidump_stackwalk',
624               ],
625             }],
626             ['OS=="linux"', {
627               'dependencies': [
628                 '../chrome/chrome.gyp:linux_symbols'
629               ],
630             }],
631             ['OS=="win"', {
632               'dependencies': [
633                 '../chrome/chrome.gyp:crash_service',
634               ],
635             }],
636             ['OS=="win" and target_arch=="ia32"', {
637               'dependencies': [
638                 '../chrome/chrome.gyp:crash_service_win64',
639               ],
640             }],
641           ],
642         }, # target_name: chromium_gpu_builder
643         {
644           'target_name': 'chromium_gpu_debug_builder',
645           'type': 'none',
646           'dependencies': [
647             '../chrome/chrome.gyp:chrome',
648             '../content/content_shell_and_tests.gyp:content_browsertests',
649             '../content/content_shell_and_tests.gyp:content_gl_tests',
650             '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
651             '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
652             '../gpu/gpu.gyp:gl_tests',
653             '../gpu/gpu.gyp:angle_unittests',
654             '../gpu/gpu.gyp:gpu_unittests',
655             '../tools/telemetry/telemetry.gyp:*',
656           ],
657           'conditions': [
658             ['OS!="ios" and OS!="win"', {
659               'dependencies': [
660                 '../breakpad/breakpad.gyp:minidump_stackwalk',
661               ],
662             }],
663             ['OS=="linux"', {
664               'dependencies': [
665                 '../chrome/chrome.gyp:linux_symbols'
666               ],
667             }],
668             ['OS=="win"', {
669               'dependencies': [
670                 '../chrome/chrome.gyp:crash_service',
671               ],
672             }],
673             ['OS=="win" and target_arch=="ia32"', {
674               'dependencies': [
675                 '../chrome/chrome.gyp:crash_service_win64',
676               ],
677             }],
678           ],
679         }, # target_name: chromium_gpu_debug_builder
680         {
681           # This target contains everything we need to run tests on the special
682           # device-equipped WebRTC bots. We have device-requiring tests in
683           # browser_tests and content_browsertests.
684           'target_name': 'chromium_builder_webrtc',
685           'type': 'none',
686           'dependencies': [
687             'chromium_builder_perf',
688             '../chrome/chrome.gyp:browser_tests',
689             '../content/content_shell_and_tests.gyp:content_browsertests',
690             '../content/content_shell_and_tests.gyp:content_unittests',
691             '../media/media.gyp:media_unittests',
692             '../media/midi/midi.gyp:midi_unittests',
693             '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
694             '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
695           ],
696           'conditions': [
697             ['remoting==1', {
698               'dependencies': [
699                 '../remoting/remoting.gyp:*',
700               ],
701             }],
702           ],
703         },  # target_name: chromium_builder_webrtc
704         {
705           'target_name': 'chromium_builder_chromedriver',
706           'type': 'none',
707           'dependencies': [
708             '../chrome/chrome.gyp:chromedriver',
709             '../chrome/chrome.gyp:chromedriver_tests',
710             '../chrome/chrome.gyp:chromedriver_unittests',
711           ],
712         },  # target_name: chromium_builder_chromedriver
713         {
714           'target_name': 'chromium_builder_asan',
715           'type': 'none',
716           'dependencies': [
717             '../chrome/chrome.gyp:chrome',
719             # We refer to content_shell directly rather than blink_tests
720             # because we don't want the _unittests binaries.
721             '../content/content_shell_and_tests.gyp:content_shell',
722           ],
723           'conditions': [
724             ['OS!="win"', {
725               'dependencies': [
726                 '../net/net.gyp:hpack_fuzz_wrapper',
727                 '../net/net.gyp:dns_fuzz_stub',
728                 '../skia/skia.gyp:filter_fuzz_stub',
729               ],
730             }],
731             ['enable_ipc_fuzzer==1 and component!="shared_library" and '
732                  '(OS=="linux" or OS=="win")', {
733               'dependencies': [
734                 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
735               ],
736             }],
737             ['chromeos==0', {
738               'dependencies': [
739                 '../v8/src/d8.gyp:d8#host',
740                 '../third_party/pdfium/samples/samples.gyp:pdfium_test',
741               ],
742             }],
743             ['internal_filter_fuzzer==1', {
744               'dependencies': [
745                 '../skia/tools/clusterfuzz-data/fuzzers/filter_fuzzer/filter_fuzzer.gyp:filter_fuzzer',
746               ],
747             }], # internal_filter_fuzzer
748             ['clang==1', {
749               'dependencies': [
750                 'sanitizers/sanitizers.gyp:llvm-symbolizer',
751               ],
752             }],
753             ['OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1', {
754               'dependencies': [
755                 '../chrome/chrome_syzygy.gyp:chrome_dll_syzygy',
756                 '../content/content_shell_and_tests.gyp:content_shell_syzyasan',
757               ],
758               'conditions': [
759                 ['chrome_multiple_dll==1', {
760                   'dependencies': [
761                     '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
762                   ],
763                 }],
764               ],
765             }],
766           ],
767         },
768         {
769           'target_name': 'chromium_builder_nacl_sdk',
770           'type': 'none',
771           'dependencies': [
772             '../chrome/chrome.gyp:chrome',
773           ],
774           'conditions': [
775             ['OS=="win"', {
776               'dependencies': [
777                 '../chrome/chrome.gyp:chrome_nacl_win64',
778               ]
779             }],
780           ],
781         },  #target_name: chromium_builder_nacl_sdk
782       ],  # targets
783     }], #OS!=ios and OS!=android
784     ['OS=="android"', {
785       'targets': [
786         {
787           # The current list of tests for android.  This is temporary
788           # until the full set supported.  If adding a new test here,
789           # please also add it to build/android/pylib/gtest/gtest_config.py,
790           # else the test is not run.
791           #
792           # WARNING:
793           # Do not add targets here without communicating the implications
794           # on tryserver triggers and load.  Discuss with
795           # chrome-infrastructure-team please.
796           'target_name': 'android_builder_tests',
797           'type': 'none',
798           'dependencies': [
799             '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
800             '../base/base.gyp:base_unittests',
801             '../breakpad/breakpad.gyp:breakpad_unittests_deps',
802             # Also compile the tools needed to deal with minidumps, they are
803             # needed to run minidump tests upstream.
804             '../breakpad/breakpad.gyp:dump_syms#host',
805             '../breakpad/breakpad.gyp:symupload#host',
806             '../breakpad/breakpad.gyp:minidump_dump#host',
807             '../breakpad/breakpad.gyp:minidump_stackwalk#host',
808             '../build/android/tests/multiple_proguards/multiple_proguards.gyp:multiple_proguards_test_apk',
809             '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
810             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
811             '../cc/cc_tests.gyp:cc_perftests_apk',
812             '../cc/cc_tests.gyp:cc_unittests',
813             '../components/components_tests.gyp:components_unittests',
814             '../content/content_shell_and_tests.gyp:content_browsertests',
815             '../content/content_shell_and_tests.gyp:content_gl_tests',
816             '../content/content_shell_and_tests.gyp:content_junit_tests',
817             '../content/content_shell_and_tests.gyp:chromium_linker_test_apk',
818             '../content/content_shell_and_tests.gyp:content_shell_test_apk',
819             '../content/content_shell_and_tests.gyp:content_unittests',
820             '../gpu/gpu.gyp:gl_tests',
821             '../gpu/gpu.gyp:gpu_perftests_apk',
822             '../gpu/gpu.gyp:gpu_unittests',
823             '../ipc/ipc.gyp:ipc_tests',
824             '../media/media.gyp:media_perftests_apk',
825             '../media/media.gyp:media_unittests',
826             '../media/midi/midi.gyp:midi_unittests_apk',
827             '../media/midi/midi.gyp:midi_unittests',
828             '../net/net.gyp:net_unittests',
829             '../sandbox/sandbox.gyp:sandbox_linux_unittests_deps',
830             '../skia/skia_tests.gyp:skia_unittests',
831             '../sql/sql.gyp:sql_unittests',
832             '../sync/sync.gyp:sync_unit_tests',
833             '../testing/android/junit/junit_test.gyp:junit_unit_tests',
834             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
835             '../third_party/WebKit/public/all.gyp:*',
836             '../tools/android/android_tools.gyp:android_tools',
837             '../tools/android/android_tools.gyp:memconsumer',
838             '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
839             '../ui/android/ui_android.gyp:ui_android_unittests',
840             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
841             '../ui/events/events.gyp:events_unittests',
842             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
843             # Unit test bundles packaged as an apk.
844             '../base/base.gyp:base_unittests_apk',
845             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk',
846             '../cc/cc_tests.gyp:cc_unittests_apk',
847             '../components/components_tests.gyp:components_browsertests_apk',
848             '../components/components_tests.gyp:components_unittests_apk',
849             '../content/content_shell_and_tests.gyp:content_browsertests_apk',
850             '../content/content_shell_and_tests.gyp:content_gl_tests_apk',
851             '../content/content_shell_and_tests.gyp:content_unittests_apk',
852             '../content/content_shell_and_tests.gyp:video_decode_accelerator_unittest_apk',
853             '../gpu/gpu.gyp:gl_tests_apk',
854             '../gpu/gpu.gyp:gpu_unittests_apk',
855             '../ipc/ipc.gyp:ipc_tests_apk',
856             '../media/media.gyp:media_unittests_apk',
857             '../media/midi/midi.gyp:midi_unittests_apk',
858             '../net/net.gyp:net_unittests_apk',
859             '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
860             '../skia/skia_tests.gyp:skia_unittests_apk',
861             '../sql/sql.gyp:sql_unittests_apk',
862             '../sync/sync.gyp:sync_unit_tests_apk',
863             '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unittests_apk',
864             '../ui/android/ui_android.gyp:ui_android_unittests_apk',
865             '../ui/base/ui_base_tests.gyp:ui_base_unittests_apk',
866             '../ui/events/events.gyp:events_unittests_apk',
867             '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk',
868             '../ui/gl/gl_tests.gyp:gl_unittests_apk',
869             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_apk',
870           ],
871           'conditions': [
872             ['chromecast==0', {
873               'dependencies': [
874                 '../android_webview/android_webview.gyp:android_webview_unittests',
875                 '../chrome/chrome.gyp:unit_tests',
876                 # Unit test bundles packaged as an apk.
877                 '../android_webview/android_webview.gyp:android_webview_test_apk',
878                 '../android_webview/android_webview.gyp:android_webview_unittests_apk',
879                 '../chrome/chrome.gyp:chrome_junit_tests',
880                 '../chrome/chrome.gyp:chrome_shell_test_apk',
881                 '../chrome/chrome.gyp:chrome_sync_shell_test_apk',
882                 '../chrome/chrome.gyp:chrome_shell_uiautomator_tests',
883                 '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
884                 '../chrome/chrome.gyp:unit_tests_apk',
885               ],
886             }],
887             ['enable_webrtc==1 and "<(libpeer_target_type)"=="static_library"', {
888               'dependencies': [
889                 '../components/devtools_bridge.gyp:devtools_bridge_tests_apk',
890               ],
891             }],
892           ],
893         },
894         {
895           # WebRTC Chromium tests to run on Android.
896           'target_name': 'android_builder_chromium_webrtc',
897           'type': 'none',
898           'dependencies': [
899             '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
900             '../content/content_shell_and_tests.gyp:content_browsertests',
901             '../tools/android/android_tools.gyp:android_tools',
902             '../tools/android/android_tools.gyp:memconsumer',
903             # Unit test bundles packaged as an apk.
904             '../components/devtools_bridge.gyp:devtools_bridge_tests_apk',
905             '../content/content_shell_and_tests.gyp:content_browsertests_apk',
906           ],
907         },  # target_name: android_builder_chromium_webrtc
908       ], # targets
909     }], # OS="android"
910     ['OS=="mac"', {
911       'targets': [
912         {
913           # Target to build everything plus the dmg.  We don't put the dmg
914           # in the All target because developers really don't need it.
915           'target_name': 'all_and_dmg',
916           'type': 'none',
917           'dependencies': [
918             'All',
919             '../chrome/chrome.gyp:build_app_dmg',
920           ],
921         },
922         # These targets are here so the build bots can use them to build
923         # subsets of a full tree for faster cycle times.
924         {
925           'target_name': 'chromium_builder_dbg',
926           'type': 'none',
927           'dependencies': [
928             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
929             '../cc/cc_tests.gyp:cc_unittests',
930             '../chrome/chrome.gyp:browser_tests',
931             '../chrome/chrome.gyp:interactive_ui_tests',
932             '../chrome/chrome.gyp:sync_integration_tests',
933             '../chrome/chrome.gyp:unit_tests',
934             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
935             '../components/components_tests.gyp:components_unittests',
936             '../content/content_shell_and_tests.gyp:content_browsertests',
937             '../content/content_shell_and_tests.gyp:content_unittests',
938             '../device/device_tests.gyp:device_unittests',
939             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
940             '../gpu/gpu.gyp:gpu_unittests',
941             '../ipc/ipc.gyp:ipc_tests',
942             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
943             '../jingle/jingle.gyp:jingle_unittests',
944             '../media/media.gyp:media_unittests',
945             '../media/midi/midi.gyp:midi_unittests',
946             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
947             '../printing/printing.gyp:printing_unittests',
948             '../remoting/remoting.gyp:remoting_unittests',
949             '../rlz/rlz.gyp:*',
950             '../skia/skia_tests.gyp:skia_unittests',
951             '../sql/sql.gyp:sql_unittests',
952             '../sync/sync.gyp:sync_unit_tests',
953             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
954             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
955             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
956             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
957             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
958             '../tools/telemetry/telemetry.gyp:*',
959             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
960             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
961             '../ui/gl/gl_tests.gyp:gl_unittests',
962             '../url/url.gyp:url_unittests',
963           ],
964         },
965         {
966           'target_name': 'chromium_builder_rel',
967           'type': 'none',
968           'dependencies': [
969             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
970             '../cc/cc_tests.gyp:cc_unittests',
971             '../chrome/chrome.gyp:browser_tests',
972             '../chrome/chrome.gyp:performance_browser_tests',
973             '../chrome/chrome.gyp:sync_integration_tests',
974             '../chrome/chrome.gyp:unit_tests',
975             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
976             '../components/components_tests.gyp:components_unittests',
977             '../content/content_shell_and_tests.gyp:content_browsertests',
978             '../content/content_shell_and_tests.gyp:content_unittests',
979             '../device/device_tests.gyp:device_unittests',
980             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
981             '../gpu/gpu.gyp:gpu_unittests',
982             '../ipc/ipc.gyp:ipc_tests',
983             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
984             '../jingle/jingle.gyp:jingle_unittests',
985             '../media/media.gyp:media_unittests',
986             '../media/midi/midi.gyp:midi_unittests',
987             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
988             '../printing/printing.gyp:printing_unittests',
989             '../remoting/remoting.gyp:remoting_unittests',
990             '../skia/skia_tests.gyp:skia_unittests',
991             '../sql/sql.gyp:sql_unittests',
992             '../sync/sync.gyp:sync_unit_tests',
993             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
994             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
995             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
996             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
997             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
998             '../tools/telemetry/telemetry.gyp:*',
999             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1000             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1001             '../ui/gl/gl_tests.gyp:gl_unittests',
1002             '../url/url.gyp:url_unittests',
1003           ],
1004         },
1005         {
1006           'target_name': 'chromium_builder_dbg_tsan_mac',
1007           'type': 'none',
1008           'dependencies': [
1009             '../base/base.gyp:base_unittests',
1010             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1011             '../crypto/crypto.gyp:crypto_unittests',
1012             '../ipc/ipc.gyp:ipc_tests',
1013             '../jingle/jingle.gyp:jingle_unittests',
1014             '../media/media.gyp:media_unittests',
1015             '../media/midi/midi.gyp:midi_unittests',
1016             '../net/net.gyp:net_unittests',
1017             '../printing/printing.gyp:printing_unittests',
1018             '../remoting/remoting.gyp:remoting_unittests',
1019             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1020             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1021             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1022             '../url/url.gyp:url_unittests',
1023           ],
1024         },
1025         {
1026           'target_name': 'chromium_builder_dbg_valgrind_mac',
1027           'type': 'none',
1028           'dependencies': [
1029             '../base/base.gyp:base_unittests',
1030             '../chrome/chrome.gyp:unit_tests',
1031             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1032             '../components/components_tests.gyp:components_unittests',
1033             '../content/content_shell_and_tests.gyp:content_unittests',
1034             '../crypto/crypto.gyp:crypto_unittests',
1035             '../device/device_tests.gyp:device_unittests',
1036             '../ipc/ipc.gyp:ipc_tests',
1037             '../jingle/jingle.gyp:jingle_unittests',
1038             '../media/media.gyp:media_unittests',
1039             '../media/midi/midi.gyp:midi_unittests',
1040             '../net/net.gyp:net_unittests',
1041             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1042             '../printing/printing.gyp:printing_unittests',
1043             '../remoting/remoting.gyp:remoting_unittests',
1044             '../skia/skia_tests.gyp:skia_unittests',
1045             '../sql/sql.gyp:sql_unittests',
1046             '../sync/sync.gyp:sync_unit_tests',
1047             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1048             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1049             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1050             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1051             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1052             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1053             '../ui/gl/gl_tests.gyp:gl_unittests',
1054             '../url/url.gyp:url_unittests',
1055           ],
1056         },
1057       ],  # targets
1058     }], # OS="mac"
1059     ['OS=="win"', {
1060       'targets': [
1061         # These targets are here so the build bots can use them to build
1062         # subsets of a full tree for faster cycle times.
1063         {
1064           'target_name': 'chromium_builder',
1065           'type': 'none',
1066           'dependencies': [
1067             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1068             '../cc/cc_tests.gyp:cc_unittests',
1069             '../chrome/chrome.gyp:browser_tests',
1070             '../chrome/chrome.gyp:crash_service',
1071             '../chrome/chrome.gyp:gcapi_test',
1072             '../chrome/chrome.gyp:installer_util_unittests',
1073             '../chrome/chrome.gyp:interactive_ui_tests',
1074             '../chrome/chrome.gyp:performance_browser_tests',
1075             '../chrome/chrome.gyp:sync_integration_tests',
1076             '../chrome/chrome.gyp:unit_tests',
1077             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1078             '../components/components_tests.gyp:components_unittests',
1079             '../content/content_shell_and_tests.gyp:content_browsertests',
1080             '../content/content_shell_and_tests.gyp:content_unittests',
1081             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
1082             # ../chrome/test/mini_installer requires mini_installer.
1083             '../chrome/installer/mini_installer.gyp:mini_installer',
1084             '../courgette/courgette.gyp:courgette_unittests',
1085             '../device/device_tests.gyp:device_unittests',
1086             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1087             '../gpu/gpu.gyp:gpu_unittests',
1088             '../ipc/ipc.gyp:ipc_tests',
1089             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1090             '../jingle/jingle.gyp:jingle_unittests',
1091             '../media/media.gyp:media_unittests',
1092             '../media/midi/midi.gyp:midi_unittests',
1093             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1094             '../printing/printing.gyp:printing_unittests',
1095             '../remoting/remoting.gyp:remoting_unittests',
1096             '../skia/skia_tests.gyp:skia_unittests',
1097             '../sql/sql.gyp:sql_unittests',
1098             '../sync/sync.gyp:sync_unit_tests',
1099             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1100             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1101             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1102             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1103             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
1104             '../tools/telemetry/telemetry.gyp:*',
1105             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1106             '../ui/events/events.gyp:events_unittests',
1107             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1108             '../ui/gl/gl_tests.gyp:gl_unittests',
1109             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1110             '../ui/views/views.gyp:views_unittests',
1111             '../url/url.gyp:url_unittests',
1112           ],
1113           'conditions': [
1114             ['target_arch=="ia32"', {
1115               'dependencies': [
1116                 '../chrome/chrome.gyp:crash_service_win64',
1117               ],
1118             }],
1119           ],
1120         },
1121         {
1122           'target_name': 'chromium_builder_dbg_tsan_win',
1123           'type': 'none',
1124           'dependencies': [
1125             '../base/base.gyp:base_unittests',
1126             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1127             '../components/components_tests.gyp:components_unittests',
1128             '../content/content_shell_and_tests.gyp:content_unittests',
1129             '../crypto/crypto.gyp:crypto_unittests',
1130             '../ipc/ipc.gyp:ipc_tests',
1131             '../jingle/jingle.gyp:jingle_unittests',
1132             '../media/media.gyp:media_unittests',
1133             '../media/midi/midi.gyp:midi_unittests',
1134             '../net/net.gyp:net_unittests',
1135             '../printing/printing.gyp:printing_unittests',
1136             '../remoting/remoting.gyp:remoting_unittests',
1137             '../sql/sql.gyp:sql_unittests',
1138             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1139             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1140             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1141             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1142             '../url/url.gyp:url_unittests',
1143           ],
1144         },
1145         {
1146           'target_name': 'chromium_builder_lkgr_drmemory_win',
1147           'type': 'none',
1148           'dependencies': [
1149             '../content/content_shell_and_tests.gyp:content_shell',
1150             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1151             '../content/content_shell_and_tests.gyp:layout_test_helper',
1152           ],
1153         },
1154         {
1155           'target_name': 'chromium_builder_dbg_drmemory_win',
1156           'type': 'none',
1157           'dependencies': [
1158             '../ash/ash.gyp:ash_shell_unittests',
1159             '../ash/ash.gyp:ash_unittests',
1160             '../base/base.gyp:base_unittests',
1161             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1162             '../cc/cc_tests.gyp:cc_unittests',
1163             '../chrome/chrome.gyp:browser_tests',
1164             '../chrome/chrome.gyp:chrome_app_unittests',
1165             '../chrome/chrome.gyp:chromedriver_unittests',
1166             '../chrome/chrome.gyp:installer_util_unittests',
1167             '../chrome/chrome.gyp:unit_tests',
1168             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
1169             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1170             '../components/components_tests.gyp:components_unittests',
1171             '../content/content_shell_and_tests.gyp:content_browsertests',
1172             '../content/content_shell_and_tests.gyp:content_shell',
1173             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1174             '../content/content_shell_and_tests.gyp:layout_test_helper',
1175             '../content/content_shell_and_tests.gyp:content_unittests',
1176             '../courgette/courgette.gyp:courgette_unittests',
1177             '../crypto/crypto.gyp:crypto_unittests',
1178             '../device/device_tests.gyp:device_unittests',
1179             '../extensions/extensions_tests.gyp:extensions_browsertests',
1180             '../extensions/extensions_tests.gyp:extensions_unittests',
1181             '../gin/gin.gyp:gin_shell',
1182             '../gin/gin.gyp:gin_unittests',
1183             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1184             '../google_apis/google_apis.gyp:google_apis_unittests',
1185             '../gpu/gpu.gyp:angle_unittests',
1186             '../gpu/gpu.gyp:gpu_unittests',
1187             '../ipc/ipc.gyp:ipc_tests',
1188             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1189             '../jingle/jingle.gyp:jingle_unittests',
1190             '../media/cast/cast.gyp:cast_unittests',
1191             '../media/media.gyp:media_unittests',
1192             '../media/midi/midi.gyp:midi_unittests',
1193             '../mojo/mojo.gyp:mojo',
1194             '../net/net.gyp:net_unittests',
1195             '../printing/printing.gyp:printing_unittests',
1196             '../remoting/remoting.gyp:remoting_unittests',
1197             '../skia/skia_tests.gyp:skia_unittests',
1198             '../sql/sql.gyp:sql_unittests',
1199             '../sync/sync.gyp:sync_unit_tests',
1200             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1201             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1202             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1203             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1204             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests',
1205             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests',
1206             '../ui/accessibility/accessibility.gyp:accessibility_unittests',
1207             '../ui/app_list/app_list.gyp:app_list_unittests',
1208             '../ui/aura/aura.gyp:aura_unittests',
1209             '../ui/compositor/compositor.gyp:compositor_unittests',
1210             '../ui/display/display.gyp:display_unittests',
1211             '../ui/events/events.gyp:events_unittests',
1212             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1213             '../ui/gl/gl_tests.gyp:gl_unittests',
1214             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
1215             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1216             '../url/url.gyp:url_unittests',
1217           ],
1218         },
1219       ],  # targets
1220       'conditions': [
1221         ['branding=="Chrome"', {
1222           'targets': [
1223             {
1224               'target_name': 'chrome_official_builder_no_unittests',
1225               'type': 'none',
1226               'dependencies': [
1227                 '../chrome/chrome.gyp:app_installer',
1228                 '../chrome/chrome.gyp:crash_service',
1229                 '../chrome/chrome.gyp:gcapi_dll',
1230                 '../chrome/chrome.gyp:pack_policy_templates',
1231                 '../chrome/installer/mini_installer.gyp:mini_installer',
1232                 '../cloud_print/cloud_print.gyp:cloud_print',
1233                 '../courgette/courgette.gyp:courgette',
1234                 '../courgette/courgette.gyp:courgette64',
1235                 '../remoting/remoting.gyp:remoting_webapp',
1236                 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
1237               ],
1238               'conditions': [
1239                 ['target_arch=="ia32"', {
1240                   'dependencies': [
1241                     '../chrome/chrome.gyp:crash_service_win64',
1242                   ],
1243                 }],
1244                 ['component != "shared_library" and wix_exists == "True" and \
1245                     sas_dll_exists == "True"', {
1246                   'dependencies': [
1247                     '../remoting/remoting.gyp:remoting_host_installation',
1248                   ],
1249                 }], # component != "shared_library"
1250               ]
1251             }, {
1252               'target_name': 'chrome_official_builder',
1253               'type': 'none',
1254               'dependencies': [
1255                 'chrome_official_builder_no_unittests',
1256                 '../base/base.gyp:base_unittests',
1257                 '../chrome/chrome.gyp:app_installer_unittests',
1258                 '../chrome/chrome.gyp:browser_tests',
1259                 '../chrome/chrome.gyp:sync_integration_tests',
1260                 '../ipc/ipc.gyp:ipc_tests',
1261                 '../media/media.gyp:media_unittests',
1262                 '../media/midi/midi.gyp:midi_unittests',
1263                 '../net/net.gyp:net_unittests_run',
1264                 '../printing/printing.gyp:printing_unittests',
1265                 '../sql/sql.gyp:sql_unittests',
1266                 '../sync/sync.gyp:sync_unit_tests',
1267                 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1268                 '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1269                 '../ui/gl/gl_tests.gyp:gl_unittests',
1270                 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1271                 '../ui/views/views.gyp:views_unittests',
1272                 '../url/url.gyp:url_unittests',
1273               ],
1274             },
1275           ], # targets
1276         }], # branding=="Chrome"
1277        ], # conditions
1278     }], # OS="win"
1279     ['use_aura==1', {
1280       'targets': [
1281         {
1282           'target_name': 'aura_builder',
1283           'type': 'none',
1284           'dependencies': [
1285             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1286             '../cc/cc_tests.gyp:cc_unittests',
1287             '../components/components_tests.gyp:components_unittests',
1288             '../content/content_shell_and_tests.gyp:content_browsertests',
1289             '../content/content_shell_and_tests.gyp:content_unittests',
1290             '../device/device_tests.gyp:device_unittests',
1291             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1292             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1293             '../remoting/remoting.gyp:remoting_unittests',
1294             '../skia/skia_tests.gyp:skia_unittests',
1295             '../ui/app_list/app_list.gyp:*',
1296             '../ui/aura/aura.gyp:*',
1297             '../ui/aura_extra/aura_extra.gyp:*',
1298             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1299             '../ui/compositor/compositor.gyp:*',
1300             '../ui/display/display.gyp:display_unittests',
1301             '../ui/events/events.gyp:*',
1302             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1303             '../ui/gl/gl_tests.gyp:gl_unittests',
1304             '../ui/keyboard/keyboard.gyp:*',
1305             '../ui/snapshot/snapshot.gyp:snapshot_unittests',
1306             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1307             '../ui/wm/wm.gyp:*',
1308             'blink_tests',
1309           ],
1310           'conditions': [
1311             ['OS=="win"', {
1312               'dependencies': [
1313                 '../chrome/chrome.gyp:crash_service',
1314               ],
1315             }],
1316             ['OS=="win" and target_arch=="ia32"', {
1317               'dependencies': [
1318                 '../chrome/chrome.gyp:crash_service_win64',
1319               ],
1320             }],
1321             ['use_ash==1', {
1322               'dependencies': [
1323                 '../ash/ash.gyp:ash_shell',
1324                 '../ash/ash.gyp:ash_unittests',
1325               ],
1326             }],
1327             ['OS=="linux"', {
1328               # Tests that currently only work on Linux.
1329               'dependencies': [
1330                 '../base/base.gyp:base_unittests',
1331                 '../ipc/ipc.gyp:ipc_tests',
1332                 '../sql/sql.gyp:sql_unittests',
1333                 '../sync/sync.gyp:sync_unit_tests',
1334               ],
1335             }],
1336             ['chromeos==1', {
1337               'dependencies': [
1338                 '../chromeos/chromeos.gyp:chromeos_unittests',
1339                 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
1340               ],
1341             }],
1342             ['use_ozone==1', {
1343               'dependencies': [
1344                 '../ui/ozone/ozone.gyp:*',
1345                 '../ui/ozone/demo/ozone_demos.gyp:*',
1346               ],
1347             }],
1348             ['chromecast==0', {
1349               'dependencies': [
1350                 '../chrome/chrome.gyp:browser_tests',
1351                 '../chrome/chrome.gyp:chrome',
1352                 '../chrome/chrome.gyp:interactive_ui_tests',
1353                 '../chrome/chrome.gyp:unit_tests',
1354                 '../ui/message_center/message_center.gyp:*',
1355                 '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1356                 '../ui/views/views.gyp:views',
1357                 '../ui/views/views.gyp:views_unittests',
1358               ],
1359             }],
1360           ],
1361         },
1362       ],  # targets
1363     }], # "use_aura==1"
1364     ['test_isolation_mode != "noop"', {
1365       'targets': [
1366         {
1367           'target_name': 'chromium_swarm_tests',
1368           'type': 'none',
1369           'dependencies': [
1370             '../base/base.gyp:base_unittests_run',
1371             '../content/content_shell_and_tests.gyp:content_browsertests_run',
1372             '../content/content_shell_and_tests.gyp:content_unittests_run',
1373             '../net/net.gyp:net_unittests_run',
1374           ],
1375           'conditions': [
1376             ['chromecast==0', {
1377               'dependencies': [
1378                 '../chrome/chrome.gyp:browser_tests_run',
1379                 '../chrome/chrome.gyp:interactive_ui_tests_run',
1380                 '../chrome/chrome.gyp:sync_integration_tests_run',
1381                 '../chrome/chrome.gyp:unit_tests_run',
1382               ],
1383             }],
1384           ],
1385         }, # target_name: chromium_swarm_tests
1386       ],
1387     }],
1388     ['archive_chromoting_tests==1', {
1389       'targets': [
1390         {
1391           'target_name': 'chromoting_swarm_tests',
1392           'type': 'none',
1393           'dependencies': [
1394             '../testing/chromoting/integration_tests.gyp:chromoting_integration_tests_run',
1395           ],
1396         }, # target_name: chromoting_swarm_tests
1397       ]
1398     }],
1399     ['OS=="mac" and toolkit_views==1', {
1400       'targets': [
1401         {
1402           'target_name': 'macviews_builder',
1403           'type': 'none',
1404           'dependencies': [
1405             '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1406             '../ui/views/views.gyp:views',
1407             '../ui/views/views.gyp:views_unittests',
1408           ],
1409         },  # target_name: macviews_builder
1410       ],  # targets
1411     }],  # os=='mac' and toolkit_views==1
1412   ],  # conditions