Add new WebKit/Source/build/scripts path to gyp_chromium
[chromium-blink-merge.git] / build / all.gyp
blobea10e645f6ecc651a56027345c54a6329b053a48
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   'targets': [
7     {
8       'target_name': 'All',
9       'type': 'none',
10       'xcode_create_dependents_test_runner': 1,
11       'dependencies': [
12         'some.gyp:*',
13         '../base/base.gyp:*',
14         '../chrome/chrome.gyp:*',
15         '../content/content.gyp:*',
16         '../crypto/crypto.gyp:*',
17         '../mojo/mojo.gyp:*',
18         '../net/net.gyp:*',
19         '../sdch/sdch.gyp:*',
20         '../sql/sql.gyp:*',
21         '../sync/sync.gyp:*',
22         '../testing/gmock.gyp:*',
23         '../testing/gtest.gyp:*',
24         '../third_party/icu/icu.gyp:*',
25         '../third_party/libxml/libxml.gyp:*',
26         '../third_party/sqlite/sqlite.gyp:*',
27         '../third_party/zlib/zlib.gyp:*',
28         '../ui/snapshot/snapshot.gyp:*',
29         '../ui/ui.gyp:*',
30         '../url/url.gyp:*',
31       ],
32       'conditions': [
33         ['OS!="ios"', {
34           'dependencies': [
35             '../cc/cc_tests.gyp:*',
36             '../components/components.gyp:*',
37             '../device/bluetooth/bluetooth.gyp:*',
38             '../device/device_tests.gyp:*',
39             '../device/usb/usb.gyp:*',
40             '../gpu/gpu.gyp:*',
41             '../gpu/tools/tools.gyp:*',
42             '../ipc/ipc.gyp:*',
43             '../jingle/jingle.gyp:*',
44             '../media/cast/cast.gyp:*',
45             '../media/media.gyp:*',
46             '../ppapi/ppapi.gyp:*',
47             '../ppapi/ppapi_internal.gyp:*',
48             '../printing/printing.gyp:*',
49             '../skia/skia.gyp:*',
50             '../third_party/cacheinvalidation/cacheinvalidation.gyp:*',
51             '../third_party/codesighs/codesighs.gyp:*',
52             '../third_party/ffmpeg/ffmpeg.gyp:*',
53             '../third_party/iccjpeg/iccjpeg.gyp:*',
54             '../third_party/libpng/libpng.gyp:*',
55             '../third_party/libusb/libusb.gyp:*',
56             '../third_party/libwebp/libwebp.gyp:*',
57             '../third_party/libxslt/libxslt.gyp:*',
58             '../third_party/lzma_sdk/lzma_sdk.gyp:*',
59             '../third_party/mesa/mesa.gyp:*',
60             '../third_party/modp_b64/modp_b64.gyp:*',
61             '../third_party/npapi/npapi.gyp:*',
62             '../third_party/ots/ots.gyp:*',
63             '../third_party/qcms/qcms.gyp:*',
64             '../third_party/re2/re2.gyp:re2',
65             '../third_party/WebKit/public/all.gyp:*',
66             '../tools/gn/gn.gyp:*',
67             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
68             '../v8/tools/gyp/v8.gyp:*',
69             '../webkit/glue/webkit_glue.gyp:*',
70             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:*',
71             '<(libjpeg_gyp_path):*',
72           ],
73         }, { #  'OS=="ios"'
74           'dependencies': [
75             '../ios/ios.gyp:*',
76           ],
77         }],
78         ['OS!="android" and OS!="ios"', {
79           'dependencies': [
80             '../chrome/tools/profile_reset/jtl_compiler.gyp:*',
81           ],
82         }],
83         ['os_posix==1 and OS!="android" and OS!="ios"', {
84           'dependencies': [
85             '../third_party/yasm/yasm.gyp:*#host',
86           ],
87         }],
88         ['OS=="mac" or OS=="ios" or OS=="win"', {
89           'dependencies': [
90             '../third_party/nss/nss.gyp:*',
91            ],
92         }],
93         ['OS=="win" or OS=="ios" or OS=="linux"', {
94           'dependencies': [
95             '../breakpad/breakpad.gyp:*',
96            ],
97         }],
98         ['OS=="mac"', {
99           'dependencies': [
100             '../third_party/ocmock/ocmock.gyp:*',
101           ],
102         }],
103         ['OS=="linux"', {
104           'dependencies': [
105             '../courgette/courgette.gyp:*',
106             '../dbus/dbus.gyp:*',
107             '../sandbox/sandbox.gyp:*',
108           ],
109           'conditions': [
110             ['branding=="Chrome"', {
111               'dependencies': [
112                 '../chrome/chrome.gyp:linux_packages_<(channel)',
113               ],
114             }],
115             ['chromeos==0', {
116               'dependencies': [
117                 '../third_party/cros_dbus_cplusplus/cros_dbus_cplusplus.gyp:*',
118                 '../third_party/libmtp/libmtp.gyp:*',
119                 '../third_party/mtpd/mtpd.gyp:*',
120               ],
121             }],
122           ],
123         }],
124         ['use_x11==1', {
125           'dependencies': [
126             '../tools/xdisplaycheck/xdisplaycheck.gyp:*',
127           ],
128         }],
129         ['toolkit_uses_gtk==1', {
130           'dependencies': [
131             '../tools/gtk_clipboard_dump/gtk_clipboard_dump.gyp:*',
132           ],
133         }],
134         ['OS=="win"', {
135           'conditions': [
136             ['win_use_allocator_shim==1', {
137               'dependencies': [
138                 '../base/allocator/allocator.gyp:*',
139               ],
140             }],
141             # Don't enable dependencies that don't work on Win64.
142             ['target_arch!="x64"', {
143               'dependencies': [
144                 # TODO(jschuh) Enable Win64 Memory Watcher. crbug.com/176877
145                 '../tools/memory_watcher/memory_watcher.gyp:*',
146                 # TODO(jschuh) Enable Win64 Chrome Frame. crbug.com/176875
147                 '../chrome_frame/chrome_frame.gyp:*',
148               ],
149             }],
150           ],
151           'dependencies': [
152             '../cloud_print/cloud_print.gyp:*',
153             '../courgette/courgette.gyp:*',
154             '../rlz/rlz.gyp:*',
155             '../sandbox/sandbox.gyp:*',
156             '../third_party/angle_dx11/src/build_angle.gyp:*',
157             '../third_party/bspatch/bspatch.gyp:*',
158           ],
159         }, {
160           'dependencies': [
161             '../third_party/libevent/libevent.gyp:*',
162           ],
163         }],
164         ['toolkit_views==1', {
165           'dependencies': [
166             '../ui/views/controls/webview/webview.gyp:*',
167             '../ui/views/views.gyp:*',
168           ],
169         }],
170         ['use_aura==1', {
171           'dependencies': [
172             '../ui/aura/aura.gyp:*',
173             '../ui/oak/oak.gyp:*',
174           ],
175         }],
176         ['use_ash==1', {
177           'dependencies': [
178             '../ash/ash.gyp:*',
179           ],
180         }],
181         ['remoting==1', {
182           'dependencies': [
183             '../remoting/remoting.gyp:*',
184           ],
185         }],
186         ['use_openssl==0', {
187           'dependencies': [
188             '../net/third_party/nss/ssl.gyp:*',
189           ],
190         }],
191         ['enable_app_list==1', {
192           'dependencies': [
193             '../ui/app_list/app_list.gyp:*',
194           ],
195         }],
196       ],
197     }, # target_name: All
198     {
199       'target_name': 'All_syzygy',
200       'type': 'none',
201       'conditions': [
202         ['OS=="win" and fastbuild==0 and target_arch=="ia32"', {
203             'dependencies': [
204               '../chrome/installer/mini_installer_syzygy.gyp:*',
205             ],
206           },
207         ],
208       ],
209     }, # target_name: All_syzygy
210     {
211       'target_name': 'chromium_builder_tests',
212       'type': 'none',
213       'dependencies': [
214         '../base/base.gyp:base_unittests',
215         '../chrome/chrome.gyp:unit_tests',
216         '../crypto/crypto.gyp:crypto_unittests',
217         '../net/net.gyp:net_unittests',
218         '../sql/sql.gyp:sql_unittests',
219         '../ui/ui.gyp:ui_unittests',
220         '../url/url.gyp:url_unittests',
221       ],
222       'conditions': [
223         ['OS!="ios"', {
224           'dependencies': [
225             '../cc/cc_tests.gyp:cc_unittests',
226             '../chrome/chrome.gyp:browser_tests',
227             '../chrome/chrome.gyp:chromedriver_tests',
228             '../chrome/chrome.gyp:chromedriver_unittests',
229             # TODO(kkania): Remove these after infra no longer depends on them.
230             '../chrome/chrome.gyp:chromedriver2_tests',
231             '../chrome/chrome.gyp:chromedriver2_unittests',
232             '../chrome/chrome.gyp:interactive_ui_tests',
233             '../chrome/chrome.gyp:sync_integration_tests',
234             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
235             '../components/components.gyp:components_unittests',
236             '../content/content.gyp:content_browsertests',
237             '../content/content.gyp:content_shell',
238             '../content/content.gyp:content_unittests',
239             '../device/device_tests.gyp:device_unittests',
240             '../google_apis/google_apis.gyp:google_apis_unittests',
241             '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',
242             '../gpu/gpu.gyp:gpu_unittests',
243             '../ipc/ipc.gyp:ipc_tests',
244             '../jingle/jingle.gyp:jingle_unittests',
245             '../media/media.gyp:media_unittests',
246             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
247             '../printing/printing.gyp:printing_unittests',
248             '../remoting/remoting.gyp:remoting_unittests',
249             '../sync/sync.gyp:sync_unit_tests',
250             '../third_party/WebKit/public/all.gyp:all_blink',
251             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
252             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
253             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
254           ],
255         }],
256         ['OS=="win"', {
257           'dependencies': [
258             '../chrome/chrome.gyp:crash_service',
259             '../chrome/chrome.gyp:installer_util_unittests',
260             '../chrome/chrome.gyp:mini_installer_test',
261             # mini_installer_tests depends on mini_installer. This should be
262             # defined in installer.gyp.
263             '../chrome/installer/mini_installer.gyp:mini_installer',
264             '../chrome_frame/chrome_frame.gyp:npchrome_frame',
265             '../courgette/courgette.gyp:courgette_unittests',
266             '../sandbox/sandbox.gyp:sbox_integration_tests',
267             '../sandbox/sandbox.gyp:sbox_unittests',
268             '../sandbox/sandbox.gyp:sbox_validation_tests',
269             '../third_party/WebKit/public/blink_test_plugin.gyp:blink_test_plugin',
270             '../ui/app_list/app_list.gyp:app_list_unittests',
271             '../ui/views/views.gyp:views_unittests',
272           ],
273           'conditions': [
274             ['target_arch!="x64"', {
275               'dependencies': [
276                 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
277                 '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests',
278                 '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests',
279                 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
280                 '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
281               ]
282             }, { # target_arch!="x64"
283               'dependencies!': [
284                 '../chrome_frame/chrome_frame.gyp:npchrome_frame',
285               ],
286               'defines': [
287                 'OMIT_CHROME_FRAME',
288               ],
289             }], # target_arch=="x64"
290             # remoting_host_installation uses lots of non-trivial GYP that tend
291             # to break because of differences between ninja and msbuild. Make
292             # sure this target is built by the builders on the main waterfall.
293             # See http://crbug.com/180600.
294             ['wix_exists == "True" and sas_dll_exists == "True"', {
295               'dependencies': [
296                 '../remoting/remoting.gyp:remoting_host_installation',
297               ],
298             }],
299           ],
300         }],
301         ['OS=="linux"', {
302           'dependencies': [
303             '../sandbox/sandbox.gyp:sandbox_linux_unittests',
304             '../dbus/dbus.gyp:dbus_unittests',
305           ],
306         }],
307         ['OS=="mac"', {
308           'dependencies': [
309             '../ui/app_list/app_list.gyp:app_list_unittests',
310             '../ui/message_center/message_center.gyp:*',
311           ],
312         }],
313         ['test_isolation_mode != "noop"', {
314           'dependencies': [
315             'chromium_swarm_tests',
316           ],
317         }],
318       ],
319     }, # target_name: chromium_builder_tests
320     {
321       'target_name': 'chromium_2010_builder_tests',
322       'type': 'none',
323       'dependencies': [
324         'chromium_builder_tests',
325       ],
326     }, # target_name: chromium_2010_builder_tests
327   ],
328   'conditions': [
329     ['OS!="ios"', {
330       'targets': [
331         {
332           'target_name': 'all_webkit',
333           'type': 'none',
334           'dependencies': [
335             '../third_party/WebKit/public/all.gyp:all_blink',
336             '../content/content.gyp:content_shell',
337           ],
338         }, # target_name: all_webkit
339         {
340           'target_name': 'chromium_builder_nacl_win_integration',
341           'type': 'none',
342           'dependencies': [
343             'chromium_builder_qa', # needed for pyauto
344             'chromium_builder_tests',
345           ],
346         }, # target_name: chromium_builder_nacl_win_integration
347         {
348           'target_name': 'chromium_builder_perf',
349           'type': 'none',
350           'dependencies': [
351             '../cc/cc_tests.gyp:cc_perftests',
352             '../chrome/chrome.gyp:chrome',
353             '../chrome/chrome.gyp:performance_browser_tests',
354             '../chrome/chrome.gyp:performance_ui_tests',
355             '../chrome/chrome.gyp:sync_performance_tests',
356             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
357           ],
358           'conditions': [
359             ['OS!="ios" and OS!="win"', {
360               'dependencies': [
361                 '../breakpad/breakpad.gyp:minidump_stackwalk',
362               ],
363             }],
364             ['OS=="linux"', {
365               'dependencies': [
366                 '../chrome/chrome.gyp:linux_symbols'
367               ],
368             }],
369           ],
370         }, # target_name: chromium_builder_perf
371         {
372           'target_name': 'chromium_gpu_builder',
373           'type': 'none',
374           'dependencies': [
375             '../chrome/chrome.gyp:gpu_tests',
376             '../chrome/chrome.gyp:performance_browser_tests',
377             '../chrome/chrome.gyp:performance_ui_tests',
378             '../content/content.gyp:content_browsertests',
379             '../content/content.gyp:content_gl_tests',
380             '../gpu/gpu.gyp:gl_tests',
381           ],
382           'conditions': [
383             ['internal_gles2_conform_tests', {
384               'dependencies': [
385                 '../gpu/gles2_conform_test/gles2_conform_test.gyp:gles2_conform_test',
386               ],
387             }], # internal_gles2_conform
388           ],
389         }, # target_name: chromium_gpu_builder
390         {
391           'target_name': 'chromium_gpu_debug_builder',
392           'type': 'none',
393           'dependencies': [
394             '../chrome/chrome.gyp:gpu_tests',
395             '../content/content.gyp:content_browsertests',
396             '../content/content.gyp:content_gl_tests',
397             '../gpu/gpu.gyp:gl_tests',
398           ],
399           'conditions': [
400             ['internal_gles2_conform_tests', {
401               'dependencies': [
402                 '../gpu/gles2_conform_test/gles2_conform_test.gyp:gles2_conform_test',
403               ],
404             }], # internal_gles2_conform
405           ],
406         }, # target_name: chromium_gpu_debug_builder
407         {
408           'target_name': 'chromium_builder_qa',
409           'type': 'none',
410           'dependencies': [
411             '../chrome/chrome.gyp:chrome',
412             # Dependencies of pyauto_functional tests.
413             '../remoting/remoting.gyp:remoting_webapp',
414           ],
415           'conditions': [
416             # If you change this condition, make sure you also change it
417             # in chrome_tests.gypi
418             ['enable_automation==1 and (OS=="mac" or ((OS=="win" or os_posix==1) and target_arch==python_arch))', {
419               'dependencies': [
420                 '../chrome/chrome.gyp:pyautolib',
421               ],
422             }],
423             ['OS=="mac"', {
424               'dependencies': [
425                 '../remoting/remoting.gyp:remoting_me2me_host_archive',
426               ],
427             }],
428             ['OS=="win"', {
429               'dependencies': [
430                 '../chrome/chrome.gyp:crash_service',
431               ],
432             }],
433             ['OS=="win" and target_arch=="ia32"', {
434               'dependencies': [
435                 '../chrome/chrome.gyp:crash_service_win64',
436               ],
437             }],
438             ['OS=="win" and component != "shared_library" and wix_exists == "True" and sas_dll_exists == "True"', {
439               'dependencies': [
440                 '../remoting/remoting.gyp:remoting_host_installation',
441               ],
442             }],
443           ],
444         }, # target_name: chromium_builder_qa
445         {
446           'target_name': 'chromium_builder_perf_av',
447           'type': 'none',
448           'dependencies': [
449             'all_webkit', # to run layout tests
450             'chromium_builder_qa',  # needed for perf pyauto tests
451           ],
452         },  # target_name: chromium_builder_perf_av
453         {
454           # This target contains everything we need to run tests on the special
455           # device-equipped WebRTC bots. We have device-requiring tests in
456           # PyAuto, browser_tests and content_browsertests.
457           'target_name': 'chromium_builder_webrtc',
458           'type': 'none',
459           'dependencies': [
460             'chromium_builder_qa',  # needed for perf pyauto tests
461             '../chrome/chrome.gyp:browser_tests',
462             '../content/content.gyp:content_browsertests',
463             '../content/content.gyp:content_unittests',
464             '../third_party/libjingle/libjingle.gyp:peerconnection_server',
465             '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
466             '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
467           ],
468           'conditions': [
469             ['OS=="win"', {
470               'dependencies': [
471                 '../chrome/chrome.gyp:crash_service',
472               ],
473             }],
474           ],
475         },  # target_name: chromium_builder_webrtc
476         {
477           'target_name': 'chromium_builder_chromedriver',
478           'type': 'none',
479           'dependencies': [
480             '../chrome/chrome.gyp:chromedriver',
481             '../chrome/chrome.gyp:chromedriver_tests',
482             '../chrome/chrome.gyp:chromedriver_unittests',
483           ],
484         },  # target_name: chromium_builder_chromedriver
485         {
486           'target_name': 'chromium_builder_asan',
487           'type': 'none',
488           'dependencies': [
489             '../chrome/chrome.gyp:chrome',
491             # We refer to content_shell directly rather than all_webkit
492             # because we don't want the _unittests binaries.
493             '../content/content.gyp:content_shell',
494           ],
495           'conditions': [
496             ['OS!="win"', {
497               'dependencies': [
498                 '../content/content.gyp:content_browsertests',
499                 '../net/net.gyp:dns_fuzz_stub',
500               ],
501             }],
502             ['OS=="win" and fastbuild==0 and target_arch=="ia32"', {
503               'dependencies': [
504                 '../chrome/chrome_syzygy.gyp:chrome_dll_syzygy',
505                 '../content/content.gyp:content_shell_syzyasan',
506               ],
507               'conditions': [
508                 ['chrome_multiple_dll==1', {
509                   'dependencies': [
510                     '../chrome/chrome_syzygy.gyp:chrome_child_dll_syzygy',
511                   ],
512                 }],
513               ],
514             }],
515           ],
516         },
517       ],  # targets
518     }],
519     ['OS=="mac"', {
520       'targets': [
521         {
522           # Target to build everything plus the dmg.  We don't put the dmg
523           # in the All target because developers really don't need it.
524           'target_name': 'all_and_dmg',
525           'type': 'none',
526           'dependencies': [
527             'All',
528             '../chrome/chrome.gyp:build_app_dmg',
529           ],
530         },
531         # These targets are here so the build bots can use them to build
532         # subsets of a full tree for faster cycle times.
533         {
534           'target_name': 'chromium_builder_dbg',
535           'type': 'none',
536           'dependencies': [
537             '../cc/cc_tests.gyp:cc_unittests',
538             '../chrome/chrome.gyp:browser_tests',
539             '../chrome/chrome.gyp:interactive_ui_tests',
540             '../chrome/chrome.gyp:sync_integration_tests',
541             '../chrome/chrome.gyp:unit_tests',
542             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
543             '../components/components.gyp:components_unittests',
544             '../content/content.gyp:content_browsertests',
545             '../content/content.gyp:content_unittests',
546             '../device/device_tests.gyp:device_unittests',
547             '../gpu/gpu.gyp:gpu_unittests',
548             '../ipc/ipc.gyp:ipc_tests',
549             '../jingle/jingle.gyp:jingle_unittests',
550             '../media/media.gyp:media_unittests',
551             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
552             '../printing/printing.gyp:printing_unittests',
553             '../remoting/remoting.gyp:remoting_unittests',
554             '../rlz/rlz.gyp:*',
555             '../sql/sql.gyp:sql_unittests',
556             '../sync/sync.gyp:sync_unit_tests',
557             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
558             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
559             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
560             '../ui/ui.gyp:ui_unittests',
561             '../url/url.gyp:url_unittests',
562             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
563           ],
564         },
565         {
566           'target_name': 'chromium_builder_rel',
567           'type': 'none',
568           'dependencies': [
569             '../cc/cc_tests.gyp:cc_unittests',
570             '../chrome/chrome.gyp:browser_tests',
571             '../chrome/chrome.gyp:performance_browser_tests',
572             '../chrome/chrome.gyp:performance_ui_tests',
573             '../chrome/chrome.gyp:sync_integration_tests',
574             '../chrome/chrome.gyp:unit_tests',
575             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
576             '../components/components.gyp:components_unittests',
577             '../content/content.gyp:content_browsertests',
578             '../content/content.gyp:content_unittests',
579             '../device/device_tests.gyp:device_unittests',
580             '../gpu/gpu.gyp:gpu_unittests',
581             '../ipc/ipc.gyp:ipc_tests',
582             '../jingle/jingle.gyp:jingle_unittests',
583             '../media/media.gyp:media_unittests',
584             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
585             '../printing/printing.gyp:printing_unittests',
586             '../remoting/remoting.gyp:remoting_unittests',
587             '../sql/sql.gyp:sql_unittests',
588             '../sync/sync.gyp:sync_unit_tests',
589             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
590             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
591             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
592             '../ui/ui.gyp:ui_unittests',
593             '../url/url.gyp:url_unittests',
594             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
595           ],
596         },
597         {
598           'target_name': 'chromium_builder_dbg_tsan_mac',
599           'type': 'none',
600           'dependencies': [
601             '../base/base.gyp:base_unittests',
602             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
603             '../crypto/crypto.gyp:crypto_unittests',
604             '../ipc/ipc.gyp:ipc_tests',
605             '../jingle/jingle.gyp:jingle_unittests',
606             '../media/media.gyp:media_unittests',
607             '../net/net.gyp:net_unittests',
608             '../printing/printing.gyp:printing_unittests',
609             '../remoting/remoting.gyp:remoting_unittests',
610             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
611             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
612             '../url/url.gyp:url_unittests',
613           ],
614         },
615         {
616           # TODO(dpranke): Update the bots to refer to 'chromium_builder_asan'.
617           'target_name': 'chromium_builder_asan_mac',
618           'type': 'none',
619           'dependencies': [
620             'chromium_builder_asan'
621           ],
622         },
623         {
624           'target_name': 'chromium_builder_dbg_valgrind_mac',
625           'type': 'none',
626           'dependencies': [
627             '../base/base.gyp:base_unittests',
628             '../chrome/chrome.gyp:unit_tests',
629             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
630             '../components/components.gyp:components_unittests',
631             '../content/content.gyp:content_unittests',
632             '../crypto/crypto.gyp:crypto_unittests',
633             '../device/device_tests.gyp:device_unittests',
634             '../ipc/ipc.gyp:ipc_tests',
635             '../jingle/jingle.gyp:jingle_unittests',
636             '../media/media.gyp:media_unittests',
637             '../net/net.gyp:net_unittests',
638             '../printing/printing.gyp:printing_unittests',
639             '../remoting/remoting.gyp:remoting_unittests',
640             '../sql/sql.gyp:sql_unittests',
641             '../sync/sync.gyp:sync_unit_tests',
642             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
643             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
644             '../ui/ui.gyp:ui_unittests',
645             '../url/url.gyp:url_unittests',
646           ],
647         },
648       ],  # targets
649     }], # OS="mac"
650     ['OS=="win"', {
651       'targets': [
652         # These targets are here so the build bots can use them to build
653         # subsets of a full tree for faster cycle times.
654         {
655           'target_name': 'chromium_builder',
656           'type': 'none',
657           'dependencies': [
658             '../cc/cc_tests.gyp:cc_unittests',
659             '../chrome/chrome.gyp:browser_tests',
660             '../chrome/chrome.gyp:gcapi_test',
661             '../chrome/chrome.gyp:installer_util_unittests',
662             '../chrome/chrome.gyp:interactive_ui_tests',
663             '../chrome/chrome.gyp:mini_installer_test',
664             '../chrome/chrome.gyp:performance_browser_tests',
665             '../chrome/chrome.gyp:performance_ui_tests',
666             '../chrome/chrome.gyp:sync_integration_tests',
667             '../chrome/chrome.gyp:unit_tests',
668             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
669             '../components/components.gyp:components_unittests',
670             '../content/content.gyp:content_browsertests',
671             '../content/content.gyp:content_unittests',
672             # mini_installer_tests depends on mini_installer. This should be
673             # defined in installer.gyp.
674             '../chrome/installer/mini_installer.gyp:mini_installer',
675             '../chrome_frame/chrome_frame.gyp:npchrome_frame',
676             '../courgette/courgette.gyp:courgette_unittests',
677             '../device/device_tests.gyp:device_unittests',
678             '../gpu/gpu.gyp:gpu_unittests',
679             '../ipc/ipc.gyp:ipc_tests',
680             '../jingle/jingle.gyp:jingle_unittests',
681             '../media/media.gyp:media_unittests',
682             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
683             '../printing/printing.gyp:printing_unittests',
684             '../remoting/remoting.gyp:remoting_unittests',
685             '../sql/sql.gyp:sql_unittests',
686             '../sync/sync.gyp:sync_unit_tests',
687             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
688             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
689             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
690             '../ui/ui.gyp:ui_unittests',
691             '../ui/views/views.gyp:views_unittests',
692             '../url/url.gyp:url_unittests',
693             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
694             '../third_party/WebKit/public/blink_test_plugin.gyp:blink_test_plugin',
695           ],
696           'conditions': [
697              ['target_arch!="x64"', {
698                'dependencies': [
699                  '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
700                  '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests',
701                  '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests',
702                  '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
703                  '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
704                ]
705              }, { # target_arch!="x64"
706                'dependencies!': [
707                  '../chrome_frame/chrome_frame.gyp:npchrome_frame',
708                ],
709                'defines': [
710                  'OMIT_CHROME_FRAME',
711                ],
712              }], # target_arch=="x64"
713           ],
714         },
715         {
716           'target_name': 'chromium_builder_win_cf',
717           'type': 'none',
718           'conditions': [
719             ['target_arch!="x64"', {
720               'dependencies': [
721                 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
722                 '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests',
723                 '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests',
724                 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
725                 '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
726                 '../chrome_frame/chrome_frame.gyp:npchrome_frame',
727               ],
728             }], # target_arch!="x64"
729           ],
730         },
731         {
732           'target_name': 'chromium_builder_dbg_tsan_win',
733           'type': 'none',
734           'dependencies': [
735             '../base/base.gyp:base_unittests',
736             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
737             '../components/components.gyp:components_unittests',
738             '../content/content.gyp:content_unittests',
739             '../crypto/crypto.gyp:crypto_unittests',
740             '../ipc/ipc.gyp:ipc_tests',
741             '../jingle/jingle.gyp:jingle_unittests',
742             '../media/media.gyp:media_unittests',
743             '../net/net.gyp:net_unittests',
744             '../printing/printing.gyp:printing_unittests',
745             '../remoting/remoting.gyp:remoting_unittests',
746             '../sql/sql.gyp:sql_unittests',
747             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
748             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
749             '../url/url.gyp:url_unittests',
750           ],
751         },
752         {
753           'target_name': 'chromium_builder_dbg_drmemory_win',
754           'type': 'none',
755           'dependencies': [
756             '../base/base.gyp:base_unittests',
757             '../chrome/chrome.gyp:unit_tests',
758             '../chrome/chrome.gyp:browser_tests',
759             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
760             '../components/components.gyp:components_unittests',
761             '../content/content.gyp:content_unittests',
762             '../crypto/crypto.gyp:crypto_unittests',
763             '../device/device_tests.gyp:device_unittests',
764             '../ipc/ipc.gyp:ipc_tests',
765             '../jingle/jingle.gyp:jingle_unittests',
766             '../media/media.gyp:media_unittests',
767             '../net/net.gyp:net_unittests',
768             '../printing/printing.gyp:printing_unittests',
769             '../remoting/remoting.gyp:remoting_unittests',
770             '../sql/sql.gyp:sql_unittests',
771             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
772             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
773             '../url/url.gyp:url_unittests',
774           ],
775         },
776         {
777           'target_name': 'webkit_builder_win',
778           'type': 'none',
779           'dependencies': [
780             'all_webkit',
781           ],
782         },
783       ],  # targets
784       'conditions': [
785         ['branding=="Chrome"', {
786           'targets': [
787             {
788               'target_name': 'chrome_official_builder',
789               'type': 'none',
790               'dependencies': [
791                 '../chrome/chrome.gyp:crash_service',
792                 '../chrome/chrome.gyp:gcapi_dll',
793                 '../chrome/chrome.gyp:policy_templates',
794                 '../courgette/courgette.gyp:courgette64',
795                 '../chrome/installer/mini_installer.gyp:mini_installer',
796                 '../courgette/courgette.gyp:courgette',
797                 '../cloud_print/cloud_print.gyp:cloud_print',
798                 '../remoting/remoting.gyp:remoting_webapp',
799                 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
800               ],
801               'conditions': [
802                 # If you change this condition, make sure you also change it
803                 # in chrome_tests.gypi
804                 ['enable_automation==1 and (OS=="mac" or (os_posix==1 and target_arch==python_arch))', {
805                   'dependencies': [
806                     '../chrome/chrome.gyp:pyautolib',
807                   ],
808                 }],
809                 ['internal_pdf', {
810                   'dependencies': [
811                     '../pdf/pdf.gyp:pdf',
812                   ],
813                 }], # internal_pdf
814                 ['target_arch=="ia32"', {
815                   'dependencies': [
816                     '../chrome/chrome.gyp:crash_service_win64',
817                     '../chrome_frame/chrome_frame.gyp:npchrome_frame',
818                     # Omitting tests from Win64 to speed up cycle times.
819                     '../chrome/chrome.gyp:interactive_ui_tests',
820                   ],
821                 }],
822                 ['component != "shared_library" and wix_exists == "True" and \
823                     sas_dll_exists == "True"', {
824                   'dependencies': [
825                     '../remoting/remoting.gyp:remoting_host_installation',
826                   ],
827                 }], # component != "shared_library"
828                 ['target_arch=="x64"', {
829                   'defines': [
830                     'OMIT_CHROME_FRAME',
831                   ],
832                 }], # target_arch=="x64"
833               ]
834             },
835           ], # targets
836         }], # branding=="Chrome"
837        ], # conditions
838     }], # OS="win"
839     ['use_aura==1', {
840       'targets': [
841         {
842           'target_name': 'aura_builder',
843           'type': 'none',
844           'dependencies': [
845             '../cc/cc_tests.gyp:cc_unittests',
846             '../chrome/chrome.gyp:browser_tests',
847             '../chrome/chrome.gyp:chrome',
848             '../chrome/chrome.gyp:interactive_ui_tests',
849             '../chrome/chrome.gyp:unit_tests',
850             '../components/components.gyp:components_unittests',
851             '../content/content.gyp:content_browsertests',
852             '../content/content.gyp:content_unittests',
853             '../device/device_tests.gyp:device_unittests',
854             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
855             '../remoting/remoting.gyp:remoting_unittests',
856             '../ui/app_list/app_list.gyp:*',
857             '../ui/aura/aura.gyp:*',
858             '../ui/compositor/compositor.gyp:*',
859             '../ui/message_center/message_center.gyp:*',
860             '../ui/ui.gyp:ui_unittests',
861             '../ui/snapshot/snapshot.gyp:snapshot_unittests',
862             '../ui/views/views.gyp:views',
863             '../ui/views/views.gyp:views_examples_with_content_exe',
864             '../ui/views/views.gyp:views_unittests',
865             '../ui/keyboard/keyboard.gyp:*',
866             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
867             'all_webkit',
868           ],
869           'conditions': [
870             ['OS=="win"', {
871               'dependencies': [
872                 '../chrome/chrome.gyp:crash_service',
873                 '../chrome_frame/chrome_frame.gyp:npchrome_frame',
874               ],
875             }],
876             ['OS=="win" and target_arch!="x64"', {
877               'dependencies': [
878                 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
879                 '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests',
880                 '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests',
881                 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
882                 '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
883               ],
884             }],
885             ['OS=="win" and target_arch=="x64"', {
886               'dependencies!': [
887                 '../chrome_frame/chrome_frame.gyp:npchrome_frame',
888               ],
889               'defines': [
890                 'OMIT_CHROME_FRAME',
891               ],
892             }],
893             ['OS=="win" and target_arch=="ia32"', {
894               'dependencies': [
895                 '../chrome/chrome.gyp:crash_service_win64',
896               ],
897             }],
898             ['use_ash==1', {
899               'dependencies': [
900                 '../ash/ash.gyp:ash_shell',
901                 '../ash/ash.gyp:ash_unittests',
902               ],
903             }],
904             ['OS=="linux"', {
905               # Tests that currently only work on Linux.
906               'dependencies': [
907                 '../base/base.gyp:base_unittests',
908                 '../ipc/ipc.gyp:ipc_tests',
909                 '../sql/sql.gyp:sql_unittests',
910                 '../sync/sync.gyp:sync_unit_tests',
911               ],
912             }],
913             ['OS=="mac"', {
914               # Exclude dependencies that are not currently implemented.
915               'dependencies!': [
916                 '../chrome/chrome.gyp:chrome',
917                 '../chrome/chrome.gyp:unit_tests',
918                 '../device/device_tests.gyp:device_unittests',
919                 '../ui/views/views.gyp:views_unittests',
920               ],
921             }],
922             ['chromeos==1', {
923               'dependencies': [
924                 '../chromeos/chromeos.gyp:chromeos_unittests',
925               ],
926             }],
927           ],
928         },
929       ],  # targets
930     }], # "use_aura==1"
931     ['test_isolation_mode != "noop"', {
932       'targets': [
933         {
934           'target_name': 'chromium_swarm_tests',
935           'type': 'none',
936           'dependencies': [
937             '../base/base.gyp:base_unittests_run',
938             '../chrome/chrome.gyp:browser_tests_run',
939             '../chrome/chrome.gyp:interactive_ui_tests_run',
940             '../chrome/chrome.gyp:sync_integration_tests_run',
941             '../chrome/chrome.gyp:unit_tests_run',
942             '../net/net.gyp:net_unittests_run',
943           ],
944         }, # target_name: chromium_swarm_tests
945       ],
946     }],
947   ], # conditions