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