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