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