Use [UIScreen mainScreen] instead of [[UIScreen screens] objectAtIndex:0].
[chromium-blink-merge.git] / build / all.gyp
blobc4c1ce1d4bb36ea0f19cf48e48ac93a54098a74b
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_shell_crash_service',
1059             '../content/content_shell_and_tests.gyp:layout_test_helper',
1060             '../content/content_shell_and_tests.gyp:content_unittests',
1061             '../crypto/crypto.gyp:crypto_unittests',
1062             '../device/device_tests.gyp:device_unittests',
1063             '../ipc/ipc.gyp:ipc_tests',
1064             '../jingle/jingle.gyp:jingle_unittests',
1065             '../media/media.gyp:media_unittests',
1066             '../net/net.gyp:net_unittests',
1067             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1068             '../gpu/gpu.gyp:gpu_unittests',
1069             '../printing/printing.gyp:printing_unittests',
1070             '../remoting/remoting.gyp:remoting_unittests',
1071             '../sql/sql.gyp:sql_unittests',
1072             '../sync/sync.gyp:sync_unit_tests',
1073             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1074             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1075             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1076             '../url/url.gyp:url_unittests',
1077           ],
1078         },
1079         {
1080           'target_name': 'webkit_builder_win',
1081           'type': 'none',
1082           'dependencies': [
1083             'blink_tests',
1084           ],
1085         },
1086       ],  # targets
1087       'conditions': [
1088         ['branding=="Chrome"', {
1089           'targets': [
1090             {
1091               'target_name': 'chrome_official_builder',
1092               'type': 'none',
1093               'dependencies': [
1094                 '../base/base.gyp:base_unittests',
1095                 '../chrome/chrome.gyp:crash_service',
1096                 '../chrome/chrome.gyp:gcapi_dll',
1097                 '../chrome/chrome.gyp:pack_policy_templates',
1098                 '../chrome/installer/mini_installer.gyp:mini_installer',
1099                 '../cloud_print/cloud_print.gyp:cloud_print',
1100                 '../courgette/courgette.gyp:courgette',
1101                 '../courgette/courgette.gyp:courgette64',
1102                 '../ipc/ipc.gyp:ipc_tests',
1103                 '../media/media.gyp:media_unittests',
1104                 '../net/net.gyp:net_unittests_run',
1105                 '../printing/printing.gyp:printing_unittests',
1106                 '../remoting/remoting.gyp:remoting_webapp',
1107                 '../sql/sql.gyp:sql_unittests',
1108                 '../sync/sync.gyp:sync_unit_tests',
1109                 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
1110                 '../ui/gfx/gfx.gyp:gfx_unittests',
1111                 '../ui/ui_unittests.gyp:ui_unittests',
1112                 '../ui/views/views.gyp:views_unittests',
1113                 '../url/url.gyp:url_unittests',
1114               ],
1115               'conditions': [
1116                 ['internal_pdf', {
1117                   'dependencies': [
1118                     '../pdf/pdf.gyp:pdf',
1119                   ],
1120                 }], # internal_pdf
1121                 ['target_arch=="ia32"', {
1122                   'dependencies': [
1123                     '../chrome/chrome.gyp:crash_service_win64',
1124                   ],
1125                 }],
1126                 ['component != "shared_library" and wix_exists == "True" and \
1127                     sas_dll_exists == "True"', {
1128                   'dependencies': [
1129                     '../remoting/remoting.gyp:remoting_host_installation',
1130                   ],
1131                 }], # component != "shared_library"
1132               ]
1133             },
1134           ], # targets
1135         }], # branding=="Chrome"
1136        ], # conditions
1137     }], # OS="win"
1138     ['use_aura==1', {
1139       'targets': [
1140         {
1141           'target_name': 'aura_builder',
1142           'type': 'none',
1143           'dependencies': [
1144             '../cc/cc_tests.gyp:cc_unittests',
1145             '../chrome/chrome.gyp:browser_tests',
1146             '../chrome/chrome.gyp:chrome',
1147             '../chrome/chrome.gyp:interactive_ui_tests',
1148             '../chrome/chrome.gyp:unit_tests',
1149             '../components/components_tests.gyp:components_unittests',
1150             '../content/content_shell_and_tests.gyp:content_browsertests',
1151             '../content/content_shell_and_tests.gyp:content_unittests',
1152             '../device/device_tests.gyp:device_unittests',
1153             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1154             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1155             '../remoting/remoting.gyp:remoting_unittests',
1156             '../ui/app_list/app_list.gyp:*',
1157             '../ui/aura/aura.gyp:*',
1158             '../ui/compositor/compositor.gyp:*',
1159             '../ui/events/events.gyp:*',
1160             '../ui/wm/wm.gyp:*',
1161             '../ui/gfx/gfx.gyp:gfx_unittests',
1162             '../ui/keyboard/keyboard.gyp:*',
1163             '../ui/message_center/message_center.gyp:*',
1164             '../ui/snapshot/snapshot.gyp:snapshot_unittests',
1165             '../ui/ui_unittests.gyp:ui_unittests',
1166             '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1167             '../ui/views/views.gyp:views',
1168             '../ui/views/views.gyp:views_unittests',
1169             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
1170             'blink_tests',
1171           ],
1172           'conditions': [
1173             ['OS=="win"', {
1174               'dependencies': [
1175                 '../chrome/chrome.gyp:crash_service',
1176               ],
1177             }],
1178             ['OS=="win" and target_arch=="ia32"', {
1179               'dependencies': [
1180                 '../chrome/chrome.gyp:crash_service_win64',
1181               ],
1182             }],
1183             ['use_ash==1', {
1184               'dependencies': [
1185                 '../ash/ash.gyp:ash_shell',
1186                 '../ash/ash.gyp:ash_unittests',
1187               ],
1188             }],
1189             ['OS=="linux"', {
1190               # Tests that currently only work on Linux.
1191               'dependencies': [
1192                 '../base/base.gyp:base_unittests',
1193                 '../ipc/ipc.gyp:ipc_tests',
1194                 '../sql/sql.gyp:sql_unittests',
1195                 '../sync/sync.gyp:sync_unit_tests',
1196               ],
1197             }],
1198             ['chromeos==1', {
1199               'dependencies': [
1200                 '../chromeos/chromeos.gyp:chromeos_unittests',
1201               ],
1202             }],
1203             ['use_ozone==1', {
1204               'dependencies!': [
1205                 '../chrome/chrome.gyp:interactive_ui_tests',  # crbug.com/362166
1206               ],
1207             }],
1208           ],
1209         },
1210       ],  # targets
1211     }, {
1212       'conditions': [
1213         ['OS=="linux"', {
1214           # TODO(thakis): Remove this once the linux gtk bot no longer references
1215           # it (probably after the first aura release on linux), see r249162
1216           'targets': [
1217             {
1218               'target_name': 'aura_builder',
1219               'type': 'none',
1220               'dependencies': [
1221                 '../chrome/chrome.gyp:chrome',
1222               ],
1223             },
1224           ],  # targets
1225       }]], # OS=="linux"
1226     }], # "use_aura==1"
1227     ['test_isolation_mode != "noop"', {
1228       'targets': [
1229         {
1230           'target_name': 'chromium_swarm_tests',
1231           'type': 'none',
1232           'dependencies': [
1233             '../base/base.gyp:base_unittests_run',
1234             '../chrome/chrome.gyp:browser_tests_run',
1235             '../chrome/chrome.gyp:interactive_ui_tests_run',
1236             # http://crbug.com/157234
1237             #'../chrome/chrome.gyp:sync_integration_tests_run',
1238             '../chrome/chrome.gyp:unit_tests_run',
1239             '../net/net.gyp:net_unittests_run',
1240           ],
1241         }, # target_name: chromium_swarm_tests
1242       ],
1243     }],
1244   ], # conditions