Mac: Optimize toolbar/bookmark drawing during live resize
[chromium-blink-merge.git] / build / all.gyp
blob8556aa767f51bdf022c0c2f7d8817a0d20fda60b
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_all.gyp:remoting_all',
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               ],
754               'conditions': [
755                 ['chrome_multiple_dll==1', {
756                   'dependencies': [
757                     '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
758                   ],
759                 }],
760               ],
761             }],
762           ],
763         },
764         {
765           'target_name': 'chromium_builder_nacl_sdk',
766           'type': 'none',
767           'dependencies': [
768             '../chrome/chrome.gyp:chrome',
769           ],
770           'conditions': [
771             ['OS=="win"', {
772               'dependencies': [
773                 '../chrome/chrome.gyp:chrome_nacl_win64',
774               ]
775             }],
776           ],
777         },  #target_name: chromium_builder_nacl_sdk
778       ],  # targets
779     }], #OS!=ios and OS!=android
780     ['OS=="android"', {
781       'targets': [
782         {
783           # The current list of tests for android.  This is temporary
784           # until the full set supported.  If adding a new test here,
785           # please also add it to build/android/pylib/gtest/gtest_config.py,
786           # else the test is not run.
787           #
788           # WARNING:
789           # Do not add targets here without communicating the implications
790           # on tryserver triggers and load.  Discuss with
791           # chrome-infrastructure-team please.
792           'target_name': 'android_builder_tests',
793           'type': 'none',
794           'dependencies': [
795             '../android_webview/android_webview.gyp:android_webview_unittests',
796             '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
797             '../base/base.gyp:base_unittests',
798             '../breakpad/breakpad.gyp:breakpad_unittests_deps',
799             # Also compile the tools needed to deal with minidumps, they are
800             # needed to run minidump tests upstream.
801             '../breakpad/breakpad.gyp:dump_syms#host',
802             '../breakpad/breakpad.gyp:symupload#host',
803             '../breakpad/breakpad.gyp:minidump_dump#host',
804             '../breakpad/breakpad.gyp:minidump_stackwalk#host',
805             '../build/android/tests/multiple_proguards/multiple_proguards.gyp:multiple_proguards_test_apk',
806             '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
807             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
808             '../cc/cc_tests.gyp:cc_perftests_apk',
809             '../cc/cc_tests.gyp:cc_unittests',
810             '../chrome/chrome.gyp:unit_tests',
811             '../components/components_tests.gyp:components_unittests',
812             '../content/content_shell_and_tests.gyp:content_browsertests',
813             '../content/content_shell_and_tests.gyp:content_gl_tests',
814             '../content/content_shell_and_tests.gyp:chromium_linker_test_apk',
815             '../content/content_shell_and_tests.gyp:content_shell_test_apk',
816             '../content/content_shell_and_tests.gyp:content_unittests',
817             '../gpu/gpu.gyp:gl_tests',
818             '../gpu/gpu.gyp:gpu_unittests',
819             '../ipc/ipc.gyp:ipc_tests',
820             '../media/media.gyp:media_perftests_apk',
821             '../media/media.gyp:media_unittests',
822             '../net/net.gyp:net_unittests',
823             '../sandbox/sandbox.gyp:sandbox_linux_unittests_deps',
824             '../skia/skia_tests.gyp:skia_unittests',
825             '../sql/sql.gyp:sql_unittests',
826             '../sync/sync.gyp:sync_unit_tests',
827             '../testing/android/junit/junit_test.gyp:junit_unit_tests',
828             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
829             '../third_party/WebKit/public/all.gyp:*',
830             '../tools/android/android_tools.gyp:android_tools',
831             '../tools/android/android_tools.gyp:memconsumer',
832             '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
833             '../ui/android/ui_android.gyp:ui_android_unittests',
834             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
835             '../ui/events/events.gyp:events_unittests',
836             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
837             # Unit test bundles packaged as an apk.
838             '../android_webview/android_webview.gyp:android_webview_test_apk',
839             '../android_webview/android_webview.gyp:android_webview_unittests_apk',
840             '../base/base.gyp:base_unittests_apk',
841             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk',
842             '../cc/cc_tests.gyp:cc_unittests_apk',
843             '../chrome/chrome.gyp:chrome_shell_test_apk',
844             '../chrome/chrome.gyp:chrome_sync_shell_test_apk',
845             '../chrome/chrome.gyp:chrome_shell_uiautomator_tests',
846             '../chrome/chrome.gyp:chromedriver_webview_shell_apk',
847             '../chrome/chrome.gyp:unit_tests_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             '../net/net.gyp:net_unittests_apk',
858             '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
859             '../skia/skia_tests.gyp:skia_unittests_apk',
860             '../sql/sql.gyp:sql_unittests_apk',
861             '../sync/sync.gyp:sync_unit_tests_apk',
862             '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unittests_apk',
863             '../ui/android/ui_android.gyp:ui_android_unittests_apk',
864             '../ui/base/ui_base_tests.gyp:ui_base_unittests_apk',
865             '../ui/events/events.gyp:events_unittests_apk',
866             '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk',
867             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_apk',
868           ],
869           'conditions': [
870             ['enable_webrtc==1 and "<(libpeer_target_type)"=="static_library"', {
871               'dependencies': [
872                 '../components/devtools_bridge.gyp:devtools_bridge_tests_apk',
873               ],
874             }],
875           ],
876         },
877         {
878           # WebRTC Chromium tests to run on Android.
879           'target_name': 'android_builder_chromium_webrtc',
880           'type': 'none',
881           'dependencies': [
882             '../build/android/pylib/device/commands/commands.gyp:chromium_commands',
883             '../content/content_shell_and_tests.gyp:content_browsertests',
884             '../tools/android/android_tools.gyp:android_tools',
885             '../tools/android/android_tools.gyp:memconsumer',
886             # Unit test bundles packaged as an apk.
887             '../components/devtools_bridge.gyp:devtools_bridge_tests_apk',
888             '../content/content_shell_and_tests.gyp:content_browsertests_apk',
889           ],
890         },  # target_name: android_builder_chromium_webrtc
891       ], # targets
892     }], # OS="android"
893     ['OS=="mac"', {
894       'targets': [
895         {
896           # Target to build everything plus the dmg.  We don't put the dmg
897           # in the All target because developers really don't need it.
898           'target_name': 'all_and_dmg',
899           'type': 'none',
900           'dependencies': [
901             'All',
902             '../chrome/chrome.gyp:build_app_dmg',
903           ],
904         },
905         # These targets are here so the build bots can use them to build
906         # subsets of a full tree for faster cycle times.
907         {
908           'target_name': 'chromium_builder_dbg',
909           'type': 'none',
910           'dependencies': [
911             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
912             '../cc/cc_tests.gyp:cc_unittests',
913             '../chrome/chrome.gyp:browser_tests',
914             '../chrome/chrome.gyp:interactive_ui_tests',
915             '../chrome/chrome.gyp:sync_integration_tests',
916             '../chrome/chrome.gyp:unit_tests',
917             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
918             '../components/components_tests.gyp:components_unittests',
919             '../content/content_shell_and_tests.gyp:content_browsertests',
920             '../content/content_shell_and_tests.gyp:content_unittests',
921             '../device/device_tests.gyp:device_unittests',
922             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
923             '../gpu/gpu.gyp:gpu_unittests',
924             '../ipc/ipc.gyp:ipc_tests',
925             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
926             '../jingle/jingle.gyp:jingle_unittests',
927             '../media/media.gyp:media_unittests',
928             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
929             '../printing/printing.gyp:printing_unittests',
930             '../remoting/remoting.gyp:remoting_unittests',
931             '../rlz/rlz.gyp:*',
932             '../skia/skia_tests.gyp:skia_unittests',
933             '../sql/sql.gyp:sql_unittests',
934             '../sync/sync.gyp:sync_unit_tests',
935             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
936             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
937             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
938             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
939             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
940             '../tools/telemetry/telemetry.gyp:*',
941             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
942             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
943             '../url/url.gyp:url_unittests',
944           ],
945         },
946         {
947           'target_name': 'chromium_builder_rel',
948           'type': 'none',
949           'dependencies': [
950             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
951             '../cc/cc_tests.gyp:cc_unittests',
952             '../chrome/chrome.gyp:browser_tests',
953             '../chrome/chrome.gyp:performance_browser_tests',
954             '../chrome/chrome.gyp:sync_integration_tests',
955             '../chrome/chrome.gyp:unit_tests',
956             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
957             '../components/components_tests.gyp:components_unittests',
958             '../content/content_shell_and_tests.gyp:content_browsertests',
959             '../content/content_shell_and_tests.gyp:content_unittests',
960             '../device/device_tests.gyp:device_unittests',
961             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
962             '../gpu/gpu.gyp:gpu_unittests',
963             '../ipc/ipc.gyp:ipc_tests',
964             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
965             '../jingle/jingle.gyp:jingle_unittests',
966             '../media/media.gyp:media_unittests',
967             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
968             '../printing/printing.gyp:printing_unittests',
969             '../remoting/remoting.gyp:remoting_unittests',
970             '../skia/skia_tests.gyp:skia_unittests',
971             '../sql/sql.gyp:sql_unittests',
972             '../sync/sync.gyp:sync_unit_tests',
973             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
974             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
975             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
976             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
977             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
978             '../tools/telemetry/telemetry.gyp:*',
979             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
980             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
981             '../url/url.gyp:url_unittests',
982           ],
983         },
984         {
985           'target_name': 'chromium_builder_dbg_tsan_mac',
986           'type': 'none',
987           'dependencies': [
988             '../base/base.gyp:base_unittests',
989             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
990             '../crypto/crypto.gyp:crypto_unittests',
991             '../ipc/ipc.gyp:ipc_tests',
992             '../jingle/jingle.gyp:jingle_unittests',
993             '../media/media.gyp:media_unittests',
994             '../net/net.gyp:net_unittests',
995             '../printing/printing.gyp:printing_unittests',
996             '../remoting/remoting.gyp:remoting_unittests',
997             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
998             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
999             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1000             '../url/url.gyp:url_unittests',
1001           ],
1002         },
1003         {
1004           'target_name': 'chromium_builder_dbg_valgrind_mac',
1005           'type': 'none',
1006           'dependencies': [
1007             '../base/base.gyp:base_unittests',
1008             '../chrome/chrome.gyp:unit_tests',
1009             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1010             '../components/components_tests.gyp:components_unittests',
1011             '../content/content_shell_and_tests.gyp:content_unittests',
1012             '../crypto/crypto.gyp:crypto_unittests',
1013             '../device/device_tests.gyp:device_unittests',
1014             '../ipc/ipc.gyp:ipc_tests',
1015             '../jingle/jingle.gyp:jingle_unittests',
1016             '../media/media.gyp:media_unittests',
1017             '../net/net.gyp:net_unittests',
1018             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1019             '../printing/printing.gyp:printing_unittests',
1020             '../remoting/remoting.gyp:remoting_unittests',
1021             '../skia/skia_tests.gyp:skia_unittests',
1022             '../sql/sql.gyp:sql_unittests',
1023             '../sync/sync.gyp:sync_unit_tests',
1024             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1025             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1026             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1027             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1028             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1029             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1030             '../url/url.gyp:url_unittests',
1031           ],
1032         },
1033       ],  # targets
1034     }], # OS="mac"
1035     ['OS=="win"', {
1036       'targets': [
1037         # These targets are here so the build bots can use them to build
1038         # subsets of a full tree for faster cycle times.
1039         {
1040           'target_name': 'chromium_builder',
1041           'type': 'none',
1042           'dependencies': [
1043             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1044             '../cc/cc_tests.gyp:cc_unittests',
1045             '../chrome/chrome.gyp:browser_tests',
1046             '../chrome/chrome.gyp:crash_service',
1047             '../chrome/chrome.gyp:gcapi_test',
1048             '../chrome/chrome.gyp:installer_util_unittests',
1049             '../chrome/chrome.gyp:interactive_ui_tests',
1050             '../chrome/chrome.gyp:performance_browser_tests',
1051             '../chrome/chrome.gyp:sync_integration_tests',
1052             '../chrome/chrome.gyp:unit_tests',
1053             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1054             '../components/components_tests.gyp:components_unittests',
1055             '../content/content_shell_and_tests.gyp:content_browsertests',
1056             '../content/content_shell_and_tests.gyp:content_unittests',
1057             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
1058             # ../chrome/test/mini_installer requires mini_installer.
1059             '../chrome/installer/mini_installer.gyp:mini_installer',
1060             '../courgette/courgette.gyp:courgette_unittests',
1061             '../device/device_tests.gyp:device_unittests',
1062             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1063             '../gpu/gpu.gyp:gpu_unittests',
1064             '../ipc/ipc.gyp:ipc_tests',
1065             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1066             '../jingle/jingle.gyp:jingle_unittests',
1067             '../media/media.gyp:media_unittests',
1068             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1069             '../printing/printing.gyp:printing_unittests',
1070             '../remoting/remoting.gyp:remoting_unittests',
1071             '../skia/skia_tests.gyp:skia_unittests',
1072             '../sql/sql.gyp:sql_unittests',
1073             '../sync/sync.gyp:sync_unit_tests',
1074             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1075             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1076             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1077             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1078             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
1079             '../tools/telemetry/telemetry.gyp:*',
1080             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1081             '../ui/events/events.gyp:events_unittests',
1082             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1083             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1084             '../ui/views/views.gyp:views_unittests',
1085             '../url/url.gyp:url_unittests',
1086           ],
1087           'conditions': [
1088             ['target_arch=="ia32"', {
1089               'dependencies': [
1090                 '../chrome/chrome.gyp:crash_service_win64',
1091               ],
1092             }],
1093           ],
1094         },
1095         {
1096           'target_name': 'chromium_builder_win_cf',
1097           'type': 'none',
1098         },
1099         {
1100           'target_name': 'chromium_builder_dbg_tsan_win',
1101           'type': 'none',
1102           'dependencies': [
1103             '../base/base.gyp:base_unittests',
1104             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1105             '../components/components_tests.gyp:components_unittests',
1106             '../content/content_shell_and_tests.gyp:content_unittests',
1107             '../crypto/crypto.gyp:crypto_unittests',
1108             '../ipc/ipc.gyp:ipc_tests',
1109             '../jingle/jingle.gyp:jingle_unittests',
1110             '../media/media.gyp:media_unittests',
1111             '../net/net.gyp:net_unittests',
1112             '../printing/printing.gyp:printing_unittests',
1113             '../remoting/remoting.gyp:remoting_unittests',
1114             '../sql/sql.gyp:sql_unittests',
1115             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1116             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1117             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1118             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1119             '../url/url.gyp:url_unittests',
1120           ],
1121         },
1122         {
1123           'target_name': 'chromium_builder_lkgr_drmemory_win',
1124           'type': 'none',
1125           'dependencies': [
1126             '../content/content_shell_and_tests.gyp:content_shell',
1127             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1128             '../content/content_shell_and_tests.gyp:layout_test_helper',
1129           ],
1130         },
1131         {
1132           'target_name': 'chromium_builder_dbg_drmemory_win',
1133           'type': 'none',
1134           'dependencies': [
1135             '../ash/ash.gyp:ash_shell_unittests',
1136             '../ash/ash.gyp:ash_unittests',
1137             '../base/base.gyp:base_unittests',
1138             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1139             '../cc/cc_tests.gyp:cc_unittests',
1140             '../chrome/chrome.gyp:browser_tests',
1141             '../chrome/chrome.gyp:chrome_app_unittests',
1142             '../chrome/chrome.gyp:chromedriver_unittests',
1143             '../chrome/chrome.gyp:installer_util_unittests',
1144             '../chrome/chrome.gyp:unit_tests',
1145             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
1146             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1147             '../components/components_tests.gyp:components_unittests',
1148             '../content/content_shell_and_tests.gyp:content_browsertests',
1149             '../content/content_shell_and_tests.gyp:content_shell',
1150             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1151             '../content/content_shell_and_tests.gyp:layout_test_helper',
1152             '../content/content_shell_and_tests.gyp:content_unittests',
1153             '../courgette/courgette.gyp:courgette_unittests',
1154             '../crypto/crypto.gyp:crypto_unittests',
1155             '../device/device_tests.gyp:device_unittests',
1156             '../extensions/extensions_tests.gyp:extensions_browsertests',
1157             '../extensions/extensions_tests.gyp:extensions_unittests',
1158             '../gin/gin.gyp:gin_shell',
1159             '../gin/gin.gyp:gin_unittests',
1160             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1161             '../google_apis/google_apis.gyp:google_apis_unittests',
1162             '../gpu/gpu.gyp:angle_unittests',
1163             '../gpu/gpu.gyp:gpu_unittests',
1164             '../ipc/ipc.gyp:ipc_tests',
1165             '../ipc/mojo/ipc_mojo.gyp:ipc_mojo_unittests',
1166             '../jingle/jingle.gyp:jingle_unittests',
1167             '../media/cast/cast.gyp:cast_unittests',
1168             '../media/media.gyp:media_unittests',
1169             '../mojo/mojo.gyp:mojo',
1170             '../net/net.gyp:net_unittests',
1171             '../printing/printing.gyp:printing_unittests',
1172             '../remoting/remoting.gyp:remoting_unittests',
1173             '../skia/skia_tests.gyp:skia_unittests',
1174             '../sql/sql.gyp:sql_unittests',
1175             '../sync/sync.gyp:sync_unit_tests',
1176             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1177             '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests',
1178             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1179             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1180             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests',
1181             '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests',
1182             '../ui/accessibility/accessibility.gyp:accessibility_unittests',
1183             '../ui/app_list/app_list.gyp:app_list_unittests',
1184             '../ui/aura/aura.gyp:aura_unittests',
1185             '../ui/compositor/compositor.gyp:compositor_unittests',
1186             '../ui/display/display.gyp:display_unittests',
1187             '../ui/events/events.gyp:events_unittests',
1188             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1189             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
1190             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1191             '../url/url.gyp:url_unittests',
1192           ],
1193         },
1194         {
1195           'target_name': 'webkit_builder_win',
1196           'type': 'none',
1197           'dependencies': [
1198             'blink_tests',
1199           ],
1200         },
1201       ],  # targets
1202       'conditions': [
1203         ['branding=="Chrome"', {
1204           'targets': [
1205             {
1206               'target_name': 'chrome_official_builder',
1207               'type': 'none',
1208               'dependencies': [
1209                 '../base/base.gyp:base_unittests',
1210                 '../chrome/chrome.gyp:app_installer',
1211                 '../chrome/chrome.gyp:app_installer_unittests',
1212                 '../chrome/chrome.gyp:browser_tests',
1213                 '../chrome/chrome.gyp:sync_integration_tests',
1214                 '../chrome/chrome.gyp:crash_service',
1215                 '../chrome/chrome.gyp:gcapi_dll',
1216                 '../chrome/chrome.gyp:pack_policy_templates',
1217                 '../chrome/installer/mini_installer.gyp:mini_installer',
1218                 '../cloud_print/cloud_print.gyp:cloud_print',
1219                 '../courgette/courgette.gyp:courgette',
1220                 '../courgette/courgette.gyp:courgette64',
1221                 '../ipc/ipc.gyp:ipc_tests',
1222                 '../media/media.gyp:media_unittests',
1223                 '../net/net.gyp:net_unittests_run',
1224                 '../printing/printing.gyp:printing_unittests',
1225                 '../remoting/remoting.gyp:remoting_webapp',
1226                 '../sql/sql.gyp:sql_unittests',
1227                 '../sync/sync.gyp:sync_unit_tests',
1228                 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
1229                 '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1230                 '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1231                 '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1232                 '../ui/views/views.gyp:views_unittests',
1233                 '../url/url.gyp:url_unittests',
1234               ],
1235               'conditions': [
1236                 ['target_arch=="ia32"', {
1237                   'dependencies': [
1238                     '../chrome/chrome.gyp:crash_service_win64',
1239                   ],
1240                 }],
1241                 ['component != "shared_library" and wix_exists == "True" and \
1242                     sas_dll_exists == "True"', {
1243                   'dependencies': [
1244                     '../remoting/remoting.gyp:remoting_host_installation',
1245                   ],
1246                 }], # component != "shared_library"
1247               ]
1248             },
1249           ], # targets
1250         }], # branding=="Chrome"
1251        ], # conditions
1252     }], # OS="win"
1253     ['use_aura==1', {
1254       'targets': [
1255         {
1256           'target_name': 'aura_builder',
1257           'type': 'none',
1258           'dependencies': [
1259             '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests',
1260             '../cc/cc_tests.gyp:cc_unittests',
1261             '../chrome/chrome.gyp:browser_tests',
1262             '../chrome/chrome.gyp:chrome',
1263             '../chrome/chrome.gyp:interactive_ui_tests',
1264             '../chrome/chrome.gyp:unit_tests',
1265             '../components/components_tests.gyp:components_unittests',
1266             '../content/content_shell_and_tests.gyp:content_browsertests',
1267             '../content/content_shell_and_tests.gyp:content_unittests',
1268             '../device/device_tests.gyp:device_unittests',
1269             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1270             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1271             '../remoting/remoting.gyp:remoting_unittests',
1272             '../skia/skia_tests.gyp:skia_unittests',
1273             '../ui/app_list/app_list.gyp:*',
1274             '../ui/aura/aura.gyp:*',
1275             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
1276             '../ui/compositor/compositor.gyp:*',
1277             '../ui/display/display.gyp:display_unittests',
1278             '../ui/events/events.gyp:*',
1279             '../ui/gfx/gfx_tests.gyp:gfx_unittests',
1280             '../ui/keyboard/keyboard.gyp:*',
1281             '../ui/message_center/message_center.gyp:*',
1282             '../ui/snapshot/snapshot.gyp:snapshot_unittests',
1283             '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests',
1284             '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1285             '../ui/views/views.gyp:views',
1286             '../ui/views/views.gyp:views_unittests',
1287             '../ui/wm/wm.gyp:*',
1288             'blink_tests',
1289           ],
1290           'conditions': [
1291             ['OS=="win"', {
1292               'dependencies': [
1293                 '../chrome/chrome.gyp:crash_service',
1294               ],
1295             }],
1296             ['OS=="win" and target_arch=="ia32"', {
1297               'dependencies': [
1298                 '../chrome/chrome.gyp:crash_service_win64',
1299               ],
1300             }],
1301             ['use_ash==1', {
1302               'dependencies': [
1303                 '../ash/ash.gyp:ash_shell',
1304                 '../ash/ash.gyp:ash_unittests',
1305               ],
1306             }],
1307             ['OS=="linux"', {
1308               # Tests that currently only work on Linux.
1309               'dependencies': [
1310                 '../base/base.gyp:base_unittests',
1311                 '../ipc/ipc.gyp:ipc_tests',
1312                 '../sql/sql.gyp:sql_unittests',
1313                 '../sync/sync.gyp:sync_unit_tests',
1314               ],
1315             }],
1316             ['chromeos==1', {
1317               'dependencies': [
1318                 '../chromeos/chromeos.gyp:chromeos_unittests',
1319                 '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests',
1320               ],
1321             }],
1322             ['use_ozone==1', {
1323               'dependencies': [
1324                 '../ui/ozone/ozone.gyp:*',
1325                 '../ui/ozone/demo/ozone_demos.gyp:*',
1326               ],
1327             }],
1328           ],
1329         },
1330       ],  # targets
1331     }, {
1332       'conditions': [
1333         ['OS=="linux"', {
1334           # TODO(thakis): Remove this once the linux gtk bot no longer references
1335           # it (probably after the first aura release on linux), see r249162
1336           'targets': [
1337             {
1338               'target_name': 'aura_builder',
1339               'type': 'none',
1340               'dependencies': [
1341                 '../chrome/chrome.gyp:chrome',
1342               ],
1343             },
1344           ],  # targets
1345       }]], # OS=="linux"
1346     }], # "use_aura==1"
1347     ['test_isolation_mode != "noop"', {
1348       'targets': [
1349         {
1350           'target_name': 'chromium_swarm_tests',
1351           'type': 'none',
1352           'dependencies': [
1353             '../base/base.gyp:base_unittests_run',
1354             '../chrome/chrome.gyp:browser_tests_run',
1355             '../chrome/chrome.gyp:interactive_ui_tests_run',
1356             '../chrome/chrome.gyp:sync_integration_tests_run',
1357             '../chrome/chrome.gyp:unit_tests_run',
1358             '../content/content_shell_and_tests.gyp:content_browsertests_run',
1359             '../content/content_shell_and_tests.gyp:content_unittests_run',
1360             '../net/net.gyp:net_unittests_run',
1361           ],
1362         }, # target_name: chromium_swarm_tests
1363       ],
1364     }],
1365     ['archive_chromoting_tests==1', {
1366       'targets': [
1367         {
1368           'target_name': 'chromoting_swarm_tests',
1369           'type': 'none',
1370           'dependencies': [
1371             '../testing/chromoting/integration_tests.gyp:chromoting_integration_tests_run',
1372           ],
1373         }, # target_name: chromoting_swarm_tests
1374       ]
1375     }],
1376     ['OS=="mac" and toolkit_views==1', {
1377       'targets': [
1378         {
1379           'target_name': 'macviews_builder',
1380           'type': 'none',
1381           'dependencies': [
1382             '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1383             '../ui/views/views.gyp:views',
1384             '../ui/views/views.gyp:views_unittests',
1385           ],
1386         },  # target_name: macviews_builder
1387       ],  # targets
1388     }],  # os=='mac' and toolkit_views==1
1389   ],  # conditions