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