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