Make sure app windows always have WS_CAPTION.
[chromium-blink-merge.git] / build / all.gyp
blobcd985c56881760ffb32b871fa9b38ed87543d6d7
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             '../mojo/mojo.gyp:mojo_test_apk',
50             '<@(android_app_targets)',
51             'android_builder_tests',
52             '../android_webview/android_webview.gyp:android_webview_apk',
53             '../chrome/chrome.gyp:chrome_shell_apk',
54             '../remoting/remoting.gyp:remoting_apk',
55             '../tools/telemetry/telemetry.gyp:*#host',
56             # TODO(nyquist) This should instead by a target for sync when all of
57             # the sync-related code for Android has been upstreamed.
58             # See http://crbug.com/159203
59             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_javalib',
60           ],
61         }, {
62           'dependencies': [
63             '../content/content_shell_and_tests.gyp:*',
64             # TODO: This should build on Android and the target should move to the list above.
65             '../sync/sync.gyp:*',
66           ],
67         }],
68         ['OS!="ios" and OS!="android"', {
69           'dependencies': [
70             '../third_party/re2/re2.gyp:re2',
71             '../chrome/chrome.gyp:*',
72             '../cc/cc_tests.gyp:*',
73             '../device/bluetooth/bluetooth.gyp:*',
74             '../device/device_tests.gyp:*',
75             '../device/usb/usb.gyp:*',
76             '../gin/gin.gyp:*',
77             '../gpu/gpu.gyp:*',
78             '../gpu/tools/tools.gyp:*',
79             '../ipc/ipc.gyp:*',
80             '../jingle/jingle.gyp:*',
81             '../media/cast/cast.gyp:*',
82             '../media/media.gyp:*',
83             '../mojo/mojo.gyp:*',
84             '../ppapi/ppapi.gyp:*',
85             '../ppapi/ppapi_internal.gyp:*',
86             '../ppapi/tools/ppapi_tools.gyp:*',
87             '../printing/printing.gyp:*',
88             '../skia/skia.gyp:*',
89             '../third_party/WebKit/public/all.gyp:*',
90             '../third_party/cacheinvalidation/cacheinvalidation.gyp:*',
91             '../third_party/codesighs/codesighs.gyp:*',
92             '../third_party/ffmpeg/ffmpeg.gyp:*',
93             '../third_party/iccjpeg/iccjpeg.gyp:*',
94             '../third_party/libpng/libpng.gyp:*',
95             '../third_party/libusb/libusb.gyp:*',
96             '../third_party/libwebp/libwebp.gyp:*',
97             '../third_party/libxslt/libxslt.gyp:*',
98             '../third_party/lzma_sdk/lzma_sdk.gyp:*',
99             '../third_party/mesa/mesa.gyp:*',
100             '../third_party/modp_b64/modp_b64.gyp:*',
101             '../third_party/npapi/npapi.gyp:*',
102             '../third_party/ots/ots.gyp:*',
103             '../third_party/qcms/qcms.gyp:*',
104             '../tools/gn/gn.gyp:*',
105             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
106             '../tools/telemetry/telemetry.gyp:*',
107             '../v8/tools/gyp/v8.gyp:*',
108             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:*',
109             '<(libjpeg_gyp_path):*',
110           ],
111         }],
112         ['OS!="android" and OS!="ios"', {
113           'dependencies': [
114             '../chrome/tools/profile_reset/jtl_compiler.gyp:*',
115           ],
116         }],
117         ['OS=="mac" or OS=="ios" or OS=="win"', {
118           'dependencies': [
119             '../third_party/nss/nss.gyp:*',
120            ],
121         }],
122         ['OS=="win" or OS=="ios" or OS=="linux"', {
123           'dependencies': [
124             '../breakpad/breakpad.gyp:*',
125            ],
126         }],
127         ['OS=="mac"', {
128           'dependencies': [
129             '../sandbox/sandbox.gyp:*',
130             '../third_party/ocmock/ocmock.gyp:*',
131           ],
132         }],
133         ['OS=="linux"', {
134           'dependencies': [
135             '../courgette/courgette.gyp:*',
136             '../dbus/dbus.gyp:*',
137             '../sandbox/sandbox.gyp:*',
138           ],
139           'conditions': [
140             ['branding=="Chrome"', {
141               'dependencies': [
142                 '../chrome/chrome.gyp:linux_packages_<(channel)',
143               ],
144             }],
145             ['enable_ipc_fuzzer==1', {
146               'dependencies': [
147                 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
148               ],
149             }],
150           ],
151         }],
152         ['use_x11==1', {
153           'dependencies': [
154             '../tools/xdisplaycheck/xdisplaycheck.gyp:*',
155           ],
156         }],
157         ['OS=="win"', {
158           'conditions': [
159             ['win_use_allocator_shim==1', {
160               'dependencies': [
161                 '../base/allocator/allocator.gyp:*',
162               ],
163             }],
164             # Don't enable dependencies that don't work on Win64.
165             ['target_arch!="x64"', {
166               'dependencies': [
167                 # TODO(jschuh) Enable Win64 Memory Watcher. crbug.com/176877
168                 '../tools/memory_watcher/memory_watcher.gyp:*',
169               ],
170             }],
171           ],
172           'dependencies': [
173             '../chrome_elf/chrome_elf.gyp:*',
174             '../cloud_print/cloud_print.gyp:*',
175             '../courgette/courgette.gyp:*',
176             '../rlz/rlz.gyp:*',
177             '../sandbox/sandbox.gyp:*',
178             '<(angle_path)/src/build_angle.gyp:*',
179             '../third_party/bspatch/bspatch.gyp:*',
180             '../tools/win/static_initializers/static_initializers.gyp:*',
181           ],
182         }, {
183           'dependencies': [
184             '../third_party/libevent/libevent.gyp:*',
185           ],
186         }],
187         ['toolkit_views==1', {
188           'dependencies': [
189             '../ui/views/controls/webview/webview.gyp:*',
190             '../ui/views/views.gyp:*',
191           ],
192         }],
193         ['use_aura==1', {
194           'dependencies': [
195             '../ui/aura/aura.gyp:*',
196           ],
197         }],
198         ['use_ash==1', {
199           'dependencies': [
200             '../ash/ash.gyp:*',
201           ],
202         }],
203         ['remoting==1', {
204           'dependencies': [
205             '../remoting/remoting.gyp:*',
206           ],
207         }],
208         ['use_openssl==0', {
209           'dependencies': [
210             '../net/third_party/nss/ssl.gyp:*',
211           ],
212         }],
213         ['enable_app_list==1', {
214           'dependencies': [
215             '../ui/app_list/app_list.gyp:*',
216           ],
217         }],
218         ['OS!="android" and OS!="ios"', {
219           'dependencies': [
220             '../google_apis/gcm/gcm.gyp:*',
221           ],
222         }],
223         ['chromeos==1 or (OS=="linux" and use_aura==1)', {
224           'dependencies': [
225             '../apps/shell/app_shell.gyp:*',
226           ],
227         }],
228       ],
229     }, # target_name: All
230     {
231       'target_name': 'All_syzygy',
232       'type': 'none',
233       'conditions': [
234         ['OS=="win" and fastbuild==0 and target_arch=="ia32" and '
235             '(syzyasan==1 or syzygy_optimize==1)', {
236           'dependencies': [
237             '../chrome/installer/mini_installer_syzygy.gyp:*',
238           ],
239         }],
240       ],
241     }, # target_name: All_syzygy
242     {
243       # Note: Android uses android_builder_tests below.
244       # TODO: Consider merging that with this target.
245       'target_name': 'chromium_builder_tests',
246       'type': 'none',
247       'dependencies': [
248         '../base/base.gyp:base_unittests',
249         '../components/components_tests.gyp:components_unittests',
250         '../crypto/crypto.gyp:crypto_unittests',
251         '../net/net.gyp:net_unittests',
252         '../sql/sql.gyp:sql_unittests',
253         '../sync/sync.gyp:sync_unit_tests',
254         '../ui/gfx/gfx.gyp:gfx_unittests',
255         '../ui/ui_unittests.gyp:ui_unittests',
256         '../url/url.gyp:url_unittests',
257       ],
258       'conditions': [
259         ['OS!="ios" and OS!="android"', {
260           'dependencies': [
261             '../cc/cc_tests.gyp:cc_unittests',
262             '../chrome/chrome.gyp:browser_tests',
263             '../chrome/chrome.gyp:chromedriver_tests',
264             '../chrome/chrome.gyp:chromedriver_unittests',
265             '../chrome/chrome.gyp:interactive_ui_tests',
266             '../chrome/chrome.gyp:sync_integration_tests',
267             '../chrome/chrome.gyp:unit_tests',
268             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
269             '../content/content_shell_and_tests.gyp:content_browsertests',
270             '../content/content_shell_and_tests.gyp:content_shell',
271             '../content/content_shell_and_tests.gyp:content_unittests',
272             '../device/device_tests.gyp:device_unittests',
273             '../gin/gin.gyp:gin_unittests',
274             '../google_apis/google_apis.gyp:google_apis_unittests',
275             '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',
276             '../gpu/gpu.gyp:gpu_unittests',
277             '../ipc/ipc.gyp:ipc_tests',
278             '../jingle/jingle.gyp:jingle_unittests',
279             '../media/cast/cast.gyp:cast_unittests',
280             '../media/media.gyp:media_unittests',
281             '../mojo/mojo.gyp:mojo',
282             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
283             '../remoting/remoting.gyp:remoting_unittests',
284             '../third_party/WebKit/public/all.gyp:all_blink',
285             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
286             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
287             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
288             '../tools/telemetry/telemetry.gyp:*',
289             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
290           ],
291         }],
292         ['OS=="win"', {
293           'dependencies': [
294             '../chrome/chrome.gyp:crash_service',
295             '../chrome/chrome.gyp:installer_util_unittests',
296             '../chrome/chrome.gyp:mini_installer_test',
297             # mini_installer_tests depends on mini_installer. This should be
298             # defined in installer.gyp.
299             '../chrome/installer/mini_installer.gyp:mini_installer',
300             '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests',
301             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
302             '../courgette/courgette.gyp:courgette_unittests',
303             '../sandbox/sandbox.gyp:sbox_integration_tests',
304             '../sandbox/sandbox.gyp:sbox_unittests',
305             '../sandbox/sandbox.gyp:sbox_validation_tests',
306             '../ui/app_list/app_list.gyp:app_list_unittests',
307           ],
308           'conditions': [
309             # remoting_host_installation uses lots of non-trivial GYP that tend
310             # to break because of differences between ninja and msbuild. Make
311             # sure this target is built by the builders on the main waterfall.
312             # See http://crbug.com/180600.
313             ['wix_exists == "True" and sas_dll_exists == "True"', {
314               'dependencies': [
315                 '../remoting/remoting.gyp:remoting_host_installation',
316               ],
317             }],
318             ['syzyasan==1', {
319               'variables': {
320                 # Disable incremental linking for all modules.
321                 # 0: inherit, 1: disabled, 2: enabled.
322                 'msvs_debug_link_incremental': '1',
323                 'msvs_large_module_debug_link_mode': '1',
324                 # Disable RTC. Syzygy explicitly doesn't support RTC
325                 # instrumented binaries for now.
326                 'win_debug_RuntimeChecks': '0',
327               },
328               'defines': [
329                 # Disable iterator debugging (huge speed boost).
330                 '_HAS_ITERATOR_DEBUGGING=0',
331               ],
332               'msvs_settings': {
333                 'VCLinkerTool': {
334                   # Enable profile information (necessary for SyzyAsan
335                   # instrumentation). This is incompatible with incremental
336                   # linking.
337                   'Profile': 'true',
338                 },
339               }
340             }],
341           ],
342         }],
343         ['OS=="linux"', {
344           'dependencies': [
345             '../dbus/dbus.gyp:dbus_unittests',
346             '../sandbox/sandbox.gyp:sandbox_linux_unittests',
347           ],
348         }],
349         ['OS=="mac"', {
350           'dependencies': [
351             '../ui/app_list/app_list.gyp:app_list_unittests',
352             '../ui/message_center/message_center.gyp:*',
353           ],
354         }],
355         ['test_isolation_mode != "noop"', {
356           'dependencies': [
357             'chromium_swarm_tests',
358           ],
359         }],
360         ['OS!="android"', {
361           'dependencies': [
362             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
363           ],
364         }],
365         ['enable_printing!=0', {
366           'dependencies': [
367             '../printing/printing.gyp:printing_unittests',
368           ],
369         }],
370         ['use_aura==1', {
371           'dependencies': [
372             '../ui/app_list/app_list.gyp:app_list_unittests',
373             '../ui/aura/aura.gyp:aura_unittests',
374             '../ui/compositor/compositor.gyp:compositor_unittests',
375             '../ui/keyboard/keyboard.gyp:keyboard_unittests',
376             '../ui/views/views.gyp:views_unittests',
377           ],
378         }],
379         ['use_aura==1 or toolkit_views==1', {
380           'dependencies': [
381             '../ui/events/events.gyp:events_unittests',
382           ],
383         }],
384         ['use_ash==1', {
385           'dependencies': [
386             '../ash/ash.gyp:ash_unittests',
387           ],
388         }],
389         ['disable_nacl==0', {
390           'dependencies': [
391             '../components/nacl.gyp:nacl_loader_unittests',
392           ],
393         }],
394       ],
395     }, # target_name: chromium_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:hpack_fuzz_wrapper',
646                 '../net/net.gyp:dns_fuzz_stub',
647                 '../skia/skia.gyp:filter_fuzz_stub',
648               ],
649             }],
650             ['enable_ipc_fuzzer==1 and OS=="linux" and component!="shared_library"', {
651               'dependencies': [
652                 '../tools/ipc_fuzzer/ipc_fuzzer.gyp:*',
653               ],
654             }],
655             ['chromeos==0', {
656               'dependencies': [
657                 '../v8/src/d8.gyp:d8#host',
658               ],
659             }],
660             ['internal_filter_fuzzer==1', {
661               'dependencies': [
662                 '../skia/tools/clusterfuzz-data/fuzzers/filter_fuzzer/filter_fuzzer.gyp:filter_fuzzer',
663               ],
664             }], # internal_filter_fuzzer
665             ['OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1', {
666               'dependencies': [
667                 '../chrome/chrome_syzygy.gyp:chrome_dll_syzygy',
668                 '../content/content_shell_and_tests.gyp:content_shell_syzyasan',
669               ],
670               'conditions': [
671                 ['chrome_multiple_dll==1', {
672                   'dependencies': [
673                     '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
674                   ],
675                 }],
676               ],
677             }],
678           ],
679         },
680         {
681           'target_name': 'chromium_builder_nacl_sdk',
682           'type': 'none',
683           'dependencies': [
684             '../chrome/chrome.gyp:chrome',
685           ],
686           'conditions': [
687             ['OS=="win"', {
688               'dependencies': [
689                 '../chrome/chrome.gyp:chrome_nacl_win64',
690               ]
691             }],
692           ],
693         },  #target_name: chromium_builder_nacl_sdk
694       ],  # targets
695     }], #OS!=ios and OS!=android
696     ['OS=="android"', {
697       'targets': [
698         {
699           # The current list of tests for android.  This is temporary
700           # until the full set supported.  If adding a new test here,
701           # please also add it to build/android/pylib/gtest/gtest_config.py,
702           # else the test is not run.
703           #
704           # WARNING:
705           # Do not add targets here without communicating the implications
706           # on tryserver triggers and load.  Discuss with
707           # chrome-infrastructure-team please.
708           'target_name': 'android_builder_tests',
709           'type': 'none',
710           'dependencies': [
711             '../android_webview/android_webview.gyp:android_webview_unittests',
712             '../base/android/jni_generator/jni_generator.gyp:jni_generator_tests',
713             '../base/base.gyp:base_unittests',
714             '../breakpad/breakpad.gyp:breakpad_unittests_stripped',
715             # Also compile the tools needed to deal with minidumps, they are
716             # needed to run minidump tests upstream.
717             '../breakpad/breakpad.gyp:dump_syms#host',
718             '../breakpad/breakpad.gyp:symupload#host',
719             '../breakpad/breakpad.gyp:minidump_dump#host',
720             '../breakpad/breakpad.gyp:minidump_stackwalk#host',
721             '../build/android/tests/multiple_proguards/multiple_proguards.gyp:multiple_proguards_test_apk',
722             '../cc/cc_tests.gyp:cc_perftests_apk',
723             '../cc/cc_tests.gyp:cc_unittests',
724             '../chrome/chrome.gyp:unit_tests',
725             '../components/components_tests.gyp:components_unittests',
726             '../content/content_shell_and_tests.gyp:content_browsertests',
727             '../content/content_shell_and_tests.gyp:content_gl_tests',
728             '../content/content_shell_and_tests.gyp:chromium_linker_test_apk',
729             '../content/content_shell_and_tests.gyp:content_shell_test_apk',
730             '../content/content_shell_and_tests.gyp:content_unittests',
731             '../gpu/gpu.gyp:gl_tests',
732             '../gpu/gpu.gyp:gpu_unittests',
733             '../ipc/ipc.gyp:ipc_tests',
734             '../media/media.gyp:media_perftests_apk',
735             '../media/media.gyp:media_unittests',
736             '../net/net.gyp:net_unittests',
737             '../sandbox/sandbox.gyp:sandbox_linux_unittests_stripped',
738             '../sql/sql.gyp:sql_unittests',
739             '../sync/sync.gyp:sync_unit_tests',
740             '../third_party/WebKit/public/all.gyp:*',
741             '../tools/android/android_tools.gyp:android_tools',
742             '../tools/android/android_tools.gyp:memconsumer',
743             '../tools/android/findbugs_plugin/findbugs_plugin.gyp:findbugs_plugin_test',
744             '../ui/events/events.gyp:events_unittests',
745             '../ui/ui_unittests.gyp:ui_unittests',
746           ],
747           'conditions': [
748             ['"<(gtest_target_type)"=="shared_library"', {
749               'dependencies': [
750                 # Unit test bundles packaged as an apk.
751                 '../android_webview/android_webview.gyp:android_webview_unittests_apk',
752                 '../base/base.gyp:base_unittests_apk',
753                 '../cc/cc_tests.gyp:cc_unittests_apk',
754                 '../chrome/chrome.gyp:unit_tests_apk',
755                 '../components/components_tests.gyp:components_unittests_apk',
756                 '../content/content_shell_and_tests.gyp:content_browsertests_apk',
757                 '../content/content_shell_and_tests.gyp:content_gl_tests_apk',
758                 '../content/content_shell_and_tests.gyp:content_unittests_apk',
759                 '../content/content_shell_and_tests.gyp:video_decode_accelerator_unittest_apk',
760                 '../gpu/gpu.gyp:gl_tests_apk',
761                 '../gpu/gpu.gyp:gpu_unittests_apk',
762                 '../ipc/ipc.gyp:ipc_tests_apk',
763                 '../media/media.gyp:media_unittests_apk',
764                 '../net/net.gyp:net_unittests_apk',
765                 '../sandbox/sandbox.gyp:sandbox_linux_jni_unittests_apk',
766                 '../sql/sql.gyp:sql_unittests_apk',
767                 '../sync/sync.gyp:sync_unit_tests_apk',
768                 '../ui/events/events.gyp:events_unittests_apk',
769                 '../ui/gfx/gfx.gyp:gfx_unittests_apk',
770                 '../ui/ui_unittests.gyp:ui_unittests_apk',
771                 '../android_webview/android_webview.gyp:android_webview_test_apk',
772                 '../chrome/chrome.gyp:chrome_shell_test_apk',
773                 '../chrome/chrome.gyp:chrome_shell_uiautomator_tests',
774                 '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests_apk'
775               ],
776             }],
777           ],
778         },
779         {
780           # WebRTC Android APK tests.
781           'target_name': 'android_builder_webrtc',
782           'type': 'none',
783           'variables': {
784             # Set default value for include_tests to '0'. It is normally only
785             # used in WebRTC GYP files. It is set to '1' only when building
786             # WebRTC for Android, inside a Chromium checkout.
787             'include_tests%': 0,
788           },
789           'conditions': [
790             ['"<(gtest_target_type)"=="shared_library" and include_tests==1', {
791               'dependencies': [
792                 '../third_party/webrtc/build/apk_tests.gyp:*',
793               ],
794             }],
795           ],
796         },  # target_name: android_builder_webrtc
797         {
798           # WebRTC Chromium tests to run on Android.
799           'target_name': 'android_builder_chromium_webrtc',
800           'type': 'none',
801           'dependencies': [
802             '../content/content_shell_and_tests.gyp:content_browsertests',
803             '../tools/android/android_tools.gyp:android_tools',
804             '../tools/android/android_tools.gyp:memconsumer',
805           ],
806           'conditions': [
807             ['"<(gtest_target_type)"=="shared_library"', {
808               'dependencies': [
809                 # Unit test bundles packaged as an apk.
810                 '../content/content_shell_and_tests.gyp:content_browsertests_apk',
811               ],
812             }],
813           ],
814         },  # target_name: android_builder_chromium_webrtc
815         {
816           # Build the java portions of the binary size analysis tool.
817           'target_name': 'binary_size_tool',
818           'type': 'none',
819           'dependencies': [
820             '../tools/binary_size/binary_size.gyp:binary_size_java',
821           ],
822         },
823       ], # targets
824     }], # OS="android"
825     ['OS=="mac"', {
826       'targets': [
827         {
828           # Target to build everything plus the dmg.  We don't put the dmg
829           # in the All target because developers really don't need it.
830           'target_name': 'all_and_dmg',
831           'type': 'none',
832           'dependencies': [
833             'All',
834             '../chrome/chrome.gyp:build_app_dmg',
835           ],
836         },
837         # These targets are here so the build bots can use them to build
838         # subsets of a full tree for faster cycle times.
839         {
840           'target_name': 'chromium_builder_dbg',
841           'type': 'none',
842           'dependencies': [
843             '../cc/cc_tests.gyp:cc_unittests',
844             '../chrome/chrome.gyp:browser_tests',
845             '../chrome/chrome.gyp:interactive_ui_tests',
846             '../chrome/chrome.gyp:sync_integration_tests',
847             '../chrome/chrome.gyp:unit_tests',
848             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
849             '../components/components_tests.gyp:components_unittests',
850             '../content/content_shell_and_tests.gyp:content_browsertests',
851             '../content/content_shell_and_tests.gyp:content_unittests',
852             '../device/device_tests.gyp:device_unittests',
853             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
854             '../gpu/gpu.gyp:gpu_unittests',
855             '../ipc/ipc.gyp:ipc_tests',
856             '../jingle/jingle.gyp:jingle_unittests',
857             '../media/media.gyp:media_unittests',
858             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
859             '../printing/printing.gyp:printing_unittests',
860             '../remoting/remoting.gyp:remoting_unittests',
861             '../rlz/rlz.gyp:*',
862             '../sql/sql.gyp:sql_unittests',
863             '../sync/sync.gyp:sync_unit_tests',
864             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
865             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
866             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
867             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
868             '../tools/telemetry/telemetry.gyp:*',
869             '../ui/gfx/gfx.gyp:gfx_unittests',
870             '../ui/ui_unittests.gyp:ui_unittests',
871             '../url/url.gyp:url_unittests',
872             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
873           ],
874         },
875         {
876           'target_name': 'chromium_builder_rel',
877           'type': 'none',
878           'dependencies': [
879             '../cc/cc_tests.gyp:cc_unittests',
880             '../chrome/chrome.gyp:browser_tests',
881             '../chrome/chrome.gyp:performance_browser_tests',
882             '../chrome/chrome.gyp:sync_integration_tests',
883             '../chrome/chrome.gyp:unit_tests',
884             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
885             '../components/components_tests.gyp:components_unittests',
886             '../content/content_shell_and_tests.gyp:content_browsertests',
887             '../content/content_shell_and_tests.gyp:content_unittests',
888             '../device/device_tests.gyp:device_unittests',
889             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
890             '../gpu/gpu.gyp:gpu_unittests',
891             '../ipc/ipc.gyp:ipc_tests',
892             '../jingle/jingle.gyp:jingle_unittests',
893             '../media/media.gyp:media_unittests',
894             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
895             '../printing/printing.gyp:printing_unittests',
896             '../remoting/remoting.gyp:remoting_unittests',
897             '../sql/sql.gyp:sql_unittests',
898             '../sync/sync.gyp:sync_unit_tests',
899             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
900             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
901             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
902             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
903             '../tools/telemetry/telemetry.gyp:*',
904             '../ui/gfx/gfx.gyp:gfx_unittests',
905             '../ui/ui_unittests.gyp:ui_unittests',
906             '../url/url.gyp:url_unittests',
907             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
908           ],
909         },
910         {
911           'target_name': 'chromium_builder_dbg_tsan_mac',
912           'type': 'none',
913           'dependencies': [
914             '../base/base.gyp:base_unittests',
915             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
916             '../crypto/crypto.gyp:crypto_unittests',
917             '../ipc/ipc.gyp:ipc_tests',
918             '../jingle/jingle.gyp:jingle_unittests',
919             '../media/media.gyp:media_unittests',
920             '../net/net.gyp:net_unittests',
921             '../printing/printing.gyp:printing_unittests',
922             '../remoting/remoting.gyp:remoting_unittests',
923             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
924             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
925             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
926             '../url/url.gyp:url_unittests',
927           ],
928         },
929         {
930           # TODO(dpranke): Update the bots to refer to 'chromium_builder_asan'.
931           'target_name': 'chromium_builder_asan_mac',
932           'type': 'none',
933           'dependencies': [
934             'chromium_builder_asan'
935           ],
936         },
937         {
938           'target_name': 'chromium_builder_dbg_valgrind_mac',
939           'type': 'none',
940           'dependencies': [
941             '../base/base.gyp:base_unittests',
942             '../chrome/chrome.gyp:unit_tests',
943             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
944             '../components/components_tests.gyp:components_unittests',
945             '../content/content_shell_and_tests.gyp:content_unittests',
946             '../crypto/crypto.gyp:crypto_unittests',
947             '../device/device_tests.gyp:device_unittests',
948             '../ipc/ipc.gyp:ipc_tests',
949             '../jingle/jingle.gyp:jingle_unittests',
950             '../media/media.gyp:media_unittests',
951             '../net/net.gyp:net_unittests',
952             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
953             '../printing/printing.gyp:printing_unittests',
954             '../remoting/remoting.gyp:remoting_unittests',
955             '../sql/sql.gyp:sql_unittests',
956             '../sync/sync.gyp:sync_unit_tests',
957             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
958             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
959             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
960             '../ui/gfx/gfx.gyp:gfx_unittests',
961             '../ui/ui_unittests.gyp:ui_unittests',
962             '../url/url.gyp:url_unittests',
963           ],
964         },
965       ],  # targets
966     }], # OS="mac"
967     ['OS=="win"', {
968       'targets': [
969         # These targets are here so the build bots can use them to build
970         # subsets of a full tree for faster cycle times.
971         {
972           'target_name': 'chromium_builder',
973           'type': 'none',
974           'dependencies': [
975             '../cc/cc_tests.gyp:cc_unittests',
976             '../chrome/chrome.gyp:browser_tests',
977             '../chrome/chrome.gyp:crash_service',
978             '../chrome/chrome.gyp:gcapi_test',
979             '../chrome/chrome.gyp:installer_util_unittests',
980             '../chrome/chrome.gyp:interactive_ui_tests',
981             '../chrome/chrome.gyp:mini_installer_test',
982             '../chrome/chrome.gyp:performance_browser_tests',
983             '../chrome/chrome.gyp:sync_integration_tests',
984             '../chrome/chrome.gyp:unit_tests',
985             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
986             '../components/components_tests.gyp:components_unittests',
987             '../content/content_shell_and_tests.gyp:content_browsertests',
988             '../content/content_shell_and_tests.gyp:content_unittests',
989             '../content/content_shell_and_tests.gyp:copy_test_netscape_plugin',
990             # mini_installer_tests depends on mini_installer. This should be
991             # defined in installer.gyp.
992             '../chrome/installer/mini_installer.gyp:mini_installer',
993             '../courgette/courgette.gyp:courgette_unittests',
994             '../device/device_tests.gyp:device_unittests',
995             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
996             '../gpu/gpu.gyp:gpu_unittests',
997             '../ipc/ipc.gyp:ipc_tests',
998             '../jingle/jingle.gyp:jingle_unittests',
999             '../media/media.gyp:media_unittests',
1000             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1001             '../printing/printing.gyp:printing_unittests',
1002             '../remoting/remoting.gyp:remoting_unittests',
1003             '../sql/sql.gyp:sql_unittests',
1004             '../sync/sync.gyp:sync_unit_tests',
1005             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1006             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1007             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1008             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
1009             '../tools/telemetry/telemetry.gyp:*',
1010             '../ui/events/events.gyp:events_unittests',
1011             '../ui/gfx/gfx.gyp:gfx_unittests',
1012             '../ui/ui_unittests.gyp:ui_unittests',
1013             '../ui/views/views.gyp:views_unittests',
1014             '../url/url.gyp:url_unittests',
1015             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
1016           ],
1017           'conditions': [
1018             ['target_arch=="ia32"', {
1019               'dependencies': [
1020                 '../chrome/chrome.gyp:crash_service_win64',
1021               ],
1022             }],
1023           ],
1024         },
1025         {
1026           'target_name': 'chromium_builder_win_cf',
1027           'type': 'none',
1028         },
1029         {
1030           'target_name': 'chromium_builder_dbg_tsan_win',
1031           'type': 'none',
1032           'dependencies': [
1033             '../base/base.gyp:base_unittests',
1034             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1035             '../components/components_tests.gyp:components_unittests',
1036             '../content/content_shell_and_tests.gyp:content_unittests',
1037             '../crypto/crypto.gyp:crypto_unittests',
1038             '../ipc/ipc.gyp:ipc_tests',
1039             '../jingle/jingle.gyp:jingle_unittests',
1040             '../media/media.gyp:media_unittests',
1041             '../net/net.gyp:net_unittests',
1042             '../printing/printing.gyp:printing_unittests',
1043             '../remoting/remoting.gyp:remoting_unittests',
1044             '../sql/sql.gyp:sql_unittests',
1045             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1046             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1047             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1048             '../url/url.gyp:url_unittests',
1049           ],
1050         },
1051         {
1052           'target_name': 'chromium_builder_dbg_drmemory_win',
1053           'type': 'none',
1054           'dependencies': [
1055             '../base/base.gyp:base_unittests',
1056             '../chrome/chrome.gyp:unit_tests',
1057             '../chrome/chrome.gyp:browser_tests',
1058             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
1059             '../components/components_tests.gyp:components_unittests',
1060             '../content/content_shell_and_tests.gyp:content_browsertests',
1061             '../content/content_shell_and_tests.gyp:content_shell',
1062             '../content/content_shell_and_tests.gyp:content_shell_crash_service',
1063             '../content/content_shell_and_tests.gyp:layout_test_helper',
1064             '../content/content_shell_and_tests.gyp:content_unittests',
1065             '../crypto/crypto.gyp:crypto_unittests',
1066             '../device/device_tests.gyp:device_unittests',
1067             '../ipc/ipc.gyp:ipc_tests',
1068             '../jingle/jingle.gyp:jingle_unittests',
1069             '../media/media.gyp:media_unittests',
1070             '../net/net.gyp:net_unittests',
1071             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1072             '../gpu/gpu.gyp:gpu_unittests',
1073             '../printing/printing.gyp:printing_unittests',
1074             '../remoting/remoting.gyp:remoting_unittests',
1075             '../sql/sql.gyp:sql_unittests',
1076             '../sync/sync.gyp:sync_unit_tests',
1077             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
1078             '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests',
1079             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
1080             '../url/url.gyp:url_unittests',
1081           ],
1082         },
1083         {
1084           'target_name': 'webkit_builder_win',
1085           'type': 'none',
1086           'dependencies': [
1087             'blink_tests',
1088           ],
1089         },
1090       ],  # targets
1091       'conditions': [
1092         ['branding=="Chrome"', {
1093           'targets': [
1094             {
1095               'target_name': 'chrome_official_builder',
1096               'type': 'none',
1097               'dependencies': [
1098                 '../base/base.gyp:base_unittests',
1099                 '../chrome/chrome.gyp:crash_service',
1100                 '../chrome/chrome.gyp:gcapi_dll',
1101                 '../chrome/chrome.gyp:pack_policy_templates',
1102                 '../chrome/installer/mini_installer.gyp:mini_installer',
1103                 '../cloud_print/cloud_print.gyp:cloud_print',
1104                 '../courgette/courgette.gyp:courgette',
1105                 '../courgette/courgette.gyp:courgette64',
1106                 '../ipc/ipc.gyp:ipc_tests',
1107                 '../media/media.gyp:media_unittests',
1108                 '../net/net.gyp:net_unittests_run',
1109                 '../printing/printing.gyp:printing_unittests',
1110                 '../remoting/remoting.gyp:remoting_webapp',
1111                 '../sql/sql.gyp:sql_unittests',
1112                 '../sync/sync.gyp:sync_unit_tests',
1113                 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
1114                 '../ui/gfx/gfx.gyp:gfx_unittests',
1115                 '../ui/ui_unittests.gyp:ui_unittests',
1116                 '../ui/views/views.gyp:views_unittests',
1117                 '../url/url.gyp:url_unittests',
1118               ],
1119               'conditions': [
1120                 ['internal_pdf', {
1121                   'dependencies': [
1122                     '../pdf/pdf.gyp:pdf',
1123                   ],
1124                 }], # internal_pdf
1125                 ['target_arch=="ia32"', {
1126                   'dependencies': [
1127                     '../chrome/chrome.gyp:crash_service_win64',
1128                   ],
1129                 }],
1130                 ['component != "shared_library" and wix_exists == "True" and \
1131                     sas_dll_exists == "True"', {
1132                   'dependencies': [
1133                     '../remoting/remoting.gyp:remoting_host_installation',
1134                   ],
1135                 }], # component != "shared_library"
1136               ]
1137             },
1138           ], # targets
1139         }], # branding=="Chrome"
1140        ], # conditions
1141     }], # OS="win"
1142     ['use_aura==1', {
1143       'targets': [
1144         {
1145           'target_name': 'aura_builder',
1146           'type': 'none',
1147           'dependencies': [
1148             '../cc/cc_tests.gyp:cc_unittests',
1149             '../chrome/chrome.gyp:browser_tests',
1150             '../chrome/chrome.gyp:chrome',
1151             '../chrome/chrome.gyp:interactive_ui_tests',
1152             '../chrome/chrome.gyp:unit_tests',
1153             '../components/components_tests.gyp:components_unittests',
1154             '../content/content_shell_and_tests.gyp:content_browsertests',
1155             '../content/content_shell_and_tests.gyp:content_unittests',
1156             '../device/device_tests.gyp:device_unittests',
1157             '../google_apis/gcm/gcm.gyp:gcm_unit_tests',
1158             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
1159             '../remoting/remoting.gyp:remoting_unittests',
1160             '../ui/app_list/app_list.gyp:*',
1161             '../ui/aura/aura.gyp:*',
1162             '../ui/compositor/compositor.gyp:*',
1163             '../ui/events/events.gyp:*',
1164             '../ui/wm/wm.gyp:*',
1165             '../ui/gfx/gfx.gyp:gfx_unittests',
1166             '../ui/keyboard/keyboard.gyp:*',
1167             '../ui/message_center/message_center.gyp:*',
1168             '../ui/snapshot/snapshot.gyp:snapshot_unittests',
1169             '../ui/ui_unittests.gyp:ui_unittests',
1170             '../ui/views/examples/examples.gyp:views_examples_with_content_exe',
1171             '../ui/views/views.gyp:views',
1172             '../ui/views/views.gyp:views_unittests',
1173             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
1174             'blink_tests',
1175           ],
1176           'conditions': [
1177             ['OS=="win"', {
1178               'dependencies': [
1179                 '../chrome/chrome.gyp:crash_service',
1180               ],
1181             }],
1182             ['OS=="win" and target_arch=="ia32"', {
1183               'dependencies': [
1184                 '../chrome/chrome.gyp:crash_service_win64',
1185               ],
1186             }],
1187             ['use_ash==1', {
1188               'dependencies': [
1189                 '../ash/ash.gyp:ash_shell',
1190                 '../ash/ash.gyp:ash_unittests',
1191               ],
1192             }],
1193             ['OS=="linux"', {
1194               # Tests that currently only work on Linux.
1195               'dependencies': [
1196                 '../base/base.gyp:base_unittests',
1197                 '../ipc/ipc.gyp:ipc_tests',
1198                 '../sql/sql.gyp:sql_unittests',
1199                 '../sync/sync.gyp:sync_unit_tests',
1200               ],
1201             }],
1202             ['chromeos==1', {
1203               'dependencies': [
1204                 '../chromeos/chromeos.gyp:chromeos_unittests',
1205               ],
1206             }],
1207             ['use_ozone==1', {
1208               'dependencies!': [
1209                 '../chrome/chrome.gyp:interactive_ui_tests',  # crbug.com/362166
1210               ],
1211             }],
1212           ],
1213         },
1214       ],  # targets
1215     }, {
1216       'conditions': [
1217         ['OS=="linux"', {
1218           # TODO(thakis): Remove this once the linux gtk bot no longer references
1219           # it (probably after the first aura release on linux), see r249162
1220           'targets': [
1221             {
1222               'target_name': 'aura_builder',
1223               'type': 'none',
1224               'dependencies': [
1225                 '../chrome/chrome.gyp:chrome',
1226               ],
1227             },
1228           ],  # targets
1229       }]], # OS=="linux"
1230     }], # "use_aura==1"
1231     ['test_isolation_mode != "noop"', {
1232       'targets': [
1233         {
1234           'target_name': 'chromium_swarm_tests',
1235           'type': 'none',
1236           'dependencies': [
1237             '../base/base.gyp:base_unittests_run',
1238             '../chrome/chrome.gyp:browser_tests_run',
1239             '../chrome/chrome.gyp:interactive_ui_tests_run',
1240             # http://crbug.com/157234
1241             #'../chrome/chrome.gyp:sync_integration_tests_run',
1242             '../chrome/chrome.gyp:unit_tests_run',
1243             '../net/net.gyp:net_unittests_run',
1244           ],
1245         }, # target_name: chromium_swarm_tests
1246       ],
1247     }],
1248   ], # conditions