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