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