Fixing an off by one error in screenshot manager code.
[chromium-blink-merge.git] / build / all.gyp
blob028d9265035ac5487d13b21a43ebfa8eb5819dc2
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'. Only used on Android.
9     'android_app_targets%': [],
10   },
11   'targets': [
12     {
13       'target_name': 'All',
14       'type': 'none',
15       'xcode_create_dependents_test_runner': 1,
16       'dependencies': [
17         'some.gyp:*',
18         '../base/base.gyp:*',
19         '../components/components.gyp:*',
20         '../components/components_tests.gyp:*',
21         '../content/content.gyp:*',
22         '../crypto/crypto.gyp:*',
23         '../net/net.gyp:*',
24         '../sdch/sdch.gyp:*',
25         '../sql/sql.gyp:*',
26         '../testing/gmock.gyp:*',
27         '../testing/gtest.gyp:*',
28         '../third_party/icu/icu.gyp:*',
29         '../third_party/libxml/libxml.gyp:*',
30         '../third_party/sqlite/sqlite.gyp:*',
31         '../third_party/zlib/zlib.gyp:*',
32         '../ui/accessibility/accessibility.gyp:*',
33         '../ui/base/ui_base.gyp:*',
34         '../ui/snapshot/snapshot.gyp:*',
35         '../url/url.gyp:*',
36       ],
37       'conditions': [
38         ['OS=="ios"', {
39           'dependencies': [
40             '../ios/ios.gyp:*',
41             '../ui/gfx/gfx.gyp:gfx_unittests',
42             '../ui/ui_unittests.gyp:ui_unittests',
43           ],
44         }],
45         ['OS=="android"', {
46           'dependencies': [
47             '../content/content_shell_and_tests.gyp:content_shell_apk',
48             '../mojo/mojo.gyp:mojo_shell_apk',
49             '<@(android_app_targets)',
50             'android_builder_tests',
51             '../android_webview/android_webview.gyp:android_webview_apk',
52             '../chrome/chrome.gyp:chrome_shell_apk',
53             '../remoting/remoting.gyp:remoting_apk',
54             '../tools/telemetry/telemetry.gyp:*#host',
55             # TODO(nyquist) This should instead by a target for sync when all of
56             # the sync-related code for Android has been upstreamed.
57             # See http://crbug.com/159203
58             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_javalib',
59           ],
60         }, {
61           'dependencies': [
62             '../content/content_shell_and_tests.gyp:*',
63             # TODO: This should build on Android and the target should move to the list above.
64             '../sync/sync.gyp:*',
65           ],
66         }],
67         ['OS!="ios" and OS!="android"', {
68           'dependencies': [
69             '../third_party/re2/re2.gyp:re2',
70             '../chrome/chrome.gyp:*',
71             '../cc/cc_tests.gyp:*',
72             '../device/bluetooth/bluetooth.gyp:*',
73             '../device/device_tests.gyp:*',
74             '../device/usb/usb.gyp:*',
75             '../gin/gin.gyp:*',
76             '../gpu/gpu.gyp:*',
77             '../gpu/tools/tools.gyp:*',
78             '../ipc/ipc.gyp:*',
79             '../jingle/jingle.gyp:*',
80             '../media/cast/cast.gyp:*',
81             '../media/media.gyp:*',
82             '../mojo/mojo.gyp:*',
83             '../ppapi/ppapi.gyp:*',
84             '../ppapi/ppapi_internal.gyp:*',
85             '../ppapi/tools/ppapi_tools.gyp:*',
86             '../printing/printing.gyp:*',
87             '../skia/skia.gyp:*',
88             '../third_party/WebKit/public/all.gyp:*',
89             '../third_party/cacheinvalidation/cacheinvalidation.gyp:*',
90             '../third_party/codesighs/codesighs.gyp:*',
91             '../third_party/ffmpeg/ffmpeg.gyp:*',
92             '../third_party/iccjpeg/iccjpeg.gyp:*',
93             '../third_party/libpng/libpng.gyp:*',
94             '../third_party/libusb/libusb.gyp:*',
95             '../third_party/libwebp/libwebp.gyp:*',
96             '../third_party/libxslt/libxslt.gyp:*',
97             '../third_party/lzma_sdk/lzma_sdk.gyp:*',
98             '../third_party/mesa/mesa.gyp:*',
99             '../third_party/modp_b64/modp_b64.gyp:*',
100             '../third_party/npapi/npapi.gyp:*',
101             '../third_party/ots/ots.gyp:*',
102             '../third_party/qcms/qcms.gyp:*',
103             '../tools/gn/gn.gyp:*',
104             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
105             '../tools/telemetry/telemetry.gyp:*',
106             '../v8/tools/gyp/v8.gyp:*',
107             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:*',
108             '<(libjpeg_gyp_path):*',
109           ],
110         }],
111         ['OS!="android" and OS!="ios"', {
112           'dependencies': [
113             '../chrome/tools/profile_reset/jtl_compiler.gyp:*',
114           ],
115         }],
116         ['OS=="mac" or OS=="ios" or OS=="win"', {
117           'dependencies': [
118             '../third_party/nss/nss.gyp:*',
119            ],
120         }],
121         ['OS=="win" or OS=="ios" or OS=="linux"', {
122           'dependencies': [
123             '../breakpad/breakpad.gyp:*',
124            ],
125         }],
126         ['OS=="mac"', {
127           'dependencies': [
128             '../third_party/ocmock/ocmock.gyp:*',
129           ],
130         }],
131         ['OS=="linux"', {
132           'dependencies': [
133             '../courgette/courgette.gyp:*',
134             '../dbus/dbus.gyp:*',
135             '../sandbox/sandbox.gyp:*',
136           ],
137           'conditions': [
138             ['branding=="Chrome"', {
139               'dependencies': [
140                 '../chrome/chrome.gyp:linux_packages_<(channel)',
141               ],
142             }],
143             ['enable_ipc_fuzzer==1', {
144               'dependencies': [
145                 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
146               ],
147             }],
148           ],
149         }],
150         ['use_x11==1', {
151           'dependencies': [
152             '../tools/xdisplaycheck/xdisplaycheck.gyp:*',
153           ],
154         }],
155         ['toolkit_uses_gtk==1', {
156           'dependencies': [
157             '../tools/gtk_clipboard_dump/gtk_clipboard_dump.gyp:*',
158           ],
159         }],
160         ['OS=="win"', {
161           'conditions': [
162             ['win_use_allocator_shim==1', {
163               'dependencies': [
164                 '../base/allocator/allocator.gyp:*',
165               ],
166             }],
167             # Don't enable dependencies that don't work on Win64.
168             ['target_arch!="x64"', {
169               'dependencies': [
170                 # TODO(jschuh) Enable Win64 Memory Watcher. crbug.com/176877
171                 '../tools/memory_watcher/memory_watcher.gyp:*',
172               ],
173             }],
174           ],
175           'dependencies': [
176             '../chrome_elf/chrome_elf.gyp:*',
177             '../cloud_print/cloud_print.gyp:*',
178             '../courgette/courgette.gyp:*',
179             '../rlz/rlz.gyp:*',
180             '../sandbox/sandbox.gyp:*',
181             '<(angle_path)/src/build_angle.gyp:*',
182             '../third_party/bspatch/bspatch.gyp:*',
183             '../tools/win/static_initializers/static_initializers.gyp:*',
184           ],
185         }, {
186           'dependencies': [
187             '../third_party/libevent/libevent.gyp:*',
188           ],
189         }],
190         ['toolkit_views==1', {
191           'dependencies': [
192             '../ui/views/controls/webview/webview.gyp:*',
193             '../ui/views/views.gyp:*',
194           ],
195         }],
196         ['use_aura==1', {
197           'dependencies': [
198             '../ui/aura/aura.gyp:*',
199           ],
200         }],
201         ['use_ash==1', {
202           'dependencies': [
203             '../ash/ash.gyp:*',
204           ],
205         }],
206         ['remoting==1', {
207           'dependencies': [
208             '../remoting/remoting.gyp:*',
209           ],
210         }],
211         ['use_openssl==0', {
212           'dependencies': [
213             '../net/third_party/nss/ssl.gyp:*',
214           ],
215         }],
216         ['enable_app_list==1', {
217           'dependencies': [
218             '../ui/app_list/app_list.gyp:*',
219           ],
220         }],
221         ['OS!="android" and OS!="ios"', {
222           'dependencies': [
223             '../google_apis/gcm/gcm.gyp:*',
224           ],
225         }],
226         ['chromeos==1 or (OS=="linux" and use_aura==1)', {
227           'dependencies': [
228             '../apps/shell/app_shell.gyp:*',
229           ],
230         }],
231       ],
232     }, # target_name: All
233     {
234       'target_name': 'All_syzygy',
235       'type': 'none',
236       'conditions': [
237         ['OS=="win" and fastbuild==0 and target_arch=="ia32" and '
238             '(syzyasan==1 or syzygy_optimize==1)', {
239           'dependencies': [
240             '../chrome/installer/mini_installer_syzygy.gyp:*',
241           ],
242         }],
243       ],
244     }, # target_name: All_syzygy
245     {
246       # Note: Android uses android_builder_tests below.
247       # TODO: Consider merging that with this target.
248       'target_name': 'chromium_builder_tests',
249       'type': 'none',
250       'dependencies': [
251         '../base/base.gyp:base_unittests',
252         '../components/components_tests.gyp:components_unittests',
253         '../crypto/crypto.gyp:crypto_unittests',
254         '../net/net.gyp:net_unittests',
255         '../sql/sql.gyp:sql_unittests',
256         '../sync/sync.gyp:sync_unit_tests',
257         '../ui/gfx/gfx.gyp:gfx_unittests',
258         '../ui/ui_unittests.gyp:ui_unittests',
259         '../url/url.gyp:url_unittests',
260       ],
261       'conditions': [
262         ['OS!="ios" and OS!="android"', {
263           'dependencies': [
264             '../cc/cc_tests.gyp:cc_unittests',
265             '../chrome/chrome.gyp:browser_tests',
266             '../chrome/chrome.gyp:chromedriver_tests',
267             '../chrome/chrome.gyp:chromedriver_unittests',
268             '../chrome/chrome.gyp:interactive_ui_tests',
269             '../chrome/chrome.gyp:sync_integration_tests',
270             '../chrome/chrome.gyp:unit_tests',
271             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
272             '../content/content_shell_and_tests.gyp:content_browsertests',
273             '../content/content_shell_and_tests.gyp:content_shell',
274             '../content/content_shell_and_tests.gyp:content_unittests',
275             '../device/device_tests.gyp:device_unittests',
276             '../gin/gin.gyp:gin_unittests',
277             '../google_apis/google_apis.gyp:google_apis_unittests',
278             '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',
279             '../gpu/gpu.gyp:gpu_unittests',
280             '../ipc/ipc.gyp:ipc_tests',
281             '../jingle/jingle.gyp:jingle_unittests',
282             '../media/cast/cast.gyp:cast_unittests',
283             '../media/media.gyp:media_unittests',
284             '../mojo/mojo.gyp:mojo',
285             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
286             '../remoting/remoting.gyp:remoting_unittests',
287             '../third_party/WebKit/public/all.gyp:all_blink',
288             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
289             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
290             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
291             '../tools/telemetry/telemetry.gyp:*',
292             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
293           ],
294         }],
295         ['OS=="win"', {
296           'dependencies': [
297             '../chrome/chrome.gyp:crash_service',
298             '../chrome/chrome.gyp:installer_util_unittests',
299             '../chrome/chrome.gyp:mini_installer_test',
300             # mini_installer_tests depends on mini_installer. This should be
301             # defined in installer.gyp.
302             '../chrome/installer/mini_installer.gyp:mini_installer',
303             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
304             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
305             '../courgette/courgette.gyp:courgette_unittests',
306             '../sandbox/sandbox.gyp:sbox_integration_tests',
307             '../sandbox/sandbox.gyp:sbox_unittests',
308             '../sandbox/sandbox.gyp:sbox_validation_tests',
309             '../ui/app_list/app_list.gyp:app_list_unittests',
310           ],
311           'conditions': [
312             # remoting_host_installation uses lots of non-trivial GYP that tend
313             # to break because of differences between ninja and msbuild. Make
314             # sure this target is built by the builders on the main waterfall.
315             # See http://crbug.com/180600.
316             ['wix_exists == "True" and sas_dll_exists == "True"', {
317               'dependencies': [
318                 '../remoting/remoting.gyp:remoting_host_installation',
319               ],
320             }],
321             ['syzyasan==1', {
322               'variables': {
323                 # Disable incremental linking for all modules.
324                 # 0: inherit, 1: disabled, 2: enabled.
325                 'msvs_debug_link_incremental': '1',
326                 'msvs_large_module_debug_link_mode': '1',
327                 # Disable RTC. Syzygy explicitly doesn't support RTC
328                 # instrumented binaries for now.
329                 'win_debug_RuntimeChecks': '0',
330               },
331               'defines': [
332                 # Disable iterator debugging (huge speed boost).
333                 '_HAS_ITERATOR_DEBUGGING=0',
334               ],
335               'msvs_settings': {
336                 'VCLinkerTool': {
337                   # Enable profile information (necessary for SyzyAsan
338                   # instrumentation). This is incompatible with incremental
339                   # linking.
340                   'Profile': 'true',
341                 },
342               }
343             }],
344           ],
345         }],
346         ['OS=="linux"', {
347           'dependencies': [
348             '../dbus/dbus.gyp:dbus_unittests',
349             '../sandbox/sandbox.gyp:sandbox_linux_unittests',
350           ],
351         }],
352         ['OS=="mac"', {
353           'dependencies': [
354             '../ui/app_list/app_list.gyp:app_list_unittests',
355             '../ui/message_center/message_center.gyp:*',
356           ],
357         }],
358         ['test_isolation_mode != "noop"', {
359           'dependencies': [
360             'chromium_swarm_tests',
361           ],
362         }],
363         ['OS!="android"', {
364           'dependencies': [
365             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
366           ],
367         }],
368         ['enable_printing!=0', {
369           'dependencies': [
370             '../printing/printing.gyp:printing_unittests',
371           ],
372         }],
373         ['use_aura==1', {
374           'dependencies': [
375             '../ui/app_list/app_list.gyp:app_list_unittests',
376             '../ui/aura/aura.gyp:aura_unittests',
377             '../ui/compositor/compositor.gyp:compositor_unittests',
378             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
379             '../ui/views/views.gyp:views_unittests',
380           ],
381         }],
382         ['use_aura==1 or toolkit_views==1', {
383           'dependencies': [
384             '../ui/events/events.gyp:events_unittests',
385           ],
386         }],
387         ['use_ash==1', {
388           'dependencies': [
389             '../ash/ash.gyp:ash_unittests',
390           ],
391         }],
392       ],
393     }, # target_name: chromium_builder_tests
394     {
395       'target_name': 'chromium_2010_builder_tests',
396       'type': 'none',
397       'dependencies': [
398         'chromium_builder_tests',
399       ],
400     }, # target_name: chromium_2010_builder_tests
401   ],
402   'conditions': [
403     ['OS!="ios"', {
404       'targets': [
405         {
406           'target_name': 'blink_tests',
407           'type': 'none',
408           'dependencies': [
409             '../third_party/WebKit/public/all.gyp:all_blink',
410           ],
411           'conditions': [
412             ['OS=="android"', {
413               'dependencies': [
414                 '../content/content_shell_and_tests.gyp:content_shell_apk',
415                 '../breakpad/breakpad.gyp:dump_syms#host',
416                 '../breakpad/breakpad.gyp:minidump_stackwalk#host',
417               ],
418             }, {  # OS!="android"
419               'dependencies': [
420                 '../content/content_shell_and_tests.gyp:content_shell',
421               ],
422             }],
423             ['OS=="win"', {
424               'dependencies': [
425                 '../content/content_shell_and_tests.gyp:content_shell_crash_service',
426                 '../content/content_shell_and_tests.gyp:layout_test_helper',
427               ],
428             }],
429             ['OS!="win" and OS!="android"', {
430               'dependencies': [
431                 '../breakpad/breakpad.gyp:minidump_stackwalk',
432               ],
433             }],
434             ['OS=="mac"', {
435               'dependencies': [
436                 '../breakpad/breakpad.gyp:dump_syms#host',
437                 '../content/content_shell_and_tests.gyp:layout_test_helper',
438               ],
439             }],
440             ['OS=="linux"', {
441               'dependencies': [
442                 '../breakpad/breakpad.gyp:dump_syms',
443               ],
444             }],
445           ],
446         }, # target_name: blink_tests
447       ],
448     }], # OS!=ios
449     ['OS!="ios" and OS!="android"', {
450       'targets': [
451         {
452           'target_name': 'chromium_builder_nacl_win_integration',
453           'type': 'none',
454           'dependencies': [
455             'chromium_builder_qa', # needed for pyauto
456             'chromium_builder_tests',
457           ],
458         }, # target_name: chromium_builder_nacl_win_integration
459         {
460           'target_name': 'chromium_builder_perf',
461           'type': 'none',
462           'dependencies': [
463             '../cc/cc_tests.gyp:cc_perftests',
464             '../chrome/chrome.gyp:chrome',
465             '../chrome/chrome.gyp:load_library_perf_tests',
466             '../chrome/chrome.gyp:performance_browser_tests',
467             '../chrome/chrome.gyp:sync_performance_tests',
468             '../media/media.gyp:media_perftests',
469             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
470             '../tools/telemetry/telemetry.gyp:*',
471           ],
472           'conditions': [
473             ['OS!="ios" and OS!="win"', {
474               'dependencies': [
475                 '../breakpad/breakpad.gyp:minidump_stackwalk',
476               ],
477             }],
478             ['OS=="linux"', {
479               'dependencies': [
480                 '../chrome/chrome.gyp:linux_symbols'
481               ],
482             }],
483             ['OS=="win"', {
484               'dependencies': [
485                 '../chrome/chrome.gyp:crash_service',
486               ],
487             }],
488             ['OS=="win" and target_arch=="ia32"', {
489               'dependencies': [
490                 '../chrome/chrome.gyp:crash_service_win64',
491               ],
492             }],
493           ],
494         }, # target_name: chromium_builder_perf
495         {
496           'target_name': 'chromium_gpu_builder',
497           'type': 'none',
498           'dependencies': [
499             '../chrome/chrome.gyp:chrome',
500             '../chrome/chrome.gyp:performance_browser_tests',
501             '../content/content_shell_and_tests.gyp:content_browsertests',
502             '../content/content_shell_and_tests.gyp:content_gl_tests',
503             '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
504             '../gpu/gpu.gyp:gl_tests',
505             '../gpu/gpu.gyp:angle_unittests',
506             '../tools/telemetry/telemetry.gyp:*',
507           ],
508           'conditions': [
509             ['OS!="ios" and OS!="win"', {
510               'dependencies': [
511                 '../breakpad/breakpad.gyp:minidump_stackwalk',
512               ],
513             }],
514             ['OS=="linux"', {
515               'dependencies': [
516                 '../chrome/chrome.gyp:linux_symbols'
517               ],
518             }],
519             ['OS=="win"', {
520               'dependencies': [
521                 '../chrome/chrome.gyp:crash_service',
522               ],
523             }],
524             ['OS=="win" and target_arch=="ia32"', {
525               'dependencies': [
526                 '../chrome/chrome.gyp:crash_service_win64',
527               ],
528             }],
529           ],
530         }, # target_name: chromium_gpu_builder
531         {
532           'target_name': 'chromium_gpu_debug_builder',
533           'type': 'none',
534           'dependencies': [
535             '../chrome/chrome.gyp:chrome',
536             '../content/content_shell_and_tests.gyp:content_browsertests',
537             '../content/content_shell_and_tests.gyp:content_gl_tests',
538             '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test',
539             '../gpu/gpu.gyp:gl_tests',
540             '../gpu/gpu.gyp:angle_unittests',
541             '../tools/telemetry/telemetry.gyp:*',
542           ],
543           'conditions': [
544             ['OS!="ios" and OS!="win"', {
545               'dependencies': [
546                 '../breakpad/breakpad.gyp:minidump_stackwalk',
547               ],
548             }],
549             ['OS=="linux"', {
550               'dependencies': [
551                 '../chrome/chrome.gyp:linux_symbols'
552               ],
553             }],
554             ['OS=="win"', {
555               'dependencies': [
556                 '../chrome/chrome.gyp:crash_service',
557               ],
558             }],
559             ['OS=="win" and target_arch=="ia32"', {
560               'dependencies': [
561                 '../chrome/chrome.gyp:crash_service_win64',
562               ],
563             }],
564           ],
565         }, # target_name: chromium_gpu_debug_builder
566         {
567           'target_name': 'chromium_builder_qa',
568           'type': 'none',
569           'dependencies': [
570             '../chrome/chrome.gyp:chrome',
571             # Dependencies of pyauto_functional tests.
572             '../remoting/remoting.gyp:remoting_webapp',
573           ],
574           'conditions': [
575             ['OS=="mac"', {
576               'dependencies': [
577                 '../remoting/remoting.gyp:remoting_me2me_host_archive',
578               ],
579             }],
580             ['OS=="win"', {
581               'dependencies': [
582                 '../chrome/chrome.gyp:crash_service',
583               ],
584             }],
585             ['OS=="win" and target_arch=="ia32"', {
586               'dependencies': [
587                 '../chrome/chrome.gyp:crash_service_win64',
588               ],
589             }],
590             ['OS=="win" and component != "shared_library" and wix_exists == "True" and sas_dll_exists == "True"', {
591               'dependencies': [
592                 '../remoting/remoting.gyp:remoting_host_installation',
593               ],
594             }],
595           ],
596         }, # target_name: chromium_builder_qa
597         {
598           'target_name': 'chromium_builder_perf_av',
599           'type': 'none',
600           'dependencies': [
601             'blink_tests', # to run layout tests
602             'chromium_builder_qa',  # needed for perf pyauto tests
603           ],
604         },  # target_name: chromium_builder_perf_av
605         {
606           # This target contains everything we need to run tests on the special
607           # device-equipped WebRTC bots. We have device-requiring tests in
608           # browser_tests and content_browsertests.
609           'target_name': 'chromium_builder_webrtc',
610           'type': 'none',
611           'dependencies': [
612             'chromium_builder_qa',  # needed for perf pyauto tests
613             '../chrome/chrome.gyp:browser_tests',
614             '../content/content_shell_and_tests.gyp:content_browsertests',
615             '../content/content_shell_and_tests.gyp:content_unittests',
616             '../third_party/libjingle/libjingle.gyp:peerconnection_server',
617             '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
618             '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
619           ],
620           'conditions': [
621             ['OS=="win"', {
622               'dependencies': [
623                 '../chrome/chrome.gyp:crash_service',
624               ],
625             }],
626           ],
627         },  # target_name: chromium_builder_webrtc
628         {
629           'target_name': 'chromium_builder_chromedriver',
630           'type': 'none',
631           'dependencies': [
632             '../chrome/chrome.gyp:chromedriver',
633             '../chrome/chrome.gyp:chromedriver_tests',
634             '../chrome/chrome.gyp:chromedriver_unittests',
635           ],
636         },  # target_name: chromium_builder_chromedriver
637         {
638           'target_name': 'chromium_builder_asan',
639           'type': 'none',
640           'dependencies': [
641             '../chrome/chrome.gyp:chrome',
643             # We refer to content_shell directly rather than blink_tests
644             # because we don't want the _unittests binaries.
645             '../content/content_shell_and_tests.gyp:content_shell',
646           ],
647           'conditions': [
648             ['OS!="win"', {
649               'dependencies': [
650                 '../net/net.gyp:dns_fuzz_stub',
651                 '../skia/skia.gyp:filter_fuzz_stub',
652               ],
653             }],
654             ['enable_ipc_fuzzer==1 and OS=="linux" and component!="shared_library"', {
655               'dependencies': [
656                 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
657               ],
658             }],
659             ['chromeos==0', {
660               'dependencies': [
661                 '../v8/src/d8.gyp:d8#host',
662               ],
663             }],
664             ['internal_filter_fuzzer==1', {
665               'dependencies': [
666                 '../skia/tools/clusterfuzz-data/fuzzers/filter_fuzzer/filter_fuzzer.gyp:filter_fuzzer',
667               ],
668             }], # internal_filter_fuzzer
669             ['OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1', {
670               'dependencies': [
671                 '../chrome/chrome_syzygy.gyp:chrome_dll_syzygy',
672                 '../content/content_shell_and_tests.gyp:content_shell_syzyasan',
673               ],
674               'conditions': [
675                 ['chrome_multiple_dll==1', {
676                   'dependencies': [
677                     '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
678                   ],
679                 }],
680               ],
681             }],
682           ],
683         },
684         {
685           'target_name': 'chromium_builder_nacl_sdk',
686           'type': 'none',
687           'dependencies': [
688             '../chrome/chrome.gyp:chrome',
689           ],
690           'conditions': [
691             ['OS=="win"', {
692               'dependencies': [
693                 '../chrome/chrome.gyp:chrome_nacl_win64',
694               ]
695             }],
696           ],
697         },  #target_name: chromium_builder_nacl_sdk
698       ],  # targets
699     }], #OS!=ios and OS!=android
700     ['OS=="android"', {
701       'targets': [
702         {
703           # The current list of tests for android.  This is temporary
704           # until the full set supported.  If adding a new test here,
705           # please also add it to build/android/pylib/gtest/gtest_config.py,
706           # else the test is not run.
707           #
708           # WARNING:
709           # Do not add targets here without communicating the implications
710           # on tryserver triggers and load.  Discuss with
711           # chrome-infrastructure-team please.
712           'target_name': 'android_builder_tests',
713           'type': 'none',
714           'dependencies': [
715             '../android_webview/android_webview.gyp:android_webview_unittests',
716             '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
717             '../base/base.gyp:base_unittests',
718             '../breakpad/breakpad.gyp:breakpad_unittests_stripped',
719             # Also compile the tools needed to deal with minidumps, they are
720             # needed to run minidump tests upstream.
721             '../breakpad/breakpad.gyp:dump_syms#host',
722             '../breakpad/breakpad.gyp:symupload#host',
723             '../breakpad/breakpad.gyp:minidump_dump#host',
724             '../breakpad/breakpad.gyp:minidump_stackwalk#host',
725             '../build/android/tests/multiple_proguards/multiple_proguards.gyp:multiple_proguards_test_apk',
726             '../cc/cc_tests.gyp:cc_perftests_apk',
727             '../cc/cc_tests.gyp:cc_unittests',
728             '../chrome/chrome.gyp:unit_tests',
729             '../components/components_tests.gyp:components_unittests',
730             '../content/content_shell_and_tests.gyp:content_browsertests',
731             '../content/content_shell_and_tests.gyp:content_gl_tests',
732             '../content/content_shell_and_tests.gyp:chromium_linker_test_apk',
733             '../content/content_shell_and_tests.gyp:content_shell_test_apk',
734             '../content/content_shell_and_tests.gyp:content_unittests',
735             '../gpu/gpu.gyp:gl_tests',
736             '../gpu/gpu.gyp:gpu_unittests',
737             '../ipc/ipc.gyp:ipc_tests',
738             '../media/media.gyp:media_perftests_apk',
739             '../media/media.gyp:media_unittests',
740             '../net/net.gyp:net_unittests',
741             '../sandbox/sandbox.gyp:sandbox_linux_unittests_stripped',
742             '../sql/sql.gyp:sql_unittests',
743             '../sync/sync.gyp:sync_unit_tests',
744             '../third_party/WebKit/public/all.gyp:*',
745             '../tools/android/android_tools.gyp:android_tools',
746             '../tools/android/android_tools.gyp:memconsumer',
747             '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
748             '../ui/events/events.gyp:events_unittests',
749             '../ui/ui_unittests.gyp:ui_unittests',
750             # Required by ui_unittests.
751             # TODO(wangxianzhu): It'd better let ui_unittests depend on it, but
752             # this would cause circular gyp dependency which needs refactoring the
753             # gyps to resolve.
754             '../chrome/chrome_resources.gyp:packed_resources',
755           ],
756           'conditions': [
757             ['"<(gtest_target_type)"=="shared_library"', {
758               'dependencies': [
759                 # Unit test bundles packaged as an apk.
760                 '../android_webview/android_webview.gyp:android_webview_unittests_apk',
761                 '../base/base.gyp:base_unittests_apk',
762                 '../cc/cc_tests.gyp:cc_unittests_apk',
763                 '../chrome/chrome.gyp:unit_tests_apk',
764                 '../components/components_tests.gyp:components_unittests_apk',
765                 '../content/content_shell_and_tests.gyp:content_browsertests_apk',
766                 '../content/content_shell_and_tests.gyp:content_gl_tests_apk',
767                 '../content/content_shell_and_tests.gyp:content_unittests_apk',
768                 '../content/content_shell_and_tests.gyp:video_decode_accelerator_unittest_apk',
769                 '../gpu/gpu.gyp:gl_tests_apk',
770                 '../gpu/gpu.gyp:gpu_unittests_apk',
771                 '../ipc/ipc.gyp:ipc_tests_apk',
772                 '../media/media.gyp:media_unittests_apk',
773                 '../net/net.gyp:net_unittests_apk',
774                 '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
775                 '../sql/sql.gyp:sql_unittests_apk',
776                 '../sync/sync.gyp:sync_unit_tests_apk',
777                 '../ui/events/events.gyp:events_unittests_apk',
778                 '../ui/gfx/gfx.gyp:gfx_unittests_apk',
779                 '../ui/ui_unittests.gyp:ui_unittests_apk',
780                 '../android_webview/android_webview.gyp:android_webview_test_apk',
781                 '../chrome/chrome.gyp:chrome_shell_test_apk',
782                 '../chrome/chrome.gyp:chrome_shell_uiautomator_tests',
783                 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests_apk'
784               ],
785             }],
786           ],
787         },
788         {
789           # WebRTC Android APK tests.
790           'target_name': 'android_builder_webrtc',
791           'type': 'none',
792           'variables': {
793             # Set default value for include_tests to '0'. It is normally only
794             # used in WebRTC GYP files. It is set to '1' only when building
795             # WebRTC for Android, inside a Chromium checkout.
796             'include_tests%': 0,
797           },
798           'conditions': [
799             ['"<(gtest_target_type)"=="shared_library" and include_tests==1', {
800               'dependencies': [
801                 '../third_party/webrtc/build/apk_tests.gyp:*',
802               ],
803             }],
804           ],
805         },  # target_name: android_builder_webrtc
806         {
807           # WebRTC Chromium tests to run on Android.
808           'target_name': 'android_builder_chromium_webrtc',
809           'type': 'none',
810           'dependencies': [
811             '../content/content_shell_and_tests.gyp:content_browsertests',
812             '../tools/android/android_tools.gyp:android_tools',
813             '../tools/android/android_tools.gyp:memconsumer',
814           ],
815           'conditions': [
816             ['"<(gtest_target_type)"=="shared_library"', {
817               'dependencies': [
818                 # Unit test bundles packaged as an apk.
819                 '../content/content_shell_and_tests.gyp:content_browsertests_apk',
820               ],
821             }],
822           ],
823         },  # target_name: android_builder_chromium_webrtc
824         {
825           # Build the java portions of the binary size analysis tool.
826           'target_name': 'binary_size_tool',
827           'type': 'none',
828           'dependencies': [
829             '../tools/binary_size/binary_size.gyp:binary_size_java',
830           ],
831         },
832       ], # targets
833     }], # OS="android"
834     ['OS=="mac"', {
835       'targets': [
836         {
837           # Target to build everything plus the dmg.  We don't put the dmg
838           # in the All target because developers really don't need it.
839           'target_name': 'all_and_dmg',
840           'type': 'none',
841           'dependencies': [
842             'All',
843             '../chrome/chrome.gyp:build_app_dmg',
844           ],
845         },
846         # These targets are here so the build bots can use them to build
847         # subsets of a full tree for faster cycle times.
848         {
849           'target_name': 'chromium_builder_dbg',
850           'type': 'none',
851           'dependencies': [
852             '../cc/cc_tests.gyp:cc_unittests',
853             '../chrome/chrome.gyp:browser_tests',
854             '../chrome/chrome.gyp:interactive_ui_tests',
855             '../chrome/chrome.gyp:sync_integration_tests',
856             '../chrome/chrome.gyp:unit_tests',
857             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
858             '../components/components_tests.gyp:components_unittests',
859             '../content/content_shell_and_tests.gyp:content_browsertests',
860             '../content/content_shell_and_tests.gyp:content_unittests',
861             '../device/device_tests.gyp:device_unittests',
862             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
863             '../gpu/gpu.gyp:gpu_unittests',
864             '../ipc/ipc.gyp:ipc_tests',
865             '../jingle/jingle.gyp:jingle_unittests',
866             '../media/media.gyp:media_unittests',
867             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
868             '../printing/printing.gyp:printing_unittests',
869             '../remoting/remoting.gyp:remoting_unittests',
870             '../rlz/rlz.gyp:*',
871             '../sql/sql.gyp:sql_unittests',
872             '../sync/sync.gyp:sync_unit_tests',
873             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
874             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
875             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
876             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
877             '../tools/telemetry/telemetry.gyp:*',
878             '../ui/gfx/gfx.gyp:gfx_unittests',
879             '../ui/ui_unittests.gyp:ui_unittests',
880             '../url/url.gyp:url_unittests',
881             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
882           ],
883         },
884         {
885           'target_name': 'chromium_builder_rel',
886           'type': 'none',
887           'dependencies': [
888             '../cc/cc_tests.gyp:cc_unittests',
889             '../chrome/chrome.gyp:browser_tests',
890             '../chrome/chrome.gyp:performance_browser_tests',
891             '../chrome/chrome.gyp:sync_integration_tests',
892             '../chrome/chrome.gyp:unit_tests',
893             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
894             '../components/components_tests.gyp:components_unittests',
895             '../content/content_shell_and_tests.gyp:content_browsertests',
896             '../content/content_shell_and_tests.gyp:content_unittests',
897             '../device/device_tests.gyp:device_unittests',
898             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
899             '../gpu/gpu.gyp:gpu_unittests',
900             '../ipc/ipc.gyp:ipc_tests',
901             '../jingle/jingle.gyp:jingle_unittests',
902             '../media/media.gyp:media_unittests',
903             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
904             '../printing/printing.gyp:printing_unittests',
905             '../remoting/remoting.gyp:remoting_unittests',
906             '../sql/sql.gyp:sql_unittests',
907             '../sync/sync.gyp:sync_unit_tests',
908             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
909             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
910             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
911             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
912             '../tools/telemetry/telemetry.gyp:*',
913             '../ui/gfx/gfx.gyp:gfx_unittests',
914             '../ui/ui_unittests.gyp:ui_unittests',
915             '../url/url.gyp:url_unittests',
916             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
917           ],
918         },
919         {
920           'target_name': 'chromium_builder_dbg_tsan_mac',
921           'type': 'none',
922           'dependencies': [
923             '../base/base.gyp:base_unittests',
924             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
925             '../crypto/crypto.gyp:crypto_unittests',
926             '../ipc/ipc.gyp:ipc_tests',
927             '../jingle/jingle.gyp:jingle_unittests',
928             '../media/media.gyp:media_unittests',
929             '../net/net.gyp:net_unittests',
930             '../printing/printing.gyp:printing_unittests',
931             '../remoting/remoting.gyp:remoting_unittests',
932             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
933             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
934             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
935             '../url/url.gyp:url_unittests',
936           ],
937         },
938         {
939           # TODO(dpranke): Update the bots to refer to 'chromium_builder_asan'.
940           'target_name': 'chromium_builder_asan_mac',
941           'type': 'none',
942           'dependencies': [
943             'chromium_builder_asan'
944           ],
945         },
946         {
947           'target_name': 'chromium_builder_dbg_valgrind_mac',
948           'type': 'none',
949           'dependencies': [
950             '../base/base.gyp:base_unittests',
951             '../chrome/chrome.gyp:unit_tests',
952             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
953             '../components/components_tests.gyp:components_unittests',
954             '../content/content_shell_and_tests.gyp:content_unittests',
955             '../crypto/crypto.gyp:crypto_unittests',
956             '../device/device_tests.gyp:device_unittests',
957             '../ipc/ipc.gyp:ipc_tests',
958             '../jingle/jingle.gyp:jingle_unittests',
959             '../media/media.gyp:media_unittests',
960             '../net/net.gyp:net_unittests',
961             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
962             '../printing/printing.gyp:printing_unittests',
963             '../remoting/remoting.gyp:remoting_unittests',
964             '../sql/sql.gyp:sql_unittests',
965             '../sync/sync.gyp:sync_unit_tests',
966             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
967             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
968             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
969             '../ui/gfx/gfx.gyp:gfx_unittests',
970             '../ui/ui_unittests.gyp:ui_unittests',
971             '../url/url.gyp:url_unittests',
972           ],
973         },
974       ],  # targets
975     }], # OS="mac"
976     ['OS=="win"', {
977       'targets': [
978         # These targets are here so the build bots can use them to build
979         # subsets of a full tree for faster cycle times.
980         {
981           'target_name': 'chromium_builder',
982           'type': 'none',
983           'dependencies': [
984             '../cc/cc_tests.gyp:cc_unittests',
985             '../chrome/chrome.gyp:browser_tests',
986             '../chrome/chrome.gyp:gcapi_test',
987             '../chrome/chrome.gyp:installer_util_unittests',
988             '../chrome/chrome.gyp:interactive_ui_tests',
989             '../chrome/chrome.gyp:mini_installer_test',
990             '../chrome/chrome.gyp:performance_browser_tests',
991             '../chrome/chrome.gyp:sync_integration_tests',
992             '../chrome/chrome.gyp:unit_tests',
993             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
994             '../components/components_tests.gyp:components_unittests',
995             '../content/content_shell_and_tests.gyp:content_browsertests',
996             '../content/content_shell_and_tests.gyp:content_unittests',
997             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
998             # mini_installer_tests depends on mini_installer. This should be
999             # defined in installer.gyp.
1000             '../chrome/installer/mini_installer.gyp:mini_installer',
1001             '../courgette/courgette.gyp:courgette_unittests',
1002             '../device/device_tests.gyp:device_unittests',
1003             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1004             '../gpu/gpu.gyp:gpu_unittests',
1005             '../ipc/ipc.gyp:ipc_tests',
1006             '../jingle/jingle.gyp:jingle_unittests',
1007             '../media/media.gyp:media_unittests',
1008             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1009             '../printing/printing.gyp:printing_unittests',
1010             '../remoting/remoting.gyp:remoting_unittests',
1011             '../sql/sql.gyp:sql_unittests',
1012             '../sync/sync.gyp:sync_unit_tests',
1013             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1014             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1015             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1016             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
1017             '../tools/telemetry/telemetry.gyp:*',
1018             '../ui/events/events.gyp:events_unittests',
1019             '../ui/gfx/gfx.gyp:gfx_unittests',
1020             '../ui/ui_unittests.gyp:ui_unittests',
1021             '../ui/views/views.gyp:views_unittests',
1022             '../url/url.gyp:url_unittests',
1023             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
1024           ],
1025         },
1026         {
1027           'target_name': 'chromium_builder_win_cf',
1028           'type': 'none',
1029         },
1030         {
1031           'target_name': 'chromium_builder_dbg_tsan_win',
1032           'type': 'none',
1033           'dependencies': [
1034             '../base/base.gyp:base_unittests',
1035             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1036             '../components/components_tests.gyp:components_unittests',
1037             '../content/content_shell_and_tests.gyp:content_unittests',
1038             '../crypto/crypto.gyp:crypto_unittests',
1039             '../ipc/ipc.gyp:ipc_tests',
1040             '../jingle/jingle.gyp:jingle_unittests',
1041             '../media/media.gyp:media_unittests',
1042             '../net/net.gyp:net_unittests',
1043             '../printing/printing.gyp:printing_unittests',
1044             '../remoting/remoting.gyp:remoting_unittests',
1045             '../sql/sql.gyp:sql_unittests',
1046             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1047             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1048             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1049             '../url/url.gyp:url_unittests',
1050           ],
1051         },
1052         {
1053           'target_name': 'chromium_builder_dbg_drmemory_win',
1054           'type': 'none',
1055           'dependencies': [
1056             '../base/base.gyp:base_unittests',
1057             '../chrome/chrome.gyp:unit_tests',
1058             '../chrome/chrome.gyp:browser_tests',
1059             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1060             '../components/components_tests.gyp:components_unittests',
1061             '../content/content_shell_and_tests.gyp:content_browsertests',
1062             '../content/content_shell_and_tests.gyp:content_shell',
1063             '../content/content_shell_and_tests.gyp:content_unittests',
1064             '../crypto/crypto.gyp:crypto_unittests',
1065             '../device/device_tests.gyp:device_unittests',
1066             '../ipc/ipc.gyp:ipc_tests',
1067             '../jingle/jingle.gyp:jingle_unittests',
1068             '../media/media.gyp:media_unittests',
1069             '../net/net.gyp:net_unittests',
1070             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1071             '../printing/printing.gyp:printing_unittests',
1072             '../remoting/remoting.gyp:remoting_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/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1077             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1078             '../url/url.gyp:url_unittests',
1079           ],
1080         },
1081         {
1082           'target_name': 'webkit_builder_win',
1083           'type': 'none',
1084           'dependencies': [
1085             'blink_tests',
1086           ],
1087         },
1088       ],  # targets
1089       'conditions': [
1090         ['branding=="Chrome"', {
1091           'targets': [
1092             {
1093               'target_name': 'chrome_official_builder',
1094               'type': 'none',
1095               'dependencies': [
1096                 '../base/base.gyp:base_unittests',
1097                 '../chrome/chrome.gyp:crash_service',
1098                 '../chrome/chrome.gyp:gcapi_dll',
1099                 '../chrome/chrome.gyp:pack_policy_templates',
1100                 '../chrome/installer/mini_installer.gyp:mini_installer',
1101                 '../cloud_print/cloud_print.gyp:cloud_print',
1102                 '../courgette/courgette.gyp:courgette',
1103                 '../courgette/courgette.gyp:courgette64',
1104                 '../ipc/ipc.gyp:ipc_tests',
1105                 '../media/media.gyp:media_unittests',
1106                 '../net/net.gyp:net_unittests_run',
1107                 '../printing/printing.gyp:printing_unittests',
1108                 '../remoting/remoting.gyp:remoting_webapp',
1109                 '../sql/sql.gyp:sql_unittests',
1110                 '../sync/sync.gyp:sync_unit_tests',
1111                 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
1112                 '../ui/gfx/gfx.gyp:gfx_unittests',
1113                 '../ui/ui_unittests.gyp:ui_unittests',
1114                 '../ui/views/views.gyp:views_unittests',
1115                 '../url/url.gyp:url_unittests',
1116               ],
1117               'conditions': [
1118                 ['internal_pdf', {
1119                   'dependencies': [
1120                     '../pdf/pdf.gyp:pdf',
1121                   ],
1122                 }], # internal_pdf
1123                 ['target_arch=="ia32"', {
1124                   'dependencies': [
1125                     '../chrome/chrome.gyp:crash_service_win64',
1126                   ],
1127                 }],
1128                 ['component != "shared_library" and wix_exists == "True" and \
1129                     sas_dll_exists == "True"', {
1130                   'dependencies': [
1131                     '../remoting/remoting.gyp:remoting_host_installation',
1132                   ],
1133                 }], # component != "shared_library"
1134               ]
1135             },
1136           ], # targets
1137         }], # branding=="Chrome"
1138        ], # conditions
1139     }], # OS="win"
1140     ['use_aura==1', {
1141       'targets': [
1142         {
1143           'target_name': 'aura_builder',
1144           'type': 'none',
1145           'dependencies': [
1146             '../cc/cc_tests.gyp:cc_unittests',
1147             '../chrome/chrome.gyp:browser_tests',
1148             '../chrome/chrome.gyp:chrome',
1149             '../chrome/chrome.gyp:interactive_ui_tests',
1150             '../chrome/chrome.gyp:unit_tests',
1151             '../components/components_tests.gyp:components_unittests',
1152             '../content/content_shell_and_tests.gyp:content_browsertests',
1153             '../content/content_shell_and_tests.gyp:content_unittests',
1154             '../device/device_tests.gyp:device_unittests',
1155             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1156             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1157             '../remoting/remoting.gyp:remoting_unittests',
1158             '../ui/app_list/app_list.gyp:*',
1159             '../ui/aura/aura.gyp:*',
1160             '../ui/compositor/compositor.gyp:*',
1161             '../ui/events/events.gyp:*',
1162             '../ui/gfx/gfx.gyp:gfx_unittests',
1163             '../ui/keyboard/keyboard.gyp:*',
1164             '../ui/message_center/message_center.gyp:*',
1165             '../ui/snapshot/snapshot.gyp:snapshot_unittests',
1166             '../ui/ui_unittests.gyp:ui_unittests',
1167             '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1168             '../ui/views/views.gyp:views',
1169             '../ui/views/views.gyp:views_unittests',
1170             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
1171             'blink_tests',
1172           ],
1173           'conditions': [
1174             ['OS=="win"', {
1175               'dependencies': [
1176                 '../chrome/chrome.gyp:crash_service',
1177               ],
1178             }],
1179             ['OS=="win" and target_arch=="ia32"', {
1180               'dependencies': [
1181                 '../chrome/chrome.gyp:crash_service_win64',
1182               ],
1183             }],
1184             ['use_ash==1', {
1185               'dependencies': [
1186                 '../ash/ash.gyp:ash_shell',
1187                 '../ash/ash.gyp:ash_unittests',
1188               ],
1189             }],
1190             ['OS=="linux"', {
1191               # Tests that currently only work on Linux.
1192               'dependencies': [
1193                 '../base/base.gyp:base_unittests',
1194                 '../ipc/ipc.gyp:ipc_tests',
1195                 '../sql/sql.gyp:sql_unittests',
1196                 '../sync/sync.gyp:sync_unit_tests',
1197               ],
1198             }],
1199             ['chromeos==1', {
1200               'dependencies': [
1201                 '../chromeos/chromeos.gyp:chromeos_unittests',
1202               ],
1203             }],
1204           ],
1205         },
1206       ],  # targets
1207     }, {
1208       'conditions': [
1209         ['OS=="linux"', {
1210           # TODO(thakis): Remove this once the linux gtk bot no longer references
1211           # it (probably after the first aura release on linux), see r249162
1212           'targets': [
1213             {
1214               'target_name': 'aura_builder',
1215               'type': 'none',
1216               'dependencies': [
1217                 '../chrome/chrome.gyp:chrome',
1218               ],
1219             },
1220           ],  # targets
1221       }]], # OS=="linux"
1222     }], # "use_aura==1"
1223     ['test_isolation_mode != "noop"', {
1224       'targets': [
1225         {
1226           'target_name': 'chromium_swarm_tests',
1227           'type': 'none',
1228           'dependencies': [
1229             '../base/base.gyp:base_unittests_run',
1230             '../chrome/chrome.gyp:browser_tests_run',
1231             '../chrome/chrome.gyp:interactive_ui_tests_run',
1232             # http://crbug.com/157234
1233             #'../chrome/chrome.gyp:sync_integration_tests_run',
1234             '../chrome/chrome.gyp:unit_tests_run',
1235             '../net/net.gyp:net_unittests_run',
1236           ],
1237         }, # target_name: chromium_swarm_tests
1238       ],
1239     }],
1240   ], # conditions