Update the GN style guide on target naming.
[chromium-blink-merge.git] / build / all.gyp
blob511449a76dbb525dec53eff8eabf7ec71b619935
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                 '../chrome/android/chrome_apk.gyp:chrome_public_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             # TODO: Enable packed relocations for x64. See: b/20532404
96             ['target_arch != "x64"', {
97               'dependencies': [
98                 '../third_party/android_platform/relocation_packer.gyp:android_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             '../gpu/skia_runner/skia_runner.gyp:*',
164           ],
165         }],
166         ['use_openssl==0 and (OS=="mac" or OS=="ios" or OS=="win")', {
167           'dependencies': [
168             '../third_party/nss/nss.gyp:*',
169            ],
170         }],
171         ['OS=="win" or OS=="ios" or OS=="linux"', {
172           'dependencies': [
173             '../breakpad/breakpad.gyp:*',
174            ],
175         }],
176         ['OS=="mac"', {
177           'dependencies': [
178             '../sandbox/sandbox.gyp:*',
179             '../third_party/crashpad/crashpad/crashpad.gyp:*',
180             '../third_party/ocmock/ocmock.gyp:*',
181           ],
182         }],
183         ['OS=="linux"', {
184           'dependencies': [
185             '../courgette/courgette.gyp:*',
186             '../sandbox/sandbox.gyp:*',
187           ],
188           'conditions': [
189             ['branding=="Chrome"', {
190               'dependencies': [
191                 '../chrome/chrome.gyp:linux_packages_<(channel)',
192               ],
193             }],
194             ['enable_ipc_fuzzer==1', {
195               'dependencies': [
196                 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
197               ],
198             }],
199             ['use_dbus==1', {
200               'dependencies': [
201                 '../dbus/dbus.gyp:*',
202               ],
203             }],
204           ],
205         }],
206         ['chromecast==1', {
207           'dependencies': [
208             '../chromecast/chromecast.gyp:*',
209           ],
210         }],
211         ['use_x11==1', {
212           'dependencies': [
213             '../tools/xdisplaycheck/xdisplaycheck.gyp:*',
214           ],
215         }],
216         ['OS=="win"', {
217           'conditions': [
218             ['win_use_allocator_shim==1', {
219               'dependencies': [
220                 '../base/allocator/allocator.gyp:*',
221               ],
222             }],
223           ],
224           'dependencies': [
225             '../chrome/tools/crash_service/caps/caps.gyp:*',
226             '../chrome_elf/chrome_elf.gyp:*',
227             '../cloud_print/cloud_print.gyp:*',
228             '../courgette/courgette.gyp:*',
229             '../rlz/rlz.gyp:*',
230             '../sandbox/sandbox.gyp:*',
231             '<(angle_path)/src/angle.gyp:*',
232             '../third_party/bspatch/bspatch.gyp:*',
233             '../tools/win/static_initializers/static_initializers.gyp:*',
234           ],
235         }, {
236           'dependencies': [
237             '../third_party/libevent/libevent.gyp:*',
238           ],
239         }],
240         ['toolkit_views==1', {
241           'dependencies': [
242             '../ui/views/controls/webview/webview.gyp:*',
243             '../ui/views/views.gyp:*',
244           ],
245         }],
246         ['use_aura==1', {
247           'dependencies': [
248             '../ui/aura/aura.gyp:*',
249             '../ui/aura_extra/aura_extra.gyp:*',
250           ],
251         }],
252         ['use_ash==1', {
253           'dependencies': [
254             '../ash/ash.gyp:*',
255           ],
256         }],
257         ['remoting==1', {
258           'dependencies': [
259             '../remoting/remoting_all.gyp:remoting_all',
260           ],
261         }],
262         ['use_openssl==0', {
263           'dependencies': [
264             '../net/third_party/nss/ssl.gyp:*',
265           ],
266         }],
267         ['use_openssl==1', {
268           'dependencies': [
269             '../third_party/boringssl/boringssl.gyp:*',
270             '../third_party/boringssl/boringssl_tests.gyp:*',
271           ],
272         }],
273         ['enable_app_list==1', {
274           'dependencies': [
275             '../ui/app_list/app_list.gyp:*',
276           ],
277         }],
278         ['OS!="android" and OS!="ios"', {
279           'dependencies': [
280             '../google_apis/gcm/gcm.gyp:*',
281           ],
282         }],
283         ['(chromeos==1 or OS=="linux" or OS=="win" or OS=="mac") and chromecast==0', {
284           'dependencies': [
285             '../extensions/shell/app_shell.gyp:*',
286           ],
287         }],
288         ['envoy==1', {
289           'dependencies': [
290             '../envoy/envoy.gyp:*',
291           ],
292         }],
293       ],
294     }, # target_name: All
295     {
296       'target_name': 'All_syzygy',
297       'type': 'none',
298       'conditions': [
299         ['OS=="win" and fastbuild==0 and target_arch=="ia32" and '
300             '(syzyasan==1 or syzygy_optimize==1)', {
301           'dependencies': [
302             '../chrome/installer/mini_installer_syzygy.gyp:*',
303           ],
304         }],
305       ],
306     }, # target_name: All_syzygy
307     {
308       # Note: Android uses android_builder_tests below.
309       # TODO: Consider merging that with this target.
310       'target_name': 'chromium_builder_tests',
311       'type': 'none',
312       'dependencies': [
313         '../base/base.gyp:base_unittests',
314         '../components/components_tests.gyp:components_unittests',
315         '../crypto/crypto.gyp:crypto_unittests',
316         '../net/net.gyp:net_unittests',
317         '../skia/skia_tests.gyp:skia_unittests',
318         '../sql/sql.gyp:sql_unittests',
319         '../sync/sync.gyp:sync_unit_tests',
320         '../ui/base/ui_base_tests.gyp:ui_base_unittests',
321         '../ui/display/display.gyp:display_unittests',
322         '../ui/gfx/gfx_tests.gyp:gfx_unittests',
323         '../url/url.gyp:url_unittests',
324       ],
325       'conditions': [
326         ['OS!="ios"', {
327           'dependencies': [
328             '../ui/gl/gl_tests.gyp:gl_unittests',
329           ],
330         }],
331         ['OS!="ios" and OS!="mac"', {
332           'dependencies': [
333             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
334           ],
335         }],
336         ['OS!="ios" and OS!="android"', {
337           'dependencies': [
338             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
339             '../cc/cc_tests.gyp:cc_unittests',
340             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
341             '../content/content_shell_and_tests.gyp:content_browsertests',
342             '../content/content_shell_and_tests.gyp:content_shell',
343             '../content/content_shell_and_tests.gyp:content_unittests',
344             '../device/device_tests.gyp:device_unittests',
345             '../gin/gin.gyp:gin_unittests',
346             '../google_apis/google_apis.gyp:google_apis_unittests',
347             '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',
348             '../gpu/gpu.gyp:gpu_unittests',
349             '../ipc/ipc.gyp:ipc_tests',
350             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
351             '../jingle/jingle.gyp:jingle_unittests',
352             '../media/cast/cast.gyp:cast_unittests',
353             '../media/media.gyp:media_unittests',
354             '../media/midi/midi.gyp:midi_unittests',
355             '../mojo/mojo.gyp:mojo',
356             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
357             '../remoting/remoting.gyp:remoting_unittests',
358             '../third_party/WebKit/public/all.gyp:all_blink',
359             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
360             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
361             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
362             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
363             '../tools/telemetry/telemetry.gyp:*',
364           ],
365         }],
366         ['OS!="ios" and OS!="android" and chromecast==0', {
367           'dependencies': [
368             '../chrome/chrome.gyp:browser_tests',
369             '../chrome/chrome.gyp:chromedriver_tests',
370             '../chrome/chrome.gyp:chromedriver_unittests',
371             '../chrome/chrome.gyp:interactive_ui_tests',
372             '../chrome/chrome.gyp:sync_integration_tests',
373             '../chrome/chrome.gyp:unit_tests',
374             '../extensions/extensions_tests.gyp:extensions_browsertests',
375             '../extensions/extensions_tests.gyp:extensions_unittests',
376           ],
377         }],
378         ['OS=="win"', {
379           'dependencies': [
380             '../chrome/chrome.gyp:crash_service',
381             '../chrome/chrome.gyp:installer_util_unittests',
382             '../chrome/chrome.gyp:setup_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 and enable_nacl_nonsfi_test==1', {
493           'dependencies': [
494             '../components/nacl.gyp:nacl_helper_nonsfi_unittests',
495           ],
496         }],
497         ['disable_nacl==0 and disable_nacl_untrusted==0', {
498           'dependencies': [
499             '../mojo/mojo_nacl_untrusted.gyp:libmojo',
500             '../mojo/mojo_nacl.gyp:monacl_codegen',
501             '../mojo/mojo_nacl.gyp:monacl_sel',
502             '../mojo/mojo_nacl.gyp:monacl_shell',
503           ],
504         }],
505       ],
506     }, # target_name: chromium_builder_tests
507   ],
508   'conditions': [
509     # TODO(GYP): make gn_migration.gypi work unconditionally.
510     ['OS=="mac" or OS=="win" or (OS=="linux" and target_arch=="x64" and chromecast==0)', {
511       'includes': [
512         'gn_migration.gypi',
513       ],
514     }],
515     ['OS!="ios"', {
516       'targets': [
517         {
518           'target_name': 'blink_tests',
519           'type': 'none',
520           'dependencies': [
521             '../third_party/WebKit/public/all.gyp:all_blink',
522           ],
523           'conditions': [
524             ['OS=="android"', {
525               'dependencies': [
526                 '../content/content_shell_and_tests.gyp:content_shell_apk',
527                 '../breakpad/breakpad.gyp:dump_syms#host',
528                 '../breakpad/breakpad.gyp:minidump_stackwalk#host',
529               ],
530             }, {  # OS!="android"
531               'dependencies': [
532                 '../content/content_shell_and_tests.gyp:content_shell',
533               ],
534             }],
535             ['OS=="win"', {
536               'dependencies': [
537                 '../components/test_runner/test_runner.gyp:layout_test_helper',
538                 '../content/content_shell_and_tests.gyp:content_shell_crash_service',
539               ],
540             }],
541             ['OS!="win" and OS!="android"', {
542               'dependencies': [
543                 '../breakpad/breakpad.gyp:minidump_stackwalk',
544               ],
545             }],
546             ['OS=="mac"', {
547               'dependencies': [
548                 '../components/test_runner/test_runner.gyp:layout_test_helper',
549                 '../breakpad/breakpad.gyp:dump_syms#host',
550               ],
551             }],
552             ['OS=="linux"', {
553               'dependencies': [
554                 '../breakpad/breakpad.gyp:dump_syms#host',
555               ],
556             }],
557           ],
558         }, # target_name: blink_tests
559       ],
560     }], # OS!=ios
561     ['OS!="ios" and OS!="android" and chromecast==0', {
562       'targets': [
563         {
564           'target_name': 'chromium_builder_nacl_win_integration',
565           'type': 'none',
566           'dependencies': [
567             'chromium_builder_tests',
568           ],
569         }, # target_name: chromium_builder_nacl_win_integration
570         {
571           'target_name': 'chromium_builder_perf',
572           'type': 'none',
573           'dependencies': [
574             '../cc/cc_tests.gyp:cc_perftests',
575             '../chrome/chrome.gyp:chrome',
576             '../chrome/chrome.gyp:load_library_perf_tests',
577             '../chrome/chrome.gyp:performance_browser_tests',
578             '../chrome/chrome.gyp:sync_performance_tests',
579             '../content/content_shell_and_tests.gyp:content_shell',
580             '../gpu/gpu.gyp:gpu_perftests',
581             '../media/media.gyp:media_perftests',
582             '../media/midi/midi.gyp:midi_unittests',
583             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
584             '../tools/telemetry/telemetry.gyp:*',
585           ],
586           'conditions': [
587             ['OS!="ios" and OS!="win"', {
588               'dependencies': [
589                 '../breakpad/breakpad.gyp:minidump_stackwalk',
590               ],
591             }],
592             ['OS=="linux"', {
593               'dependencies': [
594                 '../chrome/chrome.gyp:linux_symbols'
595               ],
596             }],
597             ['OS=="win"', {
598               'dependencies': [
599                 '../chrome/chrome.gyp:crash_service',
600                 '../gpu/gpu.gyp:angle_perftests',
601               ],
602             }],
603             ['OS=="win" and target_arch=="ia32"', {
604               'dependencies': [
605                 '../chrome/chrome.gyp:crash_service_win64',
606               ],
607             }],
608           ],
609         }, # target_name: chromium_builder_perf
610         {
611           'target_name': 'chromium_gpu_builder',
612           'type': 'none',
613           'dependencies': [
614             '../chrome/chrome.gyp:chrome',
615             '../chrome/chrome.gyp:performance_browser_tests',
616             '../content/content_shell_and_tests.gyp:content_browsertests',
617             '../content/content_shell_and_tests.gyp:content_gl_tests',
618             '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
619             '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
620             '../gpu/gpu.gyp:gl_tests',
621             '../gpu/gpu.gyp:angle_unittests',
622             '../gpu/gpu.gyp:gpu_unittests',
623             '../tools/telemetry/telemetry.gyp:*',
624           ],
625           'conditions': [
626             ['OS!="ios" and OS!="win"', {
627               'dependencies': [
628                 '../breakpad/breakpad.gyp:minidump_stackwalk',
629               ],
630             }],
631             ['OS=="linux"', {
632               'dependencies': [
633                 '../chrome/chrome.gyp:linux_symbols'
634               ],
635             }],
636             ['OS=="win"', {
637               'dependencies': [
638                 '../chrome/chrome.gyp:crash_service',
639               ],
640             }],
641             ['OS=="win" and target_arch=="ia32"', {
642               'dependencies': [
643                 '../chrome/chrome.gyp:crash_service_win64',
644               ],
645             }],
646           ],
647         }, # target_name: chromium_gpu_builder
648         {
649           'target_name': 'chromium_gpu_debug_builder',
650           'type': 'none',
651           'dependencies': [
652             '../chrome/chrome.gyp:chrome',
653             '../content/content_shell_and_tests.gyp:content_browsertests',
654             '../content/content_shell_and_tests.gyp:content_gl_tests',
655             '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
656             '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
657             '../gpu/gpu.gyp:gl_tests',
658             '../gpu/gpu.gyp:angle_unittests',
659             '../gpu/gpu.gyp:gpu_unittests',
660             '../tools/telemetry/telemetry.gyp:*',
661           ],
662           'conditions': [
663             ['OS!="ios" and OS!="win"', {
664               'dependencies': [
665                 '../breakpad/breakpad.gyp:minidump_stackwalk',
666               ],
667             }],
668             ['OS=="linux"', {
669               'dependencies': [
670                 '../chrome/chrome.gyp:linux_symbols'
671               ],
672             }],
673             ['OS=="win"', {
674               'dependencies': [
675                 '../chrome/chrome.gyp:crash_service',
676               ],
677             }],
678             ['OS=="win" and target_arch=="ia32"', {
679               'dependencies': [
680                 '../chrome/chrome.gyp:crash_service_win64',
681               ],
682             }],
683           ],
684         }, # target_name: chromium_gpu_debug_builder
685         {
686           # This target contains everything we need to run tests on the special
687           # device-equipped WebRTC bots. We have device-requiring tests in
688           # browser_tests and content_browsertests.
689           'target_name': 'chromium_builder_webrtc',
690           'type': 'none',
691           'dependencies': [
692             'chromium_builder_perf',
693             '../chrome/chrome.gyp:browser_tests',
694             '../content/content_shell_and_tests.gyp:content_browsertests',
695             '../content/content_shell_and_tests.gyp:content_unittests',
696             '../media/media.gyp:media_unittests',
697             '../media/midi/midi.gyp:midi_unittests',
698             '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
699             '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
700           ],
701           'conditions': [
702             ['remoting==1', {
703               'dependencies': [
704                 '../remoting/remoting.gyp:*',
705               ],
706             }],
707           ],
708         },  # target_name: chromium_builder_webrtc
709         {
710           'target_name': 'chromium_builder_chromedriver',
711           'type': 'none',
712           'dependencies': [
713             '../chrome/chrome.gyp:chromedriver',
714             '../chrome/chrome.gyp:chromedriver_tests',
715             '../chrome/chrome.gyp:chromedriver_unittests',
716           ],
717         },  # target_name: chromium_builder_chromedriver
718         {
719           'target_name': 'chromium_builder_asan',
720           'type': 'none',
721           'dependencies': [
722             '../chrome/chrome.gyp:chrome',
724             # We refer to content_shell directly rather than blink_tests
725             # because we don't want the _unittests binaries.
726             '../content/content_shell_and_tests.gyp:content_shell',
727           ],
728           'conditions': [
729             ['OS!="win"', {
730               'dependencies': [
731                 '../net/net.gyp:hpack_fuzz_wrapper',
732                 '../net/net.gyp:dns_fuzz_stub',
733                 '../skia/skia.gyp:filter_fuzz_stub',
734               ],
735             }],
736             ['enable_ipc_fuzzer==1 and component!="shared_library" and '
737                  '(OS=="linux" or OS=="win")', {
738               'dependencies': [
739                 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
740               ],
741             }],
742             ['chromeos==0', {
743               'dependencies': [
744                 '../v8/src/d8.gyp:d8#host',
745                 '../third_party/pdfium/samples/samples.gyp:pdfium_test',
746               ],
747             }],
748             ['internal_filter_fuzzer==1', {
749               'dependencies': [
750                 '../skia/tools/clusterfuzz-data/fuzzers/filter_fuzzer/filter_fuzzer.gyp:filter_fuzzer',
751               ],
752             }], # internal_filter_fuzzer
753             ['clang==1', {
754               'dependencies': [
755                 'sanitizers/sanitizers.gyp:llvm-symbolizer',
756               ],
757             }],
758             ['OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1', {
759               'dependencies': [
760                 '../chrome/chrome_syzygy.gyp:chrome_dll_syzygy',
761                 '../content/content_shell_and_tests.gyp:content_shell_syzyasan',
762               ],
763               'conditions': [
764                 ['chrome_multiple_dll==1', {
765                   'dependencies': [
766                     '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
767                   ],
768                 }],
769               ],
770             }],
771           ],
772         },
773         {
774           'target_name': 'chromium_builder_nacl_sdk',
775           'type': 'none',
776           'dependencies': [
777             '../chrome/chrome.gyp:chrome',
778           ],
779           'conditions': [
780             ['OS=="win"', {
781               'dependencies': [
782                 '../chrome/chrome.gyp:chrome_nacl_win64',
783               ]
784             }],
785           ],
786         },  #target_name: chromium_builder_nacl_sdk
787       ],  # targets
788     }], #OS!=ios and OS!=android
789     ['OS=="android"', {
790       'targets': [
791         {
792           # The current list of tests for android.  This is temporary
793           # until the full set supported.  If adding a new test here,
794           # please also add it to build/android/pylib/gtest/gtest_config.py,
795           # else the test is not run.
796           #
797           # WARNING:
798           # Do not add targets here without communicating the implications
799           # on tryserver triggers and load.  Discuss with
800           # chrome-infrastructure-team please.
801           'target_name': 'android_builder_tests',
802           'type': 'none',
803           'dependencies': [
804             '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
805             '../base/base.gyp:base_unittests',
806             '../breakpad/breakpad.gyp:breakpad_unittests_deps',
807             # Also compile the tools needed to deal with minidumps, they are
808             # needed to run minidump tests upstream.
809             '../breakpad/breakpad.gyp:dump_syms#host',
810             '../breakpad/breakpad.gyp:symupload#host',
811             '../breakpad/breakpad.gyp:minidump_dump#host',
812             '../breakpad/breakpad.gyp:minidump_stackwalk#host',
813             '../build/android/tests/multiple_proguards/multiple_proguards.gyp:multiple_proguards_test_apk',
814             '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
815             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
816             '../cc/cc_tests.gyp:cc_perftests_apk',
817             '../cc/cc_tests.gyp:cc_unittests',
818             '../components/components_tests.gyp:components_unittests',
819             '../content/content_shell_and_tests.gyp:content_browsertests',
820             '../content/content_shell_and_tests.gyp:content_gl_tests',
821             '../content/content_shell_and_tests.gyp:content_junit_tests',
822             '../content/content_shell_and_tests.gyp:chromium_linker_test_apk',
823             '../content/content_shell_and_tests.gyp:content_shell_test_apk',
824             '../content/content_shell_and_tests.gyp:content_unittests',
825             '../gpu/gpu.gyp:gl_tests',
826             '../gpu/gpu.gyp:gpu_perftests_apk',
827             '../gpu/gpu.gyp:gpu_unittests',
828             '../ipc/ipc.gyp:ipc_tests',
829             '../media/media.gyp:media_perftests_apk',
830             '../media/media.gyp:media_unittests',
831             '../media/midi/midi.gyp:midi_unittests_apk',
832             '../media/midi/midi.gyp:midi_unittests',
833             '../net/net.gyp:net_unittests',
834             '../sandbox/sandbox.gyp:sandbox_linux_unittests_deps',
835             '../skia/skia_tests.gyp:skia_unittests',
836             '../sql/sql.gyp:sql_unittests',
837             '../sync/sync.gyp:sync_unit_tests',
838             '../testing/android/junit/junit_test.gyp:junit_unit_tests',
839             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
840             '../third_party/WebKit/public/all.gyp:*',
841             '../tools/android/android_tools.gyp:android_tools',
842             '../tools/android/android_tools.gyp:memconsumer',
843             '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
844             '../ui/android/ui_android.gyp:ui_android_unittests',
845             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
846             '../ui/events/events.gyp:events_unittests',
847             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
848             # Unit test bundles packaged as an apk.
849             '../base/base.gyp:base_unittests_apk',
850             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk',
851             '../cc/cc_tests.gyp:cc_unittests_apk',
852             '../components/components_tests.gyp:components_browsertests_apk',
853             '../components/components_tests.gyp:components_unittests_apk',
854             '../content/content_shell_and_tests.gyp:content_browsertests_apk',
855             '../content/content_shell_and_tests.gyp:content_gl_tests_apk',
856             '../content/content_shell_and_tests.gyp:content_unittests_apk',
857             '../content/content_shell_and_tests.gyp:video_decode_accelerator_unittest_apk',
858             '../gpu/gpu.gyp:gl_tests_apk',
859             '../gpu/gpu.gyp:gpu_unittests_apk',
860             '../ipc/ipc.gyp:ipc_tests_apk',
861             '../media/media.gyp:media_unittests_apk',
862             '../media/midi/midi.gyp:midi_unittests_apk',
863             '../net/net.gyp:net_unittests_apk',
864             '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
865             '../skia/skia_tests.gyp:skia_unittests_apk',
866             '../sql/sql.gyp:sql_unittests_apk',
867             '../sync/sync.gyp:sync_unit_tests_apk',
868             '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unittests_apk',
869             '../ui/android/ui_android.gyp:ui_android_unittests_apk',
870             '../ui/base/ui_base_tests.gyp:ui_base_unittests_apk',
871             '../ui/events/events.gyp:events_unittests_apk',
872             '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk',
873             '../ui/gl/gl_tests.gyp:gl_unittests_apk',
874             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_apk',
875           ],
876           'conditions': [
877             ['chromecast==0', {
878               'dependencies': [
879                 '../android_webview/android_webview.gyp:android_webview_unittests',
880                 '../chrome/chrome.gyp:unit_tests',
881                 # Unit test bundles packaged as an apk.
882                 '../android_webview/android_webview.gyp:android_webview_test_apk',
883                 '../android_webview/android_webview.gyp:android_webview_unittests_apk',
884                 '../chrome/android/chrome_apk.gyp:chrome_public_test_apk',
885                 '../chrome/chrome.gyp:chrome_junit_tests',
886                 '../chrome/chrome.gyp:chrome_shell_test_apk',
887                 '../chrome/chrome.gyp:chrome_sync_shell_test_apk',
888                 '../chrome/chrome.gyp:chrome_shell_uiautomator_tests',
889                 '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
890                 '../chrome/chrome.gyp:unit_tests_apk',
891               ],
892             }],
893           ],
894         },
895         {
896           # WebRTC Chromium tests to run on Android.
897           'target_name': 'android_builder_chromium_webrtc',
898           'type': 'none',
899           'dependencies': [
900             '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
901             '../content/content_shell_and_tests.gyp:content_browsertests',
902             '../tools/android/android_tools.gyp:android_tools',
903             '../tools/android/android_tools.gyp:memconsumer',
904             '../content/content_shell_and_tests.gyp:content_browsertests_apk',
905           ],
906         },  # target_name: android_builder_chromium_webrtc
907       ], # targets
908     }], # OS="android"
909     ['OS=="mac"', {
910       'targets': [
911         {
912           # Target to build everything plus the dmg.  We don't put the dmg
913           # in the All target because developers really don't need it.
914           'target_name': 'all_and_dmg',
915           'type': 'none',
916           'dependencies': [
917             'All',
918             '../chrome/chrome.gyp:build_app_dmg',
919           ],
920         },
921         # These targets are here so the build bots can use them to build
922         # subsets of a full tree for faster cycle times.
923         {
924           'target_name': 'chromium_builder_dbg',
925           'type': 'none',
926           'dependencies': [
927             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
928             '../cc/cc_tests.gyp:cc_unittests',
929             '../chrome/chrome.gyp:browser_tests',
930             '../chrome/chrome.gyp:interactive_ui_tests',
931             '../chrome/chrome.gyp:sync_integration_tests',
932             '../chrome/chrome.gyp:unit_tests',
933             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
934             '../components/components_tests.gyp:components_unittests',
935             '../content/content_shell_and_tests.gyp:content_browsertests',
936             '../content/content_shell_and_tests.gyp:content_unittests',
937             '../device/device_tests.gyp:device_unittests',
938             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
939             '../gpu/gpu.gyp:gpu_unittests',
940             '../ipc/ipc.gyp:ipc_tests',
941             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
942             '../jingle/jingle.gyp:jingle_unittests',
943             '../media/media.gyp:media_unittests',
944             '../media/midi/midi.gyp:midi_unittests',
945             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
946             '../printing/printing.gyp:printing_unittests',
947             '../remoting/remoting.gyp:remoting_unittests',
948             '../rlz/rlz.gyp:*',
949             '../skia/skia_tests.gyp:skia_unittests',
950             '../sql/sql.gyp:sql_unittests',
951             '../sync/sync.gyp:sync_unit_tests',
952             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
953             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
954             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
955             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
956             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
957             '../tools/telemetry/telemetry.gyp:*',
958             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
959             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
960             '../ui/gl/gl_tests.gyp:gl_unittests',
961             '../url/url.gyp:url_unittests',
962           ],
963         },
964         {
965           'target_name': 'chromium_builder_rel',
966           'type': 'none',
967           'dependencies': [
968             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
969             '../cc/cc_tests.gyp:cc_unittests',
970             '../chrome/chrome.gyp:browser_tests',
971             '../chrome/chrome.gyp:performance_browser_tests',
972             '../chrome/chrome.gyp:sync_integration_tests',
973             '../chrome/chrome.gyp:unit_tests',
974             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
975             '../components/components_tests.gyp:components_unittests',
976             '../content/content_shell_and_tests.gyp:content_browsertests',
977             '../content/content_shell_and_tests.gyp:content_unittests',
978             '../device/device_tests.gyp:device_unittests',
979             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
980             '../gpu/gpu.gyp:gpu_unittests',
981             '../ipc/ipc.gyp:ipc_tests',
982             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
983             '../jingle/jingle.gyp:jingle_unittests',
984             '../media/media.gyp:media_unittests',
985             '../media/midi/midi.gyp:midi_unittests',
986             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
987             '../printing/printing.gyp:printing_unittests',
988             '../remoting/remoting.gyp:remoting_unittests',
989             '../skia/skia_tests.gyp:skia_unittests',
990             '../sql/sql.gyp:sql_unittests',
991             '../sync/sync.gyp:sync_unit_tests',
992             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
993             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
994             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
995             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
996             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
997             '../tools/telemetry/telemetry.gyp:*',
998             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
999             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1000             '../ui/gl/gl_tests.gyp:gl_unittests',
1001             '../url/url.gyp:url_unittests',
1002           ],
1003         },
1004         {
1005           'target_name': 'chromium_builder_dbg_tsan_mac',
1006           'type': 'none',
1007           'dependencies': [
1008             '../base/base.gyp:base_unittests',
1009             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1010             '../crypto/crypto.gyp:crypto_unittests',
1011             '../ipc/ipc.gyp:ipc_tests',
1012             '../jingle/jingle.gyp:jingle_unittests',
1013             '../media/media.gyp:media_unittests',
1014             '../media/midi/midi.gyp:midi_unittests',
1015             '../net/net.gyp:net_unittests',
1016             '../printing/printing.gyp:printing_unittests',
1017             '../remoting/remoting.gyp:remoting_unittests',
1018             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1019             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1020             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1021             '../url/url.gyp:url_unittests',
1022           ],
1023         },
1024         {
1025           'target_name': 'chromium_builder_dbg_valgrind_mac',
1026           'type': 'none',
1027           'dependencies': [
1028             '../base/base.gyp:base_unittests',
1029             '../chrome/chrome.gyp:unit_tests',
1030             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1031             '../components/components_tests.gyp:components_unittests',
1032             '../content/content_shell_and_tests.gyp:content_unittests',
1033             '../crypto/crypto.gyp:crypto_unittests',
1034             '../device/device_tests.gyp:device_unittests',
1035             '../ipc/ipc.gyp:ipc_tests',
1036             '../jingle/jingle.gyp:jingle_unittests',
1037             '../media/media.gyp:media_unittests',
1038             '../media/midi/midi.gyp:midi_unittests',
1039             '../net/net.gyp:net_unittests',
1040             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1041             '../printing/printing.gyp:printing_unittests',
1042             '../remoting/remoting.gyp:remoting_unittests',
1043             '../skia/skia_tests.gyp:skia_unittests',
1044             '../sql/sql.gyp:sql_unittests',
1045             '../sync/sync.gyp:sync_unit_tests',
1046             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1047             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1048             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1049             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1050             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1051             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1052             '../ui/gl/gl_tests.gyp:gl_unittests',
1053             '../url/url.gyp:url_unittests',
1054           ],
1055         },
1056       ],  # targets
1057     }], # OS="mac"
1058     ['OS=="win"', {
1059       'targets': [
1060         # These targets are here so the build bots can use them to build
1061         # subsets of a full tree for faster cycle times.
1062         {
1063           'target_name': 'chromium_builder',
1064           'type': 'none',
1065           'dependencies': [
1066             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1067             '../cc/cc_tests.gyp:cc_unittests',
1068             '../chrome/chrome.gyp:browser_tests',
1069             '../chrome/chrome.gyp:crash_service',
1070             '../chrome/chrome.gyp:gcapi_test',
1071             '../chrome/chrome.gyp:installer_util_unittests',
1072             '../chrome/chrome.gyp:interactive_ui_tests',
1073             '../chrome/chrome.gyp:performance_browser_tests',
1074             '../chrome/chrome.gyp:setup_unittests',
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             '../components/test_runner/test_runner.gyp:layout_test_helper',
1150             '../content/content_shell_and_tests.gyp:content_shell',
1151             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
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:setup_unittests',
1168             '../chrome/chrome.gyp:unit_tests',
1169             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
1170             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1171             '../components/components_tests.gyp:components_unittests',
1172             '../components/test_runner/test_runner.gyp:layout_test_helper',
1173             '../content/content_shell_and_tests.gyp:content_browsertests',
1174             '../content/content_shell_and_tests.gyp:content_shell',
1175             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1176             '../content/content_shell_and_tests.gyp:content_unittests',
1177             '../courgette/courgette.gyp:courgette_unittests',
1178             '../crypto/crypto.gyp:crypto_unittests',
1179             '../device/device_tests.gyp:device_unittests',
1180             '../extensions/extensions_tests.gyp:extensions_browsertests',
1181             '../extensions/extensions_tests.gyp:extensions_unittests',
1182             '../gin/gin.gyp:gin_shell',
1183             '../gin/gin.gyp:gin_unittests',
1184             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1185             '../google_apis/google_apis.gyp:google_apis_unittests',
1186             '../gpu/gpu.gyp:angle_unittests',
1187             '../gpu/gpu.gyp:gpu_unittests',
1188             '../ipc/ipc.gyp:ipc_tests',
1189             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1190             '../jingle/jingle.gyp:jingle_unittests',
1191             '../media/cast/cast.gyp:cast_unittests',
1192             '../media/media.gyp:media_unittests',
1193             '../media/midi/midi.gyp:midi_unittests',
1194             '../mojo/mojo.gyp:mojo',
1195             '../net/net.gyp:net_unittests',
1196             '../printing/printing.gyp:printing_unittests',
1197             '../remoting/remoting.gyp:remoting_unittests',
1198             '../skia/skia_tests.gyp:skia_unittests',
1199             '../sql/sql.gyp:sql_unittests',
1200             '../sync/sync.gyp:sync_unit_tests',
1201             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1202             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1203             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1204             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1205             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests',
1206             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests',
1207             '../ui/accessibility/accessibility.gyp:accessibility_unittests',
1208             '../ui/app_list/app_list.gyp:app_list_unittests',
1209             '../ui/aura/aura.gyp:aura_unittests',
1210             '../ui/compositor/compositor.gyp:compositor_unittests',
1211             '../ui/display/display.gyp:display_unittests',
1212             '../ui/events/events.gyp:events_unittests',
1213             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1214             '../ui/gl/gl_tests.gyp:gl_unittests',
1215             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
1216             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1217             '../url/url.gyp:url_unittests',
1218           ],
1219         },
1220       ],  # targets
1221       'conditions': [
1222         ['branding=="Chrome"', {
1223           'targets': [
1224             {
1225               'target_name': 'chrome_official_builder_no_unittests',
1226               'type': 'none',
1227               'dependencies': [
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:browser_tests',
1258                 '../chrome/chrome.gyp:sync_integration_tests',
1259                 '../ipc/ipc.gyp:ipc_tests',
1260                 '../media/media.gyp:media_unittests',
1261                 '../media/midi/midi.gyp:midi_unittests',
1262                 '../net/net.gyp:net_unittests',
1263                 '../printing/printing.gyp:printing_unittests',
1264                 '../sql/sql.gyp:sql_unittests',
1265                 '../sync/sync.gyp:sync_unit_tests',
1266                 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1267                 '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1268                 '../ui/gl/gl_tests.gyp:gl_unittests',
1269                 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1270                 '../ui/views/views.gyp:views_unittests',
1271                 '../url/url.gyp:url_unittests',
1272               ],
1273             },
1274           ], # targets
1275         }], # branding=="Chrome"
1276        ], # conditions
1277     }], # OS="win"
1278     ['use_aura==1', {
1279       'targets': [
1280         {
1281           'target_name': 'aura_builder',
1282           'type': 'none',
1283           'dependencies': [
1284             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1285             '../cc/cc_tests.gyp:cc_unittests',
1286             '../components/components_tests.gyp:components_unittests',
1287             '../content/content_shell_and_tests.gyp:content_browsertests',
1288             '../content/content_shell_and_tests.gyp:content_unittests',
1289             '../device/device_tests.gyp:device_unittests',
1290             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1291             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1292             '../remoting/remoting.gyp:remoting_unittests',
1293             '../skia/skia_tests.gyp:skia_unittests',
1294             '../ui/app_list/app_list.gyp:*',
1295             '../ui/aura/aura.gyp:*',
1296             '../ui/aura_extra/aura_extra.gyp:*',
1297             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1298             '../ui/compositor/compositor.gyp:*',
1299             '../ui/display/display.gyp:display_unittests',
1300             '../ui/events/events.gyp:*',
1301             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1302             '../ui/gl/gl_tests.gyp:gl_unittests',
1303             '../ui/keyboard/keyboard.gyp:*',
1304             '../ui/snapshot/snapshot.gyp:snapshot_unittests',
1305             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1306             '../ui/wm/wm.gyp:*',
1307             'blink_tests',
1308           ],
1309           'conditions': [
1310             ['OS=="win"', {
1311               'dependencies': [
1312                 '../chrome/chrome.gyp:crash_service',
1313               ],
1314             }],
1315             ['OS=="win" and target_arch=="ia32"', {
1316               'dependencies': [
1317                 '../chrome/chrome.gyp:crash_service_win64',
1318               ],
1319             }],
1320             ['use_ash==1', {
1321               'dependencies': [
1322                 '../ash/ash.gyp:ash_shell',
1323                 '../ash/ash.gyp:ash_unittests',
1324               ],
1325             }],
1326             ['OS=="linux"', {
1327               # Tests that currently only work on Linux.
1328               'dependencies': [
1329                 '../base/base.gyp:base_unittests',
1330                 '../ipc/ipc.gyp:ipc_tests',
1331                 '../sql/sql.gyp:sql_unittests',
1332                 '../sync/sync.gyp:sync_unit_tests',
1333               ],
1334             }],
1335             ['chromeos==1', {
1336               'dependencies': [
1337                 '../chromeos/chromeos.gyp:chromeos_unittests',
1338                 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
1339               ],
1340             }],
1341             ['use_ozone==1', {
1342               'dependencies': [
1343                 '../ui/ozone/ozone.gyp:*',
1344                 '../ui/ozone/demo/ozone_demos.gyp:*',
1345               ],
1346             }],
1347             ['chromecast==0', {
1348               'dependencies': [
1349                 '../chrome/chrome.gyp:browser_tests',
1350                 '../chrome/chrome.gyp:chrome',
1351                 '../chrome/chrome.gyp:interactive_ui_tests',
1352                 '../chrome/chrome.gyp:unit_tests',
1353                 '../ui/message_center/message_center.gyp:*',
1354                 '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1355                 '../ui/views/views.gyp:views',
1356                 '../ui/views/views.gyp:views_unittests',
1357               ],
1358             }],
1359           ],
1360         },
1361       ],  # targets
1362     }], # "use_aura==1"
1363     ['test_isolation_mode != "noop"', {
1364       'targets': [
1365         {
1366           'target_name': 'chromium_swarm_tests',
1367           'type': 'none',
1368           'dependencies': [
1369             '../base/base.gyp:base_unittests_run',
1370             '../content/content_shell_and_tests.gyp:content_browsertests_run',
1371             '../content/content_shell_and_tests.gyp:content_unittests_run',
1372             '../net/net.gyp:net_unittests_run',
1373           ],
1374           'conditions': [
1375             ['chromecast==0', {
1376               'dependencies': [
1377                 '../chrome/chrome.gyp:browser_tests_run',
1378                 '../chrome/chrome.gyp:interactive_ui_tests_run',
1379                 '../chrome/chrome.gyp:sync_integration_tests_run',
1380                 '../chrome/chrome.gyp:unit_tests_run',
1381               ],
1382             }],
1383           ],
1384         }, # target_name: chromium_swarm_tests
1385       ],
1386     }],
1387     ['archive_chromoting_tests==1', {
1388       'targets': [
1389         {
1390           'target_name': 'chromoting_swarm_tests',
1391           'type': 'none',
1392           'dependencies': [
1393             '../testing/chromoting/integration_tests.gyp:*',
1394           ],
1395         }, # target_name: chromoting_swarm_tests
1396       ]
1397     }],
1398     ['OS=="mac" and toolkit_views==1', {
1399       'targets': [
1400         {
1401           'target_name': 'macviews_builder',
1402           'type': 'none',
1403           'dependencies': [
1404             '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1405             '../ui/views/views.gyp:views',
1406             '../ui/views/views.gyp:views_unittests',
1407           ],
1408         },  # target_name: macviews_builder
1409       ],  # targets
1410     }],  # os=='mac' and toolkit_views==1
1411   ],  # conditions