Revert of Exlucde flaky TouchExplorationTest on valgrind bots. (patchset #1 id:1...
[chromium-blink-merge.git] / build / all.gyp
blob17958a02238eec0c91decec6410982f3a7b66fe4
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/ios/ui_ios_tests.gyp:ui_ios_unittests',
70             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
71           ],
72         }],
73         ['OS=="android"', {
74           'dependencies': [
75             '../content/content_shell_and_tests.gyp:content_shell_apk',
76             '<@(android_app_targets)',
77             'android_builder_tests',
78             '../android_webview/android_webview.gyp:android_webview_apk',
79             '../android_webview/android_webview.gyp:system_webview_apk',
80             '../android_webview/android_webview_telemetry_shell.gyp:android_webview_telemetry_shell_apk',
81             '../chrome/chrome.gyp:chrome_shell_apk',
82             '../chrome/chrome.gyp:chrome_sync_shell_apk',
83             '../remoting/remoting.gyp:remoting_apk',
84             '../tools/telemetry/telemetry.gyp:*#host',
85             # TODO(nyquist) This should instead by a target for sync when all of
86             # the sync-related code for Android has been upstreamed.
87             # See http://crbug.com/159203
88             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_javalib',
89           ],
90           'conditions': [
91             ['target_arch == "arm" or target_arch == "arm64"', {
92               'dependencies': [
93                 # The relocation packer only works on ARM or ARM64.
94                 '../tools/relocation_packer/relocation_packer.gyp:relocation_packer_unittests#host',
95               ],
96             }],
97           ],
98         }, {
99           'dependencies': [
100             '../content/content_shell_and_tests.gyp:*',
101             # TODO: This should build on Android and the target should move to the list above.
102             '../sync/sync.gyp:*',
103           ],
104         }],
105         ['OS!="ios" and OS!="android"', {
106           'dependencies': [
107             '../third_party/re2/re2.gyp:re2',
108             '../chrome/chrome.gyp:*',
109             '../chrome/tools/profile_reset/jtl_compiler.gyp:*',
110             '../cc/blink/cc_blink_tests.gyp:*',
111             '../cc/cc_tests.gyp:*',
112             '../device/bluetooth/bluetooth.gyp:*',
113             '../device/device_tests.gyp:*',
114             '../device/usb/usb.gyp:*',
115             '../gin/gin.gyp:*',
116             '../gpu/gpu.gyp:*',
117             '../gpu/tools/tools.gyp:*',
118             '../ipc/ipc.gyp:*',
119             '../ipc/mojo/ipc_mojo.gyp:*',
120             '../jingle/jingle.gyp:*',
121             '../media/cast/cast.gyp:*',
122             '../media/media.gyp:*',
123             '../mojo/mojo.gyp:*',
124             '../mojo/mojo_base.gyp:*',
125             '../ppapi/ppapi.gyp:*',
126             '../ppapi/ppapi_internal.gyp:*',
127             '../ppapi/tools/ppapi_tools.gyp:*',
128             '../printing/printing.gyp:*',
129             '../skia/skia.gyp:*',
130             '../sync/tools/sync_tools.gyp:*',
131             '../third_party/WebKit/public/all.gyp:*',
132             '../third_party/cacheinvalidation/cacheinvalidation.gyp:*',
133             '../third_party/codesighs/codesighs.gyp:*',
134             '../third_party/ffmpeg/ffmpeg.gyp:*',
135             '../third_party/iccjpeg/iccjpeg.gyp:*',
136             '../third_party/libpng/libpng.gyp:*',
137             '../third_party/libusb/libusb.gyp:*',
138             '../third_party/libwebp/libwebp.gyp:*',
139             '../third_party/libxslt/libxslt.gyp:*',
140             '../third_party/lzma_sdk/lzma_sdk.gyp:*',
141             '../third_party/mesa/mesa.gyp:*',
142             '../third_party/modp_b64/modp_b64.gyp:*',
143             '../third_party/npapi/npapi.gyp:*',
144             '../third_party/ots/ots.gyp:*',
145             '../third_party/pdfium/samples/samples.gyp:*',
146             '../third_party/qcms/qcms.gyp:*',
147             '../tools/gn/gn.gyp:*',
148             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
149             '../tools/telemetry/telemetry.gyp:*',
150             '../v8/tools/gyp/v8.gyp:*',
151             '<(libjpeg_gyp_path):*',
152           ],
153         }],
154         ['use_openssl==0 and (OS=="mac" or OS=="ios" or OS=="win")', {
155           'dependencies': [
156             '../third_party/nss/nss.gyp:*',
157            ],
158         }],
159         ['OS=="win" or OS=="ios" or OS=="linux"', {
160           'dependencies': [
161             '../breakpad/breakpad.gyp:*',
162            ],
163         }],
164         ['OS=="mac"', {
165           'dependencies': [
166             '../sandbox/sandbox.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     ['OS!="ios"', {
471       'targets': [
472         {
473           'target_name': 'blink_tests',
474           'type': 'none',
475           'dependencies': [
476             '../third_party/WebKit/public/all.gyp:all_blink',
477           ],
478           'conditions': [
479             ['OS=="android"', {
480               'dependencies': [
481                 '../content/content_shell_and_tests.gyp:content_shell_apk',
482                 '../breakpad/breakpad.gyp:dump_syms#host',
483                 '../breakpad/breakpad.gyp:minidump_stackwalk#host',
484               ],
485             }, {  # OS!="android"
486               'dependencies': [
487                 '../content/content_shell_and_tests.gyp:content_shell',
488               ],
489             }],
490             ['OS=="win"', {
491               'dependencies': [
492                 '../content/content_shell_and_tests.gyp:content_shell_crash_service',
493                 '../content/content_shell_and_tests.gyp:layout_test_helper',
494               ],
495             }],
496             ['OS!="win" and OS!="android"', {
497               'dependencies': [
498                 '../breakpad/breakpad.gyp:minidump_stackwalk',
499               ],
500             }],
501             ['OS=="mac"', {
502               'dependencies': [
503                 '../breakpad/breakpad.gyp:dump_syms#host',
504                 '../content/content_shell_and_tests.gyp:layout_test_helper',
505               ],
506             }],
507             ['OS=="linux"', {
508               'dependencies': [
509                 '../breakpad/breakpad.gyp:dump_syms',
510               ],
511             }],
512           ],
513         }, # target_name: blink_tests
514       ],
515     }], # OS!=ios
516     ['OS!="ios" and OS!="android"', {
517       'targets': [
518         {
519           # TODO(GYP) - make gyp_all and gn_all work on iOS and Android also.
520           'target_name': 'gyp_all',
521           'type': 'none',
522           'dependencies': [
523             ':gn_all',
524             '../chrome/chrome.gyp:chromedriver_unittests',
525             '../components/components_tests.gyp:components_browsertests',
526             # '../components/nacl.gyp:nacl_loader_unittests',  # TODO(GYP)
527             # '../remoting/remoting.gyp:remoting_unittests',  # TODO(GYP)
528             '../ui/compositor/compositor.gyp:compositor_unittests',
529           ],
530           'conditions': [
531             ['OS!="android"', {
532               'dependencies': [
533                 # '../device/device_tests.gyp:device_unittests',  # TODO(GYP)
534                 # '../google_apis/google_apis.gyp:google_apis_unittests',  # TODO(GYP)
535               ],
536             }],
537           ],
538         },
539         {
540           'target_name': 'gn_all',
541           'type': 'none',
543           'dependencies': [
544             '../base/base.gyp:base_unittests',
545             '../cc/cc_tests.gyp:cc_unittests',
546             '../chrome/chrome.gyp:chrome',
547             '../chrome/chrome.gyp:browser_tests',
548             '../chrome/chrome.gyp:interactive_ui_tests',
549             '../chrome/chrome.gyp:sync_integration_tests',
550             '../chrome/chrome.gyp:unit_tests',
551             '../components/components_tests.gyp:components_unittests',
552             '../content/content_shell_and_tests.gyp:content_shell',
553             '../content/content_shell_and_tests.gyp:content_browsertests',
554             '../content/content_shell_and_tests.gyp:content_perftests',
555             '../content/content_shell_and_tests.gyp:content_unittests',
556             '../crypto/crypto.gyp:crypto_unittests',
557             '../extensions/extensions_tests.gyp:extensions_browsertests',
558             '../extensions/extensions_tests.gyp:extensions_unittests',
559             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
560             '../gpu/gpu.gyp:gpu_unittests',
561             '../ipc/ipc.gyp:ipc_tests',
562             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
563             '../jingle/jingle.gyp:jingle_unittests',
564             '../media/media.gyp:media_unittests',
565             '../media/cast/cast.gyp:cast_unittests',
566             '../mojo/mojo.gyp:mojo',
567             '../mojo/mojo_base.gyp:mojo_common_unittests',
568             '../net/net.gyp:net_unittests',
569             '../ppapi/ppapi_internal.gyp:ppapi_tests',
570             '../printing/printing.gyp:printing_unittests',
571             '../sql/sql.gyp:sql_unittests',
572             '../skia/skia_tests.gyp:skia_unittests',
573             '../sync/sync.gyp:sync_unit_tests',
575             # TODO(GYP): the Blink test targets should be public, but
576             # currently aren't. all_blink puls them in, though
577             # "//third_party/WebKit/Source/platform:heap_unittests",
578             # "//third_party/WebKit/Source/platform:platform_unittests",
579             # "//third_party/WebKit/Source/wtf:wtf_unittests",
580             '../third_party/WebKit/public/all.gyp:all_blink',
582             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
584             # TODO(GYP): Needed only w/ cld_version==1. What configs set that?
585             '../third_party/cld/cld.gyp:cld',
587             # TODO(GYP): This is needed only w/ use_system_fontconfig==0. What configs set that?
588             #'../third_party/fontconfig/fontconfig.gyp:fontconfig',
590             # TODO(GYP): This will be pulled in automatically when enable_webrtc==true.
591             # For now pull it in manually so that it doesn't regress.
592             '../third_party/libsrtp/libsrtp.gyp:libsrtp',
594             '../third_party/mojo/mojo_edk_tests.gyp:mojo_system_unittests',
595             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests',
596             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_environment_unittests',
597             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_perftests',
598             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_system_unittests',
599             '../third_party/mojo/mojo_edk_tests.gyp:mojo_public_utility_unittests',
600             '../third_party/pdfium/samples/samples.gyp:pdfium_test',
602             # TODO(GYP): Verify that this is no longer needed.
603             '../third_party/smhasher/smhasher.gyp:pmurhash',
605             # TODO(GYP): This will be pulled in automatically when enable_webrtc==true.
606             # For now pull it in manually so that it doesn't regress.
607             '../third_party/usrsctp/usrsctp.gyp:usrsctplib',
609             '../tools/gn/gn.gyp:gn',
610             '../tools/gn/gn.gyp:gn_unittests',
611             '../ui/accessibility/accessibility.gyp:accessibility_unittests',
612             '../ui/app_list/app_list.gyp:app_list_unittests',
613             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
614             '../ui/display/display.gyp:display_unittests',
615             '../ui/events/events.gyp:events_unittests',
616             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
617             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
618             '../url/url.gyp:url_unittests',
619           ],
620           'conditions': [
621             ['OS!="win"', {
622               'dependencies': [
623                 '../breakpad/breakpad.gyp:symupload',
624               ],
625             }],
626             ['use_x11==1', {
627               'dependencies': [
628                 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
629               ],
630             }],
631             ['toolkit_views==1', {
632               'dependencies': [
633                 '../ui/views/views.gyp:views_unittests',
634               ],
635             }],
636             ['use_aura==1', {
637               'dependencies': [
638                 '../ui/wm/wm.gyp:wm_unittests',
639               ],
640             }],
641             ['use_ozone==1', {
642               'dependencies': [
643                 '../ui/ozone/ozone.gyp:ozone',
644               ],
645             }],
646             ['OS=="win" or OS=="mac" or OS=="android"', {
647               'dependencies': [
648                 '../rlz/rlz.gyp:rlz_lib',
649               ],
650             }],
651             ['OS=="android"', {
652               'dependencies': [
653                 '../chrome/chrome.gyp:chrome_shell_apk',
654                 '../content/content_shell_and_tests.gyp:content_shell_apk',
655               ],
656               'dependencies!': [
657                 '../url/url.gyp:url_unittests',
658               ],
659             }],
660             ['OS=="linux"', {
661               'dependencies': [
662                 '../dbus/dbus.gyp:dbus_unittests',
663                 '../sandbox/sandbox.gyp:sandbox_linux_unittests',
664               ],
665             }],
666           ],
667         },
668         {
669           'target_name': 'chromium_builder_nacl_win_integration',
670           'type': 'none',
671           'dependencies': [
672             'chromium_builder_tests',
673           ],
674         }, # target_name: chromium_builder_nacl_win_integration
675         {
676           'target_name': 'chromium_builder_perf',
677           'type': 'none',
678           'dependencies': [
679             '../cc/cc_tests.gyp:cc_perftests',
680             '../chrome/chrome.gyp:chrome',
681             '../chrome/chrome.gyp:load_library_perf_tests',
682             '../chrome/chrome.gyp:performance_browser_tests',
683             '../chrome/chrome.gyp:sync_performance_tests',
684             '../content/content_shell_and_tests.gyp:content_shell',
685             '../media/media.gyp:media_perftests',
686             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
687             '../tools/telemetry/telemetry.gyp:*',
688           ],
689           'conditions': [
690             ['OS!="ios" and OS!="win"', {
691               'dependencies': [
692                 '../breakpad/breakpad.gyp:minidump_stackwalk',
693               ],
694             }],
695             ['OS=="linux"', {
696               'dependencies': [
697                 '../chrome/chrome.gyp:linux_symbols'
698               ],
699             }],
700             ['OS=="win"', {
701               'dependencies': [
702                 '../chrome/chrome.gyp:crash_service',
703               ],
704             }],
705             ['OS=="win" and target_arch=="ia32"', {
706               'dependencies': [
707                 '../chrome/chrome.gyp:crash_service_win64',
708               ],
709             }],
710           ],
711         }, # target_name: chromium_builder_perf
712         {
713           'target_name': 'chromium_gpu_builder',
714           'type': 'none',
715           'dependencies': [
716             '../chrome/chrome.gyp:chrome',
717             '../chrome/chrome.gyp:performance_browser_tests',
718             '../content/content_shell_and_tests.gyp:content_browsertests',
719             '../content/content_shell_and_tests.gyp:content_gl_tests',
720             '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
721             '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
722             '../gpu/gpu.gyp:gl_tests',
723             '../gpu/gpu.gyp:angle_unittests',
724             '../gpu/gpu.gyp:gpu_unittests',
725             '../tools/telemetry/telemetry.gyp:*',
726           ],
727           'conditions': [
728             ['OS!="ios" and OS!="win"', {
729               'dependencies': [
730                 '../breakpad/breakpad.gyp:minidump_stackwalk',
731               ],
732             }],
733             ['OS=="linux"', {
734               'dependencies': [
735                 '../chrome/chrome.gyp:linux_symbols'
736               ],
737             }],
738             ['OS=="win"', {
739               'dependencies': [
740                 '../chrome/chrome.gyp:crash_service',
741               ],
742             }],
743             ['OS=="win" and target_arch=="ia32"', {
744               'dependencies': [
745                 '../chrome/chrome.gyp:crash_service_win64',
746               ],
747             }],
748           ],
749         }, # target_name: chromium_gpu_builder
750         {
751           'target_name': 'chromium_gpu_debug_builder',
752           'type': 'none',
753           'dependencies': [
754             '../chrome/chrome.gyp:chrome',
755             '../content/content_shell_and_tests.gyp:content_browsertests',
756             '../content/content_shell_and_tests.gyp:content_gl_tests',
757             '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
758             '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test',
759             '../gpu/gpu.gyp:gl_tests',
760             '../gpu/gpu.gyp:angle_unittests',
761             '../gpu/gpu.gyp:gpu_unittests',
762             '../tools/telemetry/telemetry.gyp:*',
763           ],
764           'conditions': [
765             ['OS!="ios" and OS!="win"', {
766               'dependencies': [
767                 '../breakpad/breakpad.gyp:minidump_stackwalk',
768               ],
769             }],
770             ['OS=="linux"', {
771               'dependencies': [
772                 '../chrome/chrome.gyp:linux_symbols'
773               ],
774             }],
775             ['OS=="win"', {
776               'dependencies': [
777                 '../chrome/chrome.gyp:crash_service',
778               ],
779             }],
780             ['OS=="win" and target_arch=="ia32"', {
781               'dependencies': [
782                 '../chrome/chrome.gyp:crash_service_win64',
783               ],
784             }],
785           ],
786         }, # target_name: chromium_gpu_debug_builder
787         {
788           'target_name': 'chromium_builder_perf_av',
789           'type': 'none',
790           'dependencies': [
791             'blink_tests', # to run layout tests
792           ],
793         },  # target_name: chromium_builder_perf_av
794         {
795           # This target contains everything we need to run tests on the special
796           # device-equipped WebRTC bots. We have device-requiring tests in
797           # browser_tests and content_browsertests.
798           'target_name': 'chromium_builder_webrtc',
799           'type': 'none',
800           'dependencies': [
801             'chromium_builder_perf',
802             '../chrome/chrome.gyp:browser_tests',
803             '../content/content_shell_and_tests.gyp:content_browsertests',
804             '../content/content_shell_and_tests.gyp:content_unittests',
805             '../media/media.gyp:media_unittests',
806             '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
807             '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
808           ],
809           'conditions': [
810             ['remoting==1', {
811               'dependencies': [
812                 '../remoting/remoting.gyp:*',
813               ],
814             }],
815           ],
816         },  # target_name: chromium_builder_webrtc
817         {
818           'target_name': 'chromium_builder_chromedriver',
819           'type': 'none',
820           'dependencies': [
821             '../chrome/chrome.gyp:chromedriver',
822             '../chrome/chrome.gyp:chromedriver_tests',
823             '../chrome/chrome.gyp:chromedriver_unittests',
824           ],
825         },  # target_name: chromium_builder_chromedriver
826         {
827           'target_name': 'chromium_builder_asan',
828           'type': 'none',
829           'dependencies': [
830             '../chrome/chrome.gyp:chrome',
832             # We refer to content_shell directly rather than blink_tests
833             # because we don't want the _unittests binaries.
834             '../content/content_shell_and_tests.gyp:content_shell',
835           ],
836           'conditions': [
837             ['OS!="win"', {
838               'dependencies': [
839                 '../net/net.gyp:hpack_fuzz_wrapper',
840                 '../net/net.gyp:dns_fuzz_stub',
841                 '../skia/skia.gyp:filter_fuzz_stub',
842               ],
843             }],
844             ['enable_ipc_fuzzer==1 and component!="shared_library" and '
845                  '(OS=="linux" or OS=="win")', {
846               'dependencies': [
847                 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
848               ],
849             }],
850             ['chromeos==0', {
851               'dependencies': [
852                 '../v8/src/d8.gyp:d8#host',
853                 '../third_party/pdfium/samples/samples.gyp:pdfium_test',
854               ],
855             }],
856             ['internal_filter_fuzzer==1', {
857               'dependencies': [
858                 '../skia/tools/clusterfuzz-data/fuzzers/filter_fuzzer/filter_fuzzer.gyp:filter_fuzzer',
859               ],
860             }], # internal_filter_fuzzer
861             ['clang==1', {
862               'dependencies': [
863                 'sanitizers/sanitizers.gyp:llvm-symbolizer',
864               ],
865             }],
866             ['OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1', {
867               'dependencies': [
868                 '../chrome/chrome_syzygy.gyp:chrome_dll_syzygy',
869                 '../content/content_shell_and_tests.gyp:content_shell_syzyasan',
870               ],
871               'conditions': [
872                 ['chrome_multiple_dll==1', {
873                   'dependencies': [
874                     '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
875                   ],
876                 }],
877               ],
878             }],
879           ],
880         },
881         {
882           'target_name': 'chromium_builder_nacl_sdk',
883           'type': 'none',
884           'dependencies': [
885             '../chrome/chrome.gyp:chrome',
886           ],
887           'conditions': [
888             ['OS=="win"', {
889               'dependencies': [
890                 '../chrome/chrome.gyp:chrome_nacl_win64',
891               ]
892             }],
893           ],
894         },  #target_name: chromium_builder_nacl_sdk
895       ],  # targets
896     }], #OS!=ios and OS!=android
897     ['OS=="android"', {
898       'targets': [
899         {
900           # The current list of tests for android.  This is temporary
901           # until the full set supported.  If adding a new test here,
902           # please also add it to build/android/pylib/gtest/gtest_config.py,
903           # else the test is not run.
904           #
905           # WARNING:
906           # Do not add targets here without communicating the implications
907           # on tryserver triggers and load.  Discuss with
908           # chrome-infrastructure-team please.
909           'target_name': 'android_builder_tests',
910           'type': 'none',
911           'dependencies': [
912             '../android_webview/android_webview.gyp:android_webview_unittests',
913             '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
914             '../base/base.gyp:base_unittests',
915             '../breakpad/breakpad.gyp:breakpad_unittests_deps',
916             # Also compile the tools needed to deal with minidumps, they are
917             # needed to run minidump tests upstream.
918             '../breakpad/breakpad.gyp:dump_syms#host',
919             '../breakpad/breakpad.gyp:symupload#host',
920             '../breakpad/breakpad.gyp:minidump_dump#host',
921             '../breakpad/breakpad.gyp:minidump_stackwalk#host',
922             '../build/android/tests/multiple_proguards/multiple_proguards.gyp:multiple_proguards_test_apk',
923             '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
924             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
925             '../cc/cc_tests.gyp:cc_perftests_apk',
926             '../cc/cc_tests.gyp:cc_unittests',
927             '../chrome/chrome.gyp:unit_tests',
928             '../components/components_tests.gyp:components_unittests',
929             '../content/content_shell_and_tests.gyp:content_browsertests',
930             '../content/content_shell_and_tests.gyp:content_gl_tests',
931             '../content/content_shell_and_tests.gyp:chromium_linker_test_apk',
932             '../content/content_shell_and_tests.gyp:content_shell_test_apk',
933             '../content/content_shell_and_tests.gyp:content_unittests',
934             '../gpu/gpu.gyp:gl_tests',
935             '../gpu/gpu.gyp:gpu_unittests',
936             '../ipc/ipc.gyp:ipc_tests',
937             '../media/media.gyp:media_perftests_apk',
938             '../media/media.gyp:media_unittests',
939             '../net/net.gyp:net_unittests',
940             '../sandbox/sandbox.gyp:sandbox_linux_unittests_deps',
941             '../skia/skia_tests.gyp:skia_unittests',
942             '../sql/sql.gyp:sql_unittests',
943             '../sync/sync.gyp:sync_unit_tests',
944             '../testing/android/junit/junit_test.gyp:junit_unit_tests',
945             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
946             '../third_party/WebKit/public/all.gyp:*',
947             '../tools/android/android_tools.gyp:android_tools',
948             '../tools/android/android_tools.gyp:memconsumer',
949             '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
950             '../ui/android/ui_android.gyp:ui_android_unittests',
951             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
952             '../ui/events/events.gyp:events_unittests',
953             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
954             # Unit test bundles packaged as an apk.
955             '../android_webview/android_webview.gyp:android_webview_test_apk',
956             '../android_webview/android_webview.gyp:android_webview_unittests_apk',
957             '../base/base.gyp:base_unittests_apk',
958             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk',
959             '../cc/cc_tests.gyp:cc_unittests_apk',
960             '../chrome/chrome.gyp:chrome_shell_test_apk',
961             '../chrome/chrome.gyp:chrome_sync_shell_test_apk',
962             '../chrome/chrome.gyp:chrome_shell_uiautomator_tests',
963             '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
964             '../chrome/chrome.gyp:unit_tests_apk',
965             '../components/components_tests.gyp:components_unittests_apk',
966             '../content/content_shell_and_tests.gyp:content_browsertests_apk',
967             '../content/content_shell_and_tests.gyp:content_gl_tests_apk',
968             '../content/content_shell_and_tests.gyp:content_unittests_apk',
969             '../content/content_shell_and_tests.gyp:video_decode_accelerator_unittest_apk',
970             '../gpu/gpu.gyp:gl_tests_apk',
971             '../gpu/gpu.gyp:gpu_unittests_apk',
972             '../ipc/ipc.gyp:ipc_tests_apk',
973             '../media/media.gyp:media_unittests_apk',
974             '../net/net.gyp:net_unittests_apk',
975             '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
976             '../skia/skia_tests.gyp:skia_unittests_apk',
977             '../sql/sql.gyp:sql_unittests_apk',
978             '../sync/sync.gyp:sync_unit_tests_apk',
979             '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unittests_apk',
980             '../ui/android/ui_android.gyp:ui_android_unittests_apk',
981             '../ui/base/ui_base_tests.gyp:ui_base_unittests_apk',
982             '../ui/events/events.gyp:events_unittests_apk',
983             '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk',
984             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_apk',
985           ],
986           'conditions': [
987             ['enable_webrtc==1 and "<(libpeer_target_type)"=="static_library"', {
988               'dependencies': [
989                 '../components/devtools_bridge.gyp:devtools_bridge_tests_apk',
990               ],
991             }],
992           ],
993         },
994         {
995           # WebRTC Chromium tests to run on Android.
996           'target_name': 'android_builder_chromium_webrtc',
997           'type': 'none',
998           'dependencies': [
999             '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
1000             '../content/content_shell_and_tests.gyp:content_browsertests',
1001             '../tools/android/android_tools.gyp:android_tools',
1002             '../tools/android/android_tools.gyp:memconsumer',
1003             # Unit test bundles packaged as an apk.
1004             '../components/devtools_bridge.gyp:devtools_bridge_tests_apk',
1005             '../content/content_shell_and_tests.gyp:content_browsertests_apk',
1006           ],
1007         },  # target_name: android_builder_chromium_webrtc
1008       ], # targets
1009     }], # OS="android"
1010     ['OS=="mac"', {
1011       'targets': [
1012         {
1013           # Target to build everything plus the dmg.  We don't put the dmg
1014           # in the All target because developers really don't need it.
1015           'target_name': 'all_and_dmg',
1016           'type': 'none',
1017           'dependencies': [
1018             'All',
1019             '../chrome/chrome.gyp:build_app_dmg',
1020           ],
1021         },
1022         # These targets are here so the build bots can use them to build
1023         # subsets of a full tree for faster cycle times.
1024         {
1025           'target_name': 'chromium_builder_dbg',
1026           'type': 'none',
1027           'dependencies': [
1028             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1029             '../cc/cc_tests.gyp:cc_unittests',
1030             '../chrome/chrome.gyp:browser_tests',
1031             '../chrome/chrome.gyp:interactive_ui_tests',
1032             '../chrome/chrome.gyp:sync_integration_tests',
1033             '../chrome/chrome.gyp:unit_tests',
1034             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1035             '../components/components_tests.gyp:components_unittests',
1036             '../content/content_shell_and_tests.gyp:content_browsertests',
1037             '../content/content_shell_and_tests.gyp:content_unittests',
1038             '../device/device_tests.gyp:device_unittests',
1039             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1040             '../gpu/gpu.gyp:gpu_unittests',
1041             '../ipc/ipc.gyp:ipc_tests',
1042             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1043             '../jingle/jingle.gyp:jingle_unittests',
1044             '../media/media.gyp:media_unittests',
1045             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1046             '../printing/printing.gyp:printing_unittests',
1047             '../remoting/remoting.gyp:remoting_unittests',
1048             '../rlz/rlz.gyp:*',
1049             '../skia/skia_tests.gyp:skia_unittests',
1050             '../sql/sql.gyp:sql_unittests',
1051             '../sync/sync.gyp:sync_unit_tests',
1052             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1053             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1054             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1055             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1056             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
1057             '../tools/telemetry/telemetry.gyp:*',
1058             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1059             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1060             '../url/url.gyp:url_unittests',
1061           ],
1062         },
1063         {
1064           'target_name': 'chromium_builder_rel',
1065           'type': 'none',
1066           'dependencies': [
1067             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1068             '../cc/cc_tests.gyp:cc_unittests',
1069             '../chrome/chrome.gyp:browser_tests',
1070             '../chrome/chrome.gyp:performance_browser_tests',
1071             '../chrome/chrome.gyp:sync_integration_tests',
1072             '../chrome/chrome.gyp:unit_tests',
1073             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1074             '../components/components_tests.gyp:components_unittests',
1075             '../content/content_shell_and_tests.gyp:content_browsertests',
1076             '../content/content_shell_and_tests.gyp:content_unittests',
1077             '../device/device_tests.gyp:device_unittests',
1078             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1079             '../gpu/gpu.gyp:gpu_unittests',
1080             '../ipc/ipc.gyp:ipc_tests',
1081             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1082             '../jingle/jingle.gyp:jingle_unittests',
1083             '../media/media.gyp:media_unittests',
1084             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1085             '../printing/printing.gyp:printing_unittests',
1086             '../remoting/remoting.gyp:remoting_unittests',
1087             '../skia/skia_tests.gyp:skia_unittests',
1088             '../sql/sql.gyp:sql_unittests',
1089             '../sync/sync.gyp:sync_unit_tests',
1090             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1091             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1092             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1093             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1094             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
1095             '../tools/telemetry/telemetry.gyp:*',
1096             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1097             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1098             '../url/url.gyp:url_unittests',
1099           ],
1100         },
1101         {
1102           'target_name': 'chromium_builder_dbg_tsan_mac',
1103           'type': 'none',
1104           'dependencies': [
1105             '../base/base.gyp:base_unittests',
1106             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1107             '../crypto/crypto.gyp:crypto_unittests',
1108             '../ipc/ipc.gyp:ipc_tests',
1109             '../jingle/jingle.gyp:jingle_unittests',
1110             '../media/media.gyp:media_unittests',
1111             '../net/net.gyp:net_unittests',
1112             '../printing/printing.gyp:printing_unittests',
1113             '../remoting/remoting.gyp:remoting_unittests',
1114             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1115             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1116             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1117             '../url/url.gyp:url_unittests',
1118           ],
1119         },
1120         {
1121           'target_name': 'chromium_builder_dbg_valgrind_mac',
1122           'type': 'none',
1123           'dependencies': [
1124             '../base/base.gyp:base_unittests',
1125             '../chrome/chrome.gyp:unit_tests',
1126             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1127             '../components/components_tests.gyp:components_unittests',
1128             '../content/content_shell_and_tests.gyp:content_unittests',
1129             '../crypto/crypto.gyp:crypto_unittests',
1130             '../device/device_tests.gyp:device_unittests',
1131             '../ipc/ipc.gyp:ipc_tests',
1132             '../jingle/jingle.gyp:jingle_unittests',
1133             '../media/media.gyp:media_unittests',
1134             '../net/net.gyp:net_unittests',
1135             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1136             '../printing/printing.gyp:printing_unittests',
1137             '../remoting/remoting.gyp:remoting_unittests',
1138             '../skia/skia_tests.gyp:skia_unittests',
1139             '../sql/sql.gyp:sql_unittests',
1140             '../sync/sync.gyp:sync_unit_tests',
1141             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1142             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1143             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1144             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1145             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1146             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1147             '../url/url.gyp:url_unittests',
1148           ],
1149         },
1150       ],  # targets
1151     }], # OS="mac"
1152     ['OS=="win"', {
1153       'targets': [
1154         # These targets are here so the build bots can use them to build
1155         # subsets of a full tree for faster cycle times.
1156         {
1157           'target_name': 'chromium_builder',
1158           'type': 'none',
1159           'dependencies': [
1160             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1161             '../cc/cc_tests.gyp:cc_unittests',
1162             '../chrome/chrome.gyp:browser_tests',
1163             '../chrome/chrome.gyp:crash_service',
1164             '../chrome/chrome.gyp:gcapi_test',
1165             '../chrome/chrome.gyp:installer_util_unittests',
1166             '../chrome/chrome.gyp:interactive_ui_tests',
1167             '../chrome/chrome.gyp:performance_browser_tests',
1168             '../chrome/chrome.gyp:sync_integration_tests',
1169             '../chrome/chrome.gyp:unit_tests',
1170             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1171             '../components/components_tests.gyp:components_unittests',
1172             '../content/content_shell_and_tests.gyp:content_browsertests',
1173             '../content/content_shell_and_tests.gyp:content_unittests',
1174             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
1175             # ../chrome/test/mini_installer requires mini_installer.
1176             '../chrome/installer/mini_installer.gyp:mini_installer',
1177             '../courgette/courgette.gyp:courgette_unittests',
1178             '../device/device_tests.gyp:device_unittests',
1179             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1180             '../gpu/gpu.gyp:gpu_unittests',
1181             '../ipc/ipc.gyp:ipc_tests',
1182             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1183             '../jingle/jingle.gyp:jingle_unittests',
1184             '../media/media.gyp:media_unittests',
1185             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1186             '../printing/printing.gyp:printing_unittests',
1187             '../remoting/remoting.gyp:remoting_unittests',
1188             '../skia/skia_tests.gyp:skia_unittests',
1189             '../sql/sql.gyp:sql_unittests',
1190             '../sync/sync.gyp:sync_unit_tests',
1191             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1192             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1193             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1194             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1195             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
1196             '../tools/telemetry/telemetry.gyp:*',
1197             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1198             '../ui/events/events.gyp:events_unittests',
1199             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1200             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1201             '../ui/views/views.gyp:views_unittests',
1202             '../url/url.gyp:url_unittests',
1203           ],
1204           'conditions': [
1205             ['target_arch=="ia32"', {
1206               'dependencies': [
1207                 '../chrome/chrome.gyp:crash_service_win64',
1208               ],
1209             }],
1210           ],
1211         },
1212         {
1213           'target_name': 'chromium_builder_dbg_tsan_win',
1214           'type': 'none',
1215           'dependencies': [
1216             '../base/base.gyp:base_unittests',
1217             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1218             '../components/components_tests.gyp:components_unittests',
1219             '../content/content_shell_and_tests.gyp:content_unittests',
1220             '../crypto/crypto.gyp:crypto_unittests',
1221             '../ipc/ipc.gyp:ipc_tests',
1222             '../jingle/jingle.gyp:jingle_unittests',
1223             '../media/media.gyp:media_unittests',
1224             '../net/net.gyp:net_unittests',
1225             '../printing/printing.gyp:printing_unittests',
1226             '../remoting/remoting.gyp:remoting_unittests',
1227             '../sql/sql.gyp:sql_unittests',
1228             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1229             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1230             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1231             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1232             '../url/url.gyp:url_unittests',
1233           ],
1234         },
1235         {
1236           'target_name': 'chromium_builder_lkgr_drmemory_win',
1237           'type': 'none',
1238           'dependencies': [
1239             '../content/content_shell_and_tests.gyp:content_shell',
1240             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1241             '../content/content_shell_and_tests.gyp:layout_test_helper',
1242           ],
1243         },
1244         {
1245           'target_name': 'chromium_builder_dbg_drmemory_win',
1246           'type': 'none',
1247           'dependencies': [
1248             '../ash/ash.gyp:ash_shell_unittests',
1249             '../ash/ash.gyp:ash_unittests',
1250             '../base/base.gyp:base_unittests',
1251             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1252             '../cc/cc_tests.gyp:cc_unittests',
1253             '../chrome/chrome.gyp:browser_tests',
1254             '../chrome/chrome.gyp:chrome_app_unittests',
1255             '../chrome/chrome.gyp:chromedriver_unittests',
1256             '../chrome/chrome.gyp:installer_util_unittests',
1257             '../chrome/chrome.gyp:unit_tests',
1258             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
1259             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1260             '../components/components_tests.gyp:components_unittests',
1261             '../content/content_shell_and_tests.gyp:content_browsertests',
1262             '../content/content_shell_and_tests.gyp:content_shell',
1263             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1264             '../content/content_shell_and_tests.gyp:layout_test_helper',
1265             '../content/content_shell_and_tests.gyp:content_unittests',
1266             '../courgette/courgette.gyp:courgette_unittests',
1267             '../crypto/crypto.gyp:crypto_unittests',
1268             '../device/device_tests.gyp:device_unittests',
1269             '../extensions/extensions_tests.gyp:extensions_browsertests',
1270             '../extensions/extensions_tests.gyp:extensions_unittests',
1271             '../gin/gin.gyp:gin_shell',
1272             '../gin/gin.gyp:gin_unittests',
1273             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1274             '../google_apis/google_apis.gyp:google_apis_unittests',
1275             '../gpu/gpu.gyp:angle_unittests',
1276             '../gpu/gpu.gyp:gpu_unittests',
1277             '../ipc/ipc.gyp:ipc_tests',
1278             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1279             '../jingle/jingle.gyp:jingle_unittests',
1280             '../media/cast/cast.gyp:cast_unittests',
1281             '../media/media.gyp:media_unittests',
1282             '../mojo/mojo.gyp:mojo',
1283             '../net/net.gyp:net_unittests',
1284             '../printing/printing.gyp:printing_unittests',
1285             '../remoting/remoting.gyp:remoting_unittests',
1286             '../skia/skia_tests.gyp:skia_unittests',
1287             '../sql/sql.gyp:sql_unittests',
1288             '../sync/sync.gyp:sync_unit_tests',
1289             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1290             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1291             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1292             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1293             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests',
1294             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests',
1295             '../ui/accessibility/accessibility.gyp:accessibility_unittests',
1296             '../ui/app_list/app_list.gyp:app_list_unittests',
1297             '../ui/aura/aura.gyp:aura_unittests',
1298             '../ui/compositor/compositor.gyp:compositor_unittests',
1299             '../ui/display/display.gyp:display_unittests',
1300             '../ui/events/events.gyp:events_unittests',
1301             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1302             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
1303             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1304             '../url/url.gyp:url_unittests',
1305           ],
1306         },
1307       ],  # targets
1308       'conditions': [
1309         ['branding=="Chrome"', {
1310           'targets': [
1311             {
1312               'target_name': 'chrome_official_builder',
1313               'type': 'none',
1314               'dependencies': [
1315                 '../base/base.gyp:base_unittests',
1316                 '../chrome/chrome.gyp:app_installer',
1317                 '../chrome/chrome.gyp:app_installer_unittests',
1318                 '../chrome/chrome.gyp:browser_tests',
1319                 '../chrome/chrome.gyp:sync_integration_tests',
1320                 '../chrome/chrome.gyp:crash_service',
1321                 '../chrome/chrome.gyp:gcapi_dll',
1322                 '../chrome/chrome.gyp:pack_policy_templates',
1323                 '../chrome/installer/mini_installer.gyp:mini_installer',
1324                 '../cloud_print/cloud_print.gyp:cloud_print',
1325                 '../courgette/courgette.gyp:courgette',
1326                 '../courgette/courgette.gyp:courgette64',
1327                 '../ipc/ipc.gyp:ipc_tests',
1328                 '../media/media.gyp:media_unittests',
1329                 '../net/net.gyp:net_unittests_run',
1330                 '../printing/printing.gyp:printing_unittests',
1331                 '../remoting/remoting.gyp:remoting_webapp',
1332                 '../sql/sql.gyp:sql_unittests',
1333                 '../sync/sync.gyp:sync_unit_tests',
1334                 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
1335                 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1336                 '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1337                 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1338                 '../ui/views/views.gyp:views_unittests',
1339                 '../url/url.gyp:url_unittests',
1340               ],
1341               'conditions': [
1342                 ['target_arch=="ia32"', {
1343                   'dependencies': [
1344                     '../chrome/chrome.gyp:crash_service_win64',
1345                   ],
1346                 }],
1347                 ['component != "shared_library" and wix_exists == "True" and \
1348                     sas_dll_exists == "True"', {
1349                   'dependencies': [
1350                     '../remoting/remoting.gyp:remoting_host_installation',
1351                   ],
1352                 }], # component != "shared_library"
1353               ]
1354             },
1355           ], # targets
1356         }], # branding=="Chrome"
1357        ], # conditions
1358     }], # OS="win"
1359     ['use_aura==1', {
1360       'targets': [
1361         {
1362           'target_name': 'aura_builder',
1363           'type': 'none',
1364           'dependencies': [
1365             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1366             '../cc/cc_tests.gyp:cc_unittests',
1367             '../chrome/chrome.gyp:browser_tests',
1368             '../chrome/chrome.gyp:chrome',
1369             '../chrome/chrome.gyp:interactive_ui_tests',
1370             '../chrome/chrome.gyp:unit_tests',
1371             '../components/components_tests.gyp:components_unittests',
1372             '../content/content_shell_and_tests.gyp:content_browsertests',
1373             '../content/content_shell_and_tests.gyp:content_unittests',
1374             '../device/device_tests.gyp:device_unittests',
1375             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1376             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1377             '../remoting/remoting.gyp:remoting_unittests',
1378             '../skia/skia_tests.gyp:skia_unittests',
1379             '../ui/app_list/app_list.gyp:*',
1380             '../ui/aura/aura.gyp:*',
1381             '../ui/aura_extra/aura_extra.gyp:*',
1382             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1383             '../ui/compositor/compositor.gyp:*',
1384             '../ui/display/display.gyp:display_unittests',
1385             '../ui/events/events.gyp:*',
1386             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1387             '../ui/keyboard/keyboard.gyp:*',
1388             '../ui/message_center/message_center.gyp:*',
1389             '../ui/snapshot/snapshot.gyp:snapshot_unittests',
1390             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1391             '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1392             '../ui/views/views.gyp:views',
1393             '../ui/views/views.gyp:views_unittests',
1394             '../ui/wm/wm.gyp:*',
1395             'blink_tests',
1396           ],
1397           'conditions': [
1398             ['OS=="win"', {
1399               'dependencies': [
1400                 '../chrome/chrome.gyp:crash_service',
1401               ],
1402             }],
1403             ['OS=="win" and target_arch=="ia32"', {
1404               'dependencies': [
1405                 '../chrome/chrome.gyp:crash_service_win64',
1406               ],
1407             }],
1408             ['use_ash==1', {
1409               'dependencies': [
1410                 '../ash/ash.gyp:ash_shell',
1411                 '../ash/ash.gyp:ash_unittests',
1412               ],
1413             }],
1414             ['OS=="linux"', {
1415               # Tests that currently only work on Linux.
1416               'dependencies': [
1417                 '../base/base.gyp:base_unittests',
1418                 '../ipc/ipc.gyp:ipc_tests',
1419                 '../sql/sql.gyp:sql_unittests',
1420                 '../sync/sync.gyp:sync_unit_tests',
1421               ],
1422             }],
1423             ['chromeos==1', {
1424               'dependencies': [
1425                 '../chromeos/chromeos.gyp:chromeos_unittests',
1426                 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
1427               ],
1428             }],
1429             ['use_ozone==1', {
1430               'dependencies': [
1431                 '../ui/ozone/ozone.gyp:*',
1432                 '../ui/ozone/demo/ozone_demos.gyp:*',
1433               ],
1434             }],
1435           ],
1436         },
1437       ],  # targets
1438     }], # "use_aura==1"
1439     ['test_isolation_mode != "noop"', {
1440       'targets': [
1441         {
1442           'target_name': 'chromium_swarm_tests',
1443           'type': 'none',
1444           'dependencies': [
1445             '../base/base.gyp:base_unittests_run',
1446             '../chrome/chrome.gyp:browser_tests_run',
1447             '../chrome/chrome.gyp:interactive_ui_tests_run',
1448             '../chrome/chrome.gyp:sync_integration_tests_run',
1449             '../chrome/chrome.gyp:unit_tests_run',
1450             '../content/content_shell_and_tests.gyp:content_browsertests_run',
1451             '../content/content_shell_and_tests.gyp:content_unittests_run',
1452             '../net/net.gyp:net_unittests_run',
1453           ],
1454         }, # target_name: chromium_swarm_tests
1455       ],
1456     }],
1457     ['archive_chromoting_tests==1', {
1458       'targets': [
1459         {
1460           'target_name': 'chromoting_swarm_tests',
1461           'type': 'none',
1462           'dependencies': [
1463             '../testing/chromoting/integration_tests.gyp:chromoting_integration_tests_run',
1464           ],
1465         }, # target_name: chromoting_swarm_tests
1466       ]
1467     }],
1468     ['OS=="mac" and toolkit_views==1', {
1469       'targets': [
1470         {
1471           'target_name': 'macviews_builder',
1472           'type': 'none',
1473           'dependencies': [
1474             '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1475             '../ui/views/views.gyp:views',
1476             '../ui/views/views.gyp:views_unittests',
1477           ],
1478         },  # target_name: macviews_builder
1479       ],  # targets
1480     }],  # os=='mac' and toolkit_views==1
1481   ],  # conditions