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