[Android WebView] Fix webview perf bot switchover to use org.chromium.webview_shell...
[chromium-blink-merge.git] / build / all.gyp
blob6b8ad831a43558a5bdd8c6a3c451dd0c5f9ed434
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/android/chrome_apk.gyp:chrome_public_apk',
91                 '../chrome/chrome.gyp:chrome_shell_apk',
92                 '../chrome/chrome.gyp:chrome_sync_shell_apk',
93                 '../remoting/remoting.gyp:remoting_apk',
94               ],
95             }],
96             ['target_arch == "arm" or target_arch == "arm64"', {
97               'dependencies': [
98                 # The relocation packer is currently used only for ARM or ARM64.
99                 '../third_party/android_platform/relocation_packer.gyp:android_relocation_packer_unittests#host',
100               ],
101             }],
102           ],
103         }, {
104           'dependencies': [
105             '../content/content_shell_and_tests.gyp:*',
106             # TODO: This should build on Android and the target should move to the list above.
107             '../sync/sync.gyp:*',
108           ],
109         }],
110         ['OS!="ios" and OS!="android" and chromecast==0', {
111           'dependencies': [
112             '../third_party/re2/re2.gyp:re2',
113             '../chrome/chrome.gyp:*',
114             '../chrome/tools/profile_reset/jtl_compiler.gyp:*',
115             '../cc/blink/cc_blink_tests.gyp:*',
116             '../cc/cc_tests.gyp:*',
117             '../device/usb/usb.gyp:*',
118             '../extensions/extensions.gyp:*',
119             '../extensions/extensions_tests.gyp:*',
120             '../gin/gin.gyp:*',
121             '../gpu/gpu.gyp:*',
122             '../gpu/tools/tools.gyp:*',
123             '../ipc/ipc.gyp:*',
124             '../ipc/mojo/ipc_mojo.gyp:*',
125             '../jingle/jingle.gyp:*',
126             '../media/cast/cast.gyp:*',
127             '../media/media.gyp:*',
128             '../media/midi/midi.gyp:*',
129             '../mojo/mojo.gyp:*',
130             '../mojo/mojo_base.gyp:*',
131             '../ppapi/ppapi.gyp:*',
132             '../ppapi/ppapi_internal.gyp:*',
133             '../ppapi/tools/ppapi_tools.gyp:*',
134             '../printing/printing.gyp:*',
135             '../skia/skia.gyp:*',
136             '../sync/tools/sync_tools.gyp:*',
137             '../third_party/WebKit/public/all.gyp:*',
138             '../third_party/cacheinvalidation/cacheinvalidation.gyp:*',
139             '../third_party/codesighs/codesighs.gyp:*',
140             '../third_party/ffmpeg/ffmpeg.gyp:*',
141             '../third_party/iccjpeg/iccjpeg.gyp:*',
142             '../third_party/libpng/libpng.gyp:*',
143             '../third_party/libusb/libusb.gyp:*',
144             '../third_party/libwebp/libwebp.gyp:*',
145             '../third_party/libxslt/libxslt.gyp:*',
146             '../third_party/lzma_sdk/lzma_sdk.gyp:*',
147             '../third_party/mesa/mesa.gyp:*',
148             '../third_party/modp_b64/modp_b64.gyp:*',
149             '../third_party/npapi/npapi.gyp:*',
150             '../third_party/ots/ots.gyp:*',
151             '../third_party/pdfium/samples/samples.gyp:*',
152             '../third_party/qcms/qcms.gyp:*',
153             '../tools/gn/gn.gyp:*',
154             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
155             '../tools/telemetry/telemetry.gyp:*',
156             '../v8/tools/gyp/v8.gyp:*',
157             '<(libjpeg_gyp_path):*',
158           ],
159         }],
160         ['OS!="ios"', {
161           'dependencies': [
162             '../device/bluetooth/bluetooth.gyp:*',
163             '../device/device_tests.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/test/mini_installer requires mini_installer.
383             '../chrome/installer/mini_installer.gyp:mini_installer',
384             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
385             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
386             '../courgette/courgette.gyp:courgette_unittests',
387             '../sandbox/sandbox.gyp:sbox_integration_tests',
388             '../sandbox/sandbox.gyp:sbox_unittests',
389             '../sandbox/sandbox.gyp:sbox_validation_tests',
390             '../ui/app_list/app_list.gyp:app_list_unittests',
391           ],
392           'conditions': [
393             # remoting_host_installation uses lots of non-trivial GYP that tend
394             # to break because of differences between ninja and msbuild. Make
395             # sure this target is built by the builders on the main waterfall.
396             # See http://crbug.com/180600.
397             ['wix_exists == "True" and sas_dll_exists == "True"', {
398               'dependencies': [
399                 '../remoting/remoting.gyp:remoting_host_installation',
400               ],
401             }],
402             ['syzyasan==1', {
403               'variables': {
404                 # Disable incremental linking for all modules.
405                 # 0: inherit, 1: disabled, 2: enabled.
406                 'msvs_debug_link_incremental': '1',
407                 'msvs_large_module_debug_link_mode': '1',
408                 # Disable RTC. Syzygy explicitly doesn't support RTC
409                 # instrumented binaries for now.
410                 'win_debug_RuntimeChecks': '0',
411               },
412               'defines': [
413                 # Disable iterator debugging (huge speed boost).
414                 '_HAS_ITERATOR_DEBUGGING=0',
415               ],
416               'msvs_settings': {
417                 'VCLinkerTool': {
418                   # Enable profile information (necessary for SyzyAsan
419                   # instrumentation). This is incompatible with incremental
420                   # linking.
421                   'Profile': 'true',
422                 },
423               }
424             }],
425           ],
426         }],
427         ['chromeos==1', {
428           'dependencies': [
429             '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
430           ],
431         }],
432         ['OS=="linux"', {
433           'dependencies': [
434             '../sandbox/sandbox.gyp:sandbox_linux_unittests',
435           ],
436         }],
437         ['OS=="linux" and use_dbus==1', {
438           'dependencies': [
439             '../dbus/dbus.gyp:dbus_unittests',
440           ],
441         }],
442         ['OS=="mac"', {
443           'dependencies': [
444             '../ui/app_list/app_list.gyp:app_list_unittests',
445             '../ui/message_center/message_center.gyp:*',
446           ],
447         }],
448         ['test_isolation_mode != "noop"', {
449           'dependencies': [
450             'chromium_swarm_tests',
451           ],
452         }],
453         ['OS!="android"', {
454           'dependencies': [
455             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
456           ],
457         }],
458         ['enable_basic_printing==1 or enable_print_preview==1', {
459           'dependencies': [
460             '../printing/printing.gyp:printing_unittests',
461           ],
462         }],
463         ['use_aura==1', {
464           'dependencies': [
465             '../ui/app_list/app_list.gyp:app_list_unittests',
466             '../ui/aura/aura.gyp:aura_unittests',
467             '../ui/compositor/compositor.gyp:compositor_unittests',
468           ],
469         }],
470         ['use_aura==1 and chromecast==0', {
471           'dependencies': [
472             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
473             '../ui/views/views.gyp:views_unittests',
474           ],
475         }],
476         ['use_aura==1 or toolkit_views==1', {
477           'dependencies': [
478             '../ui/events/events.gyp:events_unittests',
479           ],
480         }],
481         ['use_ash==1', {
482           'dependencies': [
483             '../ash/ash.gyp:ash_unittests',
484           ],
485         }],
486         ['disable_nacl==0', {
487           'dependencies': [
488             '../components/nacl.gyp:nacl_loader_unittests',
489           ],
490         }],
491         ['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test==1', {
492           'dependencies': [
493             '../components/nacl.gyp:nacl_helper_nonsfi_unittests',
494           ],
495         }],
496         ['disable_nacl==0 and disable_nacl_untrusted==0', {
497           'dependencies': [
498             '../mojo/mojo_nacl_untrusted.gyp:libmojo',
499             '../mojo/mojo_nacl.gyp:monacl_codegen',
500             '../mojo/mojo_nacl.gyp:monacl_sel',
501             '../mojo/mojo_nacl.gyp:monacl_shell',
502           ],
503         }],
504       ],
505     }, # target_name: chromium_builder_tests
506   ],
507   'conditions': [
508     # TODO(GYP): make gn_migration.gypi work unconditionally.
509     ['OS=="mac" or OS=="win" or (OS=="linux" and target_arch=="x64" and chromecast==0)', {
510       'includes': [
511         'gn_migration.gypi',
512       ],
513     }],
514     ['OS!="ios"', {
515       'targets': [
516         {
517           'target_name': 'blink_tests',
518           'type': 'none',
519           'dependencies': [
520             '../third_party/WebKit/public/all.gyp:all_blink',
521           ],
522           'conditions': [
523             ['OS=="android"', {
524               'dependencies': [
525                 '../content/content_shell_and_tests.gyp:content_shell_apk',
526                 '../breakpad/breakpad.gyp:dump_syms#host',
527                 '../breakpad/breakpad.gyp:minidump_stackwalk#host',
528               ],
529             }, {  # OS!="android"
530               'dependencies': [
531                 '../content/content_shell_and_tests.gyp:content_shell',
532               ],
533             }],
534             ['OS=="win"', {
535               'dependencies': [
536                 '../components/test_runner/test_runner.gyp:layout_test_helper',
537                 '../content/content_shell_and_tests.gyp:content_shell_crash_service',
538               ],
539             }],
540             ['OS!="win" and OS!="android"', {
541               'dependencies': [
542                 '../breakpad/breakpad.gyp:minidump_stackwalk',
543               ],
544             }],
545             ['OS=="mac"', {
546               'dependencies': [
547                 '../components/test_runner/test_runner.gyp:layout_test_helper',
548                 '../breakpad/breakpad.gyp:dump_syms#host',
549               ],
550             }],
551             ['OS=="linux"', {
552               'dependencies': [
553                 '../breakpad/breakpad.gyp:dump_syms#host',
554               ],
555             }],
556           ],
557         }, # target_name: blink_tests
558       ],
559     }], # OS!=ios
560     ['OS!="ios" and OS!="android" and chromecast==0', {
561       'targets': [
562         {
563           'target_name': 'chromium_builder_nacl_win_integration',
564           'type': 'none',
565           'dependencies': [
566             'chromium_builder_tests',
567           ],
568         }, # target_name: chromium_builder_nacl_win_integration
569         {
570           'target_name': 'chromium_builder_perf',
571           'type': 'none',
572           'dependencies': [
573             '../cc/cc_tests.gyp:cc_perftests',
574             '../chrome/chrome.gyp:chrome',
575             '../chrome/chrome.gyp:load_library_perf_tests',
576             '../chrome/chrome.gyp:performance_browser_tests',
577             '../chrome/chrome.gyp:sync_performance_tests',
578             '../content/content_shell_and_tests.gyp:content_shell',
579             '../gpu/gpu.gyp:gpu_perftests',
580             '../media/media.gyp:media_perftests',
581             '../media/midi/midi.gyp:midi_unittests',
582             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
583             '../tools/telemetry/telemetry.gyp:*',
584           ],
585           'conditions': [
586             ['OS!="ios" and OS!="win"', {
587               'dependencies': [
588                 '../breakpad/breakpad.gyp:minidump_stackwalk',
589               ],
590             }],
591             ['OS=="linux"', {
592               'dependencies': [
593                 '../chrome/chrome.gyp:linux_symbols'
594               ],
595             }],
596             ['OS=="win"', {
597               'dependencies': [
598                 '../chrome/chrome.gyp:crash_service',
599                 '../gpu/gpu.gyp:angle_perftests',
600               ],
601             }],
602             ['OS=="win" and target_arch=="ia32"', {
603               'dependencies': [
604                 '../chrome/chrome.gyp:crash_service_win64',
605               ],
606             }],
607           ],
608         }, # target_name: chromium_builder_perf
609         {
610           'target_name': 'chromium_gpu_builder',
611           'type': 'none',
612           'dependencies': [
613             '../chrome/chrome.gyp:chrome',
614             '../chrome/chrome.gyp:performance_browser_tests',
615             '../content/content_shell_and_tests.gyp:content_browsertests',
616             '../content/content_shell_and_tests.gyp:content_gl_tests',
617             '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
618             '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
619             '../gpu/gpu.gyp:gl_tests',
620             '../gpu/gpu.gyp:angle_unittests',
621             '../gpu/gpu.gyp:gpu_unittests',
622             '../tools/telemetry/telemetry.gyp:*',
623           ],
624           'conditions': [
625             ['OS!="ios" and OS!="win"', {
626               'dependencies': [
627                 '../breakpad/breakpad.gyp:minidump_stackwalk',
628               ],
629             }],
630             ['OS=="linux"', {
631               'dependencies': [
632                 '../chrome/chrome.gyp:linux_symbols'
633               ],
634             }],
635             ['OS=="win"', {
636               'dependencies': [
637                 '../chrome/chrome.gyp:crash_service',
638               ],
639             }],
640             ['OS=="win" and target_arch=="ia32"', {
641               'dependencies': [
642                 '../chrome/chrome.gyp:crash_service_win64',
643               ],
644             }],
645           ],
646         }, # target_name: chromium_gpu_builder
647         {
648           'target_name': 'chromium_gpu_debug_builder',
649           'type': 'none',
650           'dependencies': [
651             '../chrome/chrome.gyp:chrome',
652             '../content/content_shell_and_tests.gyp:content_browsertests',
653             '../content/content_shell_and_tests.gyp:content_gl_tests',
654             '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
655             '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
656             '../gpu/gpu.gyp:gl_tests',
657             '../gpu/gpu.gyp:angle_unittests',
658             '../gpu/gpu.gyp:gpu_unittests',
659             '../tools/telemetry/telemetry.gyp:*',
660           ],
661           'conditions': [
662             ['OS!="ios" and OS!="win"', {
663               'dependencies': [
664                 '../breakpad/breakpad.gyp:minidump_stackwalk',
665               ],
666             }],
667             ['OS=="linux"', {
668               'dependencies': [
669                 '../chrome/chrome.gyp:linux_symbols'
670               ],
671             }],
672             ['OS=="win"', {
673               'dependencies': [
674                 '../chrome/chrome.gyp:crash_service',
675               ],
676             }],
677             ['OS=="win" and target_arch=="ia32"', {
678               'dependencies': [
679                 '../chrome/chrome.gyp:crash_service_win64',
680               ],
681             }],
682           ],
683         }, # target_name: chromium_gpu_debug_builder
684         {
685           # This target contains everything we need to run tests on the special
686           # device-equipped WebRTC bots. We have device-requiring tests in
687           # browser_tests and content_browsertests.
688           'target_name': 'chromium_builder_webrtc',
689           'type': 'none',
690           'dependencies': [
691             'chromium_builder_perf',
692             '../chrome/chrome.gyp:browser_tests',
693             '../content/content_shell_and_tests.gyp:content_browsertests',
694             '../content/content_shell_and_tests.gyp:content_unittests',
695             '../media/media.gyp:media_unittests',
696             '../media/midi/midi.gyp:midi_unittests',
697             '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
698             '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
699           ],
700           'conditions': [
701             ['remoting==1', {
702               'dependencies': [
703                 '../remoting/remoting.gyp:*',
704               ],
705             }],
706           ],
707         },  # target_name: chromium_builder_webrtc
708         {
709           'target_name': 'chromium_builder_chromedriver',
710           'type': 'none',
711           'dependencies': [
712             '../chrome/chrome.gyp:chromedriver',
713             '../chrome/chrome.gyp:chromedriver_tests',
714             '../chrome/chrome.gyp:chromedriver_unittests',
715           ],
716         },  # target_name: chromium_builder_chromedriver
717         {
718           'target_name': 'chromium_builder_asan',
719           'type': 'none',
720           'dependencies': [
721             '../chrome/chrome.gyp:chrome',
723             # We refer to content_shell directly rather than blink_tests
724             # because we don't want the _unittests binaries.
725             '../content/content_shell_and_tests.gyp:content_shell',
726           ],
727           'conditions': [
728             ['OS!="win"', {
729               'dependencies': [
730                 '../net/net.gyp:hpack_fuzz_wrapper',
731                 '../net/net.gyp:dns_fuzz_stub',
732                 '../skia/skia.gyp:filter_fuzz_stub',
733               ],
734             }],
735             ['enable_ipc_fuzzer==1 and component!="shared_library" and '
736                  '(OS=="linux" or OS=="win")', {
737               'dependencies': [
738                 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
739               ],
740             }],
741             ['chromeos==0', {
742               'dependencies': [
743                 '../v8/src/d8.gyp:d8#host',
744                 '../third_party/pdfium/samples/samples.gyp:pdfium_test',
745               ],
746             }],
747             ['internal_filter_fuzzer==1', {
748               'dependencies': [
749                 '../skia/tools/clusterfuzz-data/fuzzers/filter_fuzzer/filter_fuzzer.gyp:filter_fuzzer',
750               ],
751             }], # internal_filter_fuzzer
752             ['clang==1', {
753               'dependencies': [
754                 'sanitizers/sanitizers.gyp:llvm-symbolizer',
755               ],
756             }],
757             ['OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1', {
758               'dependencies': [
759                 '../chrome/chrome_syzygy.gyp:chrome_dll_syzygy',
760                 '../content/content_shell_and_tests.gyp:content_shell_syzyasan',
761               ],
762               'conditions': [
763                 ['chrome_multiple_dll==1', {
764                   'dependencies': [
765                     '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
766                   ],
767                 }],
768               ],
769             }],
770           ],
771         },
772         {
773           'target_name': 'chromium_builder_nacl_sdk',
774           'type': 'none',
775           'dependencies': [
776             '../chrome/chrome.gyp:chrome',
777           ],
778           'conditions': [
779             ['OS=="win"', {
780               'dependencies': [
781                 '../chrome/chrome.gyp:chrome_nacl_win64',
782               ]
783             }],
784           ],
785         },  #target_name: chromium_builder_nacl_sdk
786       ],  # targets
787     }], #OS!=ios and OS!=android
788     ['OS=="android"', {
789       'targets': [
790         {
791           # The current list of tests for android.  This is temporary
792           # until the full set supported.  If adding a new test here,
793           # please also add it to build/android/pylib/gtest/gtest_config.py,
794           # else the test is not run.
795           #
796           # WARNING:
797           # Do not add targets here without communicating the implications
798           # on tryserver triggers and load.  Discuss with
799           # chrome-infrastructure-team please.
800           'target_name': 'android_builder_tests',
801           'type': 'none',
802           'dependencies': [
803             '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
804             '../base/base.gyp:base_unittests',
805             '../breakpad/breakpad.gyp:breakpad_unittests_deps',
806             # Also compile the tools needed to deal with minidumps, they are
807             # needed to run minidump tests upstream.
808             '../breakpad/breakpad.gyp:dump_syms#host',
809             '../breakpad/breakpad.gyp:symupload#host',
810             '../breakpad/breakpad.gyp:minidump_dump#host',
811             '../breakpad/breakpad.gyp:minidump_stackwalk#host',
812             '../build/android/tests/multiple_proguards/multiple_proguards.gyp:multiple_proguards_test_apk',
813             '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
814             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
815             '../cc/cc_tests.gyp:cc_perftests_apk',
816             '../cc/cc_tests.gyp:cc_unittests',
817             '../components/components_tests.gyp:components_unittests',
818             '../content/content_shell_and_tests.gyp:content_browsertests',
819             '../content/content_shell_and_tests.gyp:content_gl_tests',
820             '../content/content_shell_and_tests.gyp:content_junit_tests',
821             '../content/content_shell_and_tests.gyp:chromium_linker_test_apk',
822             '../content/content_shell_and_tests.gyp:content_shell_test_apk',
823             '../content/content_shell_and_tests.gyp:content_unittests',
824             '../gpu/gpu.gyp:gl_tests',
825             '../gpu/gpu.gyp:gpu_perftests_apk',
826             '../gpu/gpu.gyp:gpu_unittests',
827             '../ipc/ipc.gyp:ipc_tests',
828             '../media/media.gyp:media_perftests_apk',
829             '../media/media.gyp:media_unittests',
830             '../media/midi/midi.gyp:midi_unittests_apk',
831             '../media/midi/midi.gyp:midi_unittests',
832             '../net/net.gyp:net_unittests',
833             '../sandbox/sandbox.gyp:sandbox_linux_unittests_deps',
834             '../skia/skia_tests.gyp:skia_unittests',
835             '../sql/sql.gyp:sql_unittests',
836             '../sync/sync.gyp:sync_unit_tests',
837             '../testing/android/junit/junit_test.gyp:junit_unit_tests',
838             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
839             '../third_party/WebKit/public/all.gyp:*',
840             '../tools/android/android_tools.gyp:android_tools',
841             '../tools/android/android_tools.gyp:memconsumer',
842             '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
843             '../ui/android/ui_android.gyp:ui_android_unittests',
844             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
845             '../ui/events/events.gyp:events_unittests',
846             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
847             # Unit test bundles packaged as an apk.
848             '../base/base.gyp:base_unittests_apk',
849             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk',
850             '../cc/cc_tests.gyp:cc_unittests_apk',
851             '../components/components_tests.gyp:components_browsertests_apk',
852             '../components/components_tests.gyp:components_unittests_apk',
853             '../content/content_shell_and_tests.gyp:content_browsertests_apk',
854             '../content/content_shell_and_tests.gyp:content_gl_tests_apk',
855             '../content/content_shell_and_tests.gyp:content_unittests_apk',
856             '../content/content_shell_and_tests.gyp:video_decode_accelerator_unittest_apk',
857             '../gpu/gpu.gyp:gl_tests_apk',
858             '../gpu/gpu.gyp:gpu_unittests_apk',
859             '../ipc/ipc.gyp:ipc_tests_apk',
860             '../media/media.gyp:media_unittests_apk',
861             '../media/midi/midi.gyp:midi_unittests_apk',
862             '../net/net.gyp:net_unittests_apk',
863             '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
864             '../skia/skia_tests.gyp:skia_unittests_apk',
865             '../sql/sql.gyp:sql_unittests_apk',
866             '../sync/sync.gyp:sync_unit_tests_apk',
867             '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unittests_apk',
868             '../ui/android/ui_android.gyp:ui_android_unittests_apk',
869             '../ui/base/ui_base_tests.gyp:ui_base_unittests_apk',
870             '../ui/events/events.gyp:events_unittests_apk',
871             '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk',
872             '../ui/gl/gl_tests.gyp:gl_unittests_apk',
873             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_apk',
874           ],
875           'conditions': [
876             ['chromecast==0', {
877               'dependencies': [
878                 '../android_webview/android_webview.gyp:android_webview_unittests',
879                 '../chrome/chrome.gyp:unit_tests',
880                 # Unit test bundles packaged as an apk.
881                 '../android_webview/android_webview.gyp:android_webview_test_apk',
882                 '../android_webview/android_webview.gyp:android_webview_unittests_apk',
883                 '../chrome/android/chrome_apk.gyp:chrome_public_test_apk',
884                 '../chrome/chrome.gyp:chrome_junit_tests',
885                 '../chrome/chrome.gyp:chrome_shell_test_apk',
886                 '../chrome/chrome.gyp:chrome_sync_shell_test_apk',
887                 '../chrome/chrome.gyp:chrome_shell_uiautomator_tests',
888                 '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
889                 '../chrome/chrome.gyp:unit_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             '../content/content_shell_and_tests.gyp:content_browsertests_apk',
904           ],
905         },  # target_name: android_builder_chromium_webrtc
906       ], # targets
907     }], # OS="android"
908     ['OS=="mac"', {
909       'targets': [
910         {
911           # Target to build everything plus the dmg.  We don't put the dmg
912           # in the All target because developers really don't need it.
913           'target_name': 'all_and_dmg',
914           'type': 'none',
915           'dependencies': [
916             'All',
917             '../chrome/chrome.gyp:build_app_dmg',
918           ],
919         },
920         # These targets are here so the build bots can use them to build
921         # subsets of a full tree for faster cycle times.
922         {
923           'target_name': 'chromium_builder_dbg',
924           'type': 'none',
925           'dependencies': [
926             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
927             '../cc/cc_tests.gyp:cc_unittests',
928             '../chrome/chrome.gyp:browser_tests',
929             '../chrome/chrome.gyp:interactive_ui_tests',
930             '../chrome/chrome.gyp:sync_integration_tests',
931             '../chrome/chrome.gyp:unit_tests',
932             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
933             '../components/components_tests.gyp:components_unittests',
934             '../content/content_shell_and_tests.gyp:content_browsertests',
935             '../content/content_shell_and_tests.gyp:content_unittests',
936             '../device/device_tests.gyp:device_unittests',
937             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
938             '../gpu/gpu.gyp:gpu_unittests',
939             '../ipc/ipc.gyp:ipc_tests',
940             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
941             '../jingle/jingle.gyp:jingle_unittests',
942             '../media/media.gyp:media_unittests',
943             '../media/midi/midi.gyp:midi_unittests',
944             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
945             '../printing/printing.gyp:printing_unittests',
946             '../remoting/remoting.gyp:remoting_unittests',
947             '../rlz/rlz.gyp:*',
948             '../skia/skia_tests.gyp:skia_unittests',
949             '../sql/sql.gyp:sql_unittests',
950             '../sync/sync.gyp:sync_unit_tests',
951             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
952             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
953             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
954             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
955             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
956             '../tools/telemetry/telemetry.gyp:*',
957             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
958             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
959             '../ui/gl/gl_tests.gyp:gl_unittests',
960             '../url/url.gyp:url_unittests',
961           ],
962         },
963         {
964           'target_name': 'chromium_builder_rel',
965           'type': 'none',
966           'dependencies': [
967             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
968             '../cc/cc_tests.gyp:cc_unittests',
969             '../chrome/chrome.gyp:browser_tests',
970             '../chrome/chrome.gyp:performance_browser_tests',
971             '../chrome/chrome.gyp:sync_integration_tests',
972             '../chrome/chrome.gyp:unit_tests',
973             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
974             '../components/components_tests.gyp:components_unittests',
975             '../content/content_shell_and_tests.gyp:content_browsertests',
976             '../content/content_shell_and_tests.gyp:content_unittests',
977             '../device/device_tests.gyp:device_unittests',
978             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
979             '../gpu/gpu.gyp:gpu_unittests',
980             '../ipc/ipc.gyp:ipc_tests',
981             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
982             '../jingle/jingle.gyp:jingle_unittests',
983             '../media/media.gyp:media_unittests',
984             '../media/midi/midi.gyp:midi_unittests',
985             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
986             '../printing/printing.gyp:printing_unittests',
987             '../remoting/remoting.gyp:remoting_unittests',
988             '../skia/skia_tests.gyp:skia_unittests',
989             '../sql/sql.gyp:sql_unittests',
990             '../sync/sync.gyp:sync_unit_tests',
991             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
992             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
993             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
994             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
995             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
996             '../tools/telemetry/telemetry.gyp:*',
997             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
998             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
999             '../ui/gl/gl_tests.gyp:gl_unittests',
1000             '../url/url.gyp:url_unittests',
1001           ],
1002         },
1003         {
1004           'target_name': 'chromium_builder_dbg_tsan_mac',
1005           'type': 'none',
1006           'dependencies': [
1007             '../base/base.gyp:base_unittests',
1008             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1009             '../crypto/crypto.gyp:crypto_unittests',
1010             '../ipc/ipc.gyp:ipc_tests',
1011             '../jingle/jingle.gyp:jingle_unittests',
1012             '../media/media.gyp:media_unittests',
1013             '../media/midi/midi.gyp:midi_unittests',
1014             '../net/net.gyp:net_unittests',
1015             '../printing/printing.gyp:printing_unittests',
1016             '../remoting/remoting.gyp:remoting_unittests',
1017             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1018             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1019             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1020             '../url/url.gyp:url_unittests',
1021           ],
1022         },
1023         {
1024           'target_name': 'chromium_builder_dbg_valgrind_mac',
1025           'type': 'none',
1026           'dependencies': [
1027             '../base/base.gyp:base_unittests',
1028             '../chrome/chrome.gyp:unit_tests',
1029             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1030             '../components/components_tests.gyp:components_unittests',
1031             '../content/content_shell_and_tests.gyp:content_unittests',
1032             '../crypto/crypto.gyp:crypto_unittests',
1033             '../device/device_tests.gyp:device_unittests',
1034             '../ipc/ipc.gyp:ipc_tests',
1035             '../jingle/jingle.gyp:jingle_unittests',
1036             '../media/media.gyp:media_unittests',
1037             '../media/midi/midi.gyp:midi_unittests',
1038             '../net/net.gyp:net_unittests',
1039             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1040             '../printing/printing.gyp:printing_unittests',
1041             '../remoting/remoting.gyp:remoting_unittests',
1042             '../skia/skia_tests.gyp:skia_unittests',
1043             '../sql/sql.gyp:sql_unittests',
1044             '../sync/sync.gyp:sync_unit_tests',
1045             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1046             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1047             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1048             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1049             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1050             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1051             '../ui/gl/gl_tests.gyp:gl_unittests',
1052             '../url/url.gyp:url_unittests',
1053           ],
1054         },
1055       ],  # targets
1056     }], # OS="mac"
1057     ['OS=="win"', {
1058       'targets': [
1059         # These targets are here so the build bots can use them to build
1060         # subsets of a full tree for faster cycle times.
1061         {
1062           'target_name': 'chromium_builder',
1063           'type': 'none',
1064           'dependencies': [
1065             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1066             '../cc/cc_tests.gyp:cc_unittests',
1067             '../chrome/chrome.gyp:browser_tests',
1068             '../chrome/chrome.gyp:crash_service',
1069             '../chrome/chrome.gyp:gcapi_test',
1070             '../chrome/chrome.gyp:installer_util_unittests',
1071             '../chrome/chrome.gyp:interactive_ui_tests',
1072             '../chrome/chrome.gyp:performance_browser_tests',
1073             '../chrome/chrome.gyp:sync_integration_tests',
1074             '../chrome/chrome.gyp:unit_tests',
1075             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1076             '../components/components_tests.gyp:components_unittests',
1077             '../content/content_shell_and_tests.gyp:content_browsertests',
1078             '../content/content_shell_and_tests.gyp:content_unittests',
1079             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
1080             # ../chrome/test/mini_installer requires mini_installer.
1081             '../chrome/installer/mini_installer.gyp:mini_installer',
1082             '../courgette/courgette.gyp:courgette_unittests',
1083             '../device/device_tests.gyp:device_unittests',
1084             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1085             '../gpu/gpu.gyp:gpu_unittests',
1086             '../ipc/ipc.gyp:ipc_tests',
1087             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1088             '../jingle/jingle.gyp:jingle_unittests',
1089             '../media/media.gyp:media_unittests',
1090             '../media/midi/midi.gyp:midi_unittests',
1091             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1092             '../printing/printing.gyp:printing_unittests',
1093             '../remoting/remoting.gyp:remoting_unittests',
1094             '../skia/skia_tests.gyp:skia_unittests',
1095             '../sql/sql.gyp:sql_unittests',
1096             '../sync/sync.gyp:sync_unit_tests',
1097             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1098             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1099             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1100             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1101             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
1102             '../tools/telemetry/telemetry.gyp:*',
1103             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1104             '../ui/events/events.gyp:events_unittests',
1105             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1106             '../ui/gl/gl_tests.gyp:gl_unittests',
1107             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1108             '../ui/views/views.gyp:views_unittests',
1109             '../url/url.gyp:url_unittests',
1110           ],
1111           'conditions': [
1112             ['target_arch=="ia32"', {
1113               'dependencies': [
1114                 '../chrome/chrome.gyp:crash_service_win64',
1115               ],
1116             }],
1117           ],
1118         },
1119         {
1120           'target_name': 'chromium_builder_dbg_tsan_win',
1121           'type': 'none',
1122           'dependencies': [
1123             '../base/base.gyp:base_unittests',
1124             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1125             '../components/components_tests.gyp:components_unittests',
1126             '../content/content_shell_and_tests.gyp:content_unittests',
1127             '../crypto/crypto.gyp:crypto_unittests',
1128             '../ipc/ipc.gyp:ipc_tests',
1129             '../jingle/jingle.gyp:jingle_unittests',
1130             '../media/media.gyp:media_unittests',
1131             '../media/midi/midi.gyp:midi_unittests',
1132             '../net/net.gyp:net_unittests',
1133             '../printing/printing.gyp:printing_unittests',
1134             '../remoting/remoting.gyp:remoting_unittests',
1135             '../sql/sql.gyp:sql_unittests',
1136             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1137             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1138             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1139             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1140             '../url/url.gyp:url_unittests',
1141           ],
1142         },
1143         {
1144           'target_name': 'chromium_builder_lkgr_drmemory_win',
1145           'type': 'none',
1146           'dependencies': [
1147             '../components/test_runner/test_runner.gyp:layout_test_helper',
1148             '../content/content_shell_and_tests.gyp:content_shell',
1149             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1150           ],
1151         },
1152         {
1153           'target_name': 'chromium_builder_dbg_drmemory_win',
1154           'type': 'none',
1155           'dependencies': [
1156             '../ash/ash.gyp:ash_shell_unittests',
1157             '../ash/ash.gyp:ash_unittests',
1158             '../base/base.gyp:base_unittests',
1159             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1160             '../cc/cc_tests.gyp:cc_unittests',
1161             '../chrome/chrome.gyp:browser_tests',
1162             '../chrome/chrome.gyp:chrome_app_unittests',
1163             '../chrome/chrome.gyp:chromedriver_unittests',
1164             '../chrome/chrome.gyp:installer_util_unittests',
1165             '../chrome/chrome.gyp:unit_tests',
1166             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
1167             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1168             '../components/components_tests.gyp:components_unittests',
1169             '../components/test_runner/test_runner.gyp:layout_test_helper',
1170             '../content/content_shell_and_tests.gyp:content_browsertests',
1171             '../content/content_shell_and_tests.gyp:content_shell',
1172             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1173             '../content/content_shell_and_tests.gyp:content_unittests',
1174             '../courgette/courgette.gyp:courgette_unittests',
1175             '../crypto/crypto.gyp:crypto_unittests',
1176             '../device/device_tests.gyp:device_unittests',
1177             '../extensions/extensions_tests.gyp:extensions_browsertests',
1178             '../extensions/extensions_tests.gyp:extensions_unittests',
1179             '../gin/gin.gyp:gin_shell',
1180             '../gin/gin.gyp:gin_unittests',
1181             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1182             '../google_apis/google_apis.gyp:google_apis_unittests',
1183             '../gpu/gpu.gyp:angle_unittests',
1184             '../gpu/gpu.gyp:gpu_unittests',
1185             '../ipc/ipc.gyp:ipc_tests',
1186             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1187             '../jingle/jingle.gyp:jingle_unittests',
1188             '../media/cast/cast.gyp:cast_unittests',
1189             '../media/media.gyp:media_unittests',
1190             '../media/midi/midi.gyp:midi_unittests',
1191             '../mojo/mojo.gyp:mojo',
1192             '../net/net.gyp:net_unittests',
1193             '../printing/printing.gyp:printing_unittests',
1194             '../remoting/remoting.gyp:remoting_unittests',
1195             '../skia/skia_tests.gyp:skia_unittests',
1196             '../sql/sql.gyp:sql_unittests',
1197             '../sync/sync.gyp:sync_unit_tests',
1198             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1199             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1200             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1201             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1202             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests',
1203             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests',
1204             '../ui/accessibility/accessibility.gyp:accessibility_unittests',
1205             '../ui/app_list/app_list.gyp:app_list_unittests',
1206             '../ui/aura/aura.gyp:aura_unittests',
1207             '../ui/compositor/compositor.gyp:compositor_unittests',
1208             '../ui/display/display.gyp:display_unittests',
1209             '../ui/events/events.gyp:events_unittests',
1210             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1211             '../ui/gl/gl_tests.gyp:gl_unittests',
1212             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
1213             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1214             '../url/url.gyp:url_unittests',
1215           ],
1216         },
1217       ],  # targets
1218       'conditions': [
1219         ['branding=="Chrome"', {
1220           'targets': [
1221             {
1222               'target_name': 'chrome_official_builder_no_unittests',
1223               'type': 'none',
1224               'dependencies': [
1225                 '../chrome/chrome.gyp:crash_service',
1226                 '../chrome/chrome.gyp:gcapi_dll',
1227                 '../chrome/chrome.gyp:pack_policy_templates',
1228                 '../chrome/installer/mini_installer.gyp:mini_installer',
1229                 '../cloud_print/cloud_print.gyp:cloud_print',
1230                 '../courgette/courgette.gyp:courgette',
1231                 '../courgette/courgette.gyp:courgette64',
1232                 '../remoting/remoting.gyp:remoting_webapp',
1233                 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
1234               ],
1235               'conditions': [
1236                 ['target_arch=="ia32"', {
1237                   'dependencies': [
1238                     '../chrome/chrome.gyp:crash_service_win64',
1239                   ],
1240                 }],
1241                 ['component != "shared_library" and wix_exists == "True" and \
1242                     sas_dll_exists == "True"', {
1243                   'dependencies': [
1244                     '../remoting/remoting.gyp:remoting_host_installation',
1245                   ],
1246                 }], # component != "shared_library"
1247               ]
1248             }, {
1249               'target_name': 'chrome_official_builder',
1250               'type': 'none',
1251               'dependencies': [
1252                 'chrome_official_builder_no_unittests',
1253                 '../base/base.gyp:base_unittests',
1254                 '../chrome/chrome.gyp:browser_tests',
1255                 '../chrome/chrome.gyp:sync_integration_tests',
1256                 '../ipc/ipc.gyp:ipc_tests',
1257                 '../media/media.gyp:media_unittests',
1258                 '../media/midi/midi.gyp:midi_unittests',
1259                 '../net/net.gyp:net_unittests',
1260                 '../printing/printing.gyp:printing_unittests',
1261                 '../sql/sql.gyp:sql_unittests',
1262                 '../sync/sync.gyp:sync_unit_tests',
1263                 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1264                 '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1265                 '../ui/gl/gl_tests.gyp:gl_unittests',
1266                 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1267                 '../ui/views/views.gyp:views_unittests',
1268                 '../url/url.gyp:url_unittests',
1269               ],
1270             },
1271           ], # targets
1272         }], # branding=="Chrome"
1273        ], # conditions
1274     }], # OS="win"
1275     ['use_aura==1', {
1276       'targets': [
1277         {
1278           'target_name': 'aura_builder',
1279           'type': 'none',
1280           'dependencies': [
1281             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1282             '../cc/cc_tests.gyp:cc_unittests',
1283             '../components/components_tests.gyp:components_unittests',
1284             '../content/content_shell_and_tests.gyp:content_browsertests',
1285             '../content/content_shell_and_tests.gyp:content_unittests',
1286             '../device/device_tests.gyp:device_unittests',
1287             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1288             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1289             '../remoting/remoting.gyp:remoting_unittests',
1290             '../skia/skia_tests.gyp:skia_unittests',
1291             '../ui/app_list/app_list.gyp:*',
1292             '../ui/aura/aura.gyp:*',
1293             '../ui/aura_extra/aura_extra.gyp:*',
1294             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1295             '../ui/compositor/compositor.gyp:*',
1296             '../ui/display/display.gyp:display_unittests',
1297             '../ui/events/events.gyp:*',
1298             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1299             '../ui/gl/gl_tests.gyp:gl_unittests',
1300             '../ui/keyboard/keyboard.gyp:*',
1301             '../ui/snapshot/snapshot.gyp:snapshot_unittests',
1302             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1303             '../ui/wm/wm.gyp:*',
1304             'blink_tests',
1305           ],
1306           'conditions': [
1307             ['OS=="win"', {
1308               'dependencies': [
1309                 '../chrome/chrome.gyp:crash_service',
1310               ],
1311             }],
1312             ['OS=="win" and target_arch=="ia32"', {
1313               'dependencies': [
1314                 '../chrome/chrome.gyp:crash_service_win64',
1315               ],
1316             }],
1317             ['use_ash==1', {
1318               'dependencies': [
1319                 '../ash/ash.gyp:ash_shell',
1320                 '../ash/ash.gyp:ash_unittests',
1321               ],
1322             }],
1323             ['OS=="linux"', {
1324               # Tests that currently only work on Linux.
1325               'dependencies': [
1326                 '../base/base.gyp:base_unittests',
1327                 '../ipc/ipc.gyp:ipc_tests',
1328                 '../sql/sql.gyp:sql_unittests',
1329                 '../sync/sync.gyp:sync_unit_tests',
1330               ],
1331             }],
1332             ['chromeos==1', {
1333               'dependencies': [
1334                 '../chromeos/chromeos.gyp:chromeos_unittests',
1335                 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
1336               ],
1337             }],
1338             ['use_ozone==1', {
1339               'dependencies': [
1340                 '../ui/ozone/ozone.gyp:*',
1341                 '../ui/ozone/demo/ozone_demos.gyp:*',
1342               ],
1343             }],
1344             ['chromecast==0', {
1345               'dependencies': [
1346                 '../chrome/chrome.gyp:browser_tests',
1347                 '../chrome/chrome.gyp:chrome',
1348                 '../chrome/chrome.gyp:interactive_ui_tests',
1349                 '../chrome/chrome.gyp:unit_tests',
1350                 '../ui/message_center/message_center.gyp:*',
1351                 '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1352                 '../ui/views/views.gyp:views',
1353                 '../ui/views/views.gyp:views_unittests',
1354               ],
1355             }],
1356           ],
1357         },
1358       ],  # targets
1359     }], # "use_aura==1"
1360     ['test_isolation_mode != "noop"', {
1361       'targets': [
1362         {
1363           'target_name': 'chromium_swarm_tests',
1364           'type': 'none',
1365           'dependencies': [
1366             '../base/base.gyp:base_unittests_run',
1367             '../content/content_shell_and_tests.gyp:content_browsertests_run',
1368             '../content/content_shell_and_tests.gyp:content_unittests_run',
1369             '../net/net.gyp:net_unittests_run',
1370           ],
1371           'conditions': [
1372             ['chromecast==0', {
1373               'dependencies': [
1374                 '../chrome/chrome.gyp:browser_tests_run',
1375                 '../chrome/chrome.gyp:interactive_ui_tests_run',
1376                 '../chrome/chrome.gyp:sync_integration_tests_run',
1377                 '../chrome/chrome.gyp:unit_tests_run',
1378               ],
1379             }],
1380           ],
1381         }, # target_name: chromium_swarm_tests
1382       ],
1383     }],
1384     ['archive_chromoting_tests==1', {
1385       'targets': [
1386         {
1387           'target_name': 'chromoting_swarm_tests',
1388           'type': 'none',
1389           'dependencies': [
1390             '../testing/chromoting/integration_tests.gyp:chromoting_integration_tests_run',
1391           ],
1392         }, # target_name: chromoting_swarm_tests
1393       ]
1394     }],
1395     ['OS=="mac" and toolkit_views==1', {
1396       'targets': [
1397         {
1398           'target_name': 'macviews_builder',
1399           'type': 'none',
1400           'dependencies': [
1401             '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1402             '../ui/views/views.gyp:views',
1403             '../ui/views/views.gyp:views_unittests',
1404           ],
1405         },  # target_name: macviews_builder
1406       ],  # targets
1407     }],  # os=='mac' and toolkit_views==1
1408   ],  # conditions