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