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