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