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