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