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