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