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