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