Clear render surface when we early out in CalcDrawPropsInternal
[chromium-blink-merge.git] / build / all.gyp
blob32ad72a2cc33beb7426e71d8435b3fadb506c14e
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         '../net/net.gyp:*',
18         '../sdch/sdch.gyp:*',
19         '../sql/sql.gyp:*',
20         '../sync/sync.gyp:*',
21         '../testing/gmock.gyp:*',
22         '../testing/gtest.gyp:*',
23         '../third_party/icu/icu.gyp:*',
24         '../third_party/libxml/libxml.gyp:*',
25         '../third_party/sqlite/sqlite.gyp:*',
26         '../third_party/zlib/zlib.gyp:*',
27         '../ui/snapshot/snapshot.gyp:*',
28         '../ui/ui.gyp:*',
29         '../url/url.gyp:*',
30       ],
31       'conditions': [
32         ['OS!="ios"', {
33           'dependencies': [
34             '../cc/cc_tests.gyp:*',
35             '../components/components.gyp:*',
36             '../device/bluetooth/bluetooth.gyp:*',
37             '../device/device_tests.gyp:*',
38             '../device/usb/usb.gyp:*',
39             '../gpu/gpu.gyp:*',
40             '../gpu/tools/tools.gyp:*',
41             '../ipc/ipc.gyp:*',
42             '../jingle/jingle.gyp:*',
43             '../media/media.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         '../net/net.gyp:net_unittests',
211         '../sql/sql.gyp:sql_unittests',
212         '../ui/ui.gyp:ui_unittests',
213         '../url/url.gyp:url_unittests',
214       ],
215       'conditions': [
216         ['OS!="ios"', {
217           'dependencies': [
218             '../cc/cc_tests.gyp:cc_unittests',
219             '../chrome/chrome.gyp:browser_tests',
220             '../chrome/chrome.gyp:chromedriver2_tests',
221             '../chrome/chrome.gyp:chromedriver2_unittests',
222             '../chrome/chrome.gyp:interactive_ui_tests',
223             '../chrome/chrome.gyp:sync_integration_tests',
224             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
225             '../components/components.gyp:components_unittests',
226             '../content/content.gyp:content_browsertests',
227             '../content/content.gyp:content_shell',
228             '../content/content.gyp:content_unittests',
229             '../device/device_tests.gyp:device_unittests',
230             '../gpu/gpu.gyp:gpu_unittests',
231             '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support',
232             '../ipc/ipc.gyp:ipc_tests',
233             '../jingle/jingle.gyp:jingle_unittests',
234             '../media/media.gyp:media_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             ['OS=="linux"', {
354               'dependencies': [
355                 '../chrome/chrome.gyp:linux_symbols'
356               ],
357             }],
358           ],
359         }, # target_name: chromium_builder_perf
360         {
361           'target_name': 'chromium_gpu_builder',
362           'type': 'none',
363           'dependencies': [
364             '../chrome/chrome.gyp:gpu_tests',
365             '../chrome/chrome.gyp:performance_browser_tests',
366             '../chrome/chrome.gyp:performance_ui_tests',
367             '../content/content.gyp:content_browsertests',
368             '../content/content.gyp:content_gl_tests',
369             '../gpu/gpu.gyp:gl_tests',
370           ],
371           'conditions': [
372             ['internal_gles2_conform_tests', {
373               'dependencies': [
374                 '../gpu/gles2_conform_test/gles2_conform_test.gyp:gles2_conform_test',
375               ],
376             }], # internal_gles2_conform
377           ],
378         }, # target_name: chromium_gpu_builder
379         {
380           'target_name': 'chromium_gpu_debug_builder',
381           'type': 'none',
382           'dependencies': [
383             '../chrome/chrome.gyp:gpu_tests',
384             '../content/content.gyp:content_browsertests',
385             '../content/content.gyp:content_gl_tests',
386             '../gpu/gpu.gyp:gl_tests',
387           ],
388           'conditions': [
389             ['internal_gles2_conform_tests', {
390               'dependencies': [
391                 '../gpu/gles2_conform_test/gles2_conform_test.gyp:gles2_conform_test',
392               ],
393             }], # internal_gles2_conform
394           ],
395         }, # target_name: chromium_gpu_debug_builder
396         {
397           'target_name': 'chromium_builder_qa',
398           'type': 'none',
399           'dependencies': [
400             '../chrome/chrome.gyp:chrome',
401             # Dependencies of pyauto_functional tests.
402             '../remoting/remoting.gyp:remoting_webapp',
403           ],
404           'conditions': [
405             # If you change this condition, make sure you also change it
406             # in chrome_tests.gypi
407             ['enable_automation==1 and (OS=="mac" or ((OS=="win" or os_posix==1) and target_arch==python_arch))', {
408               'dependencies': [
409                 '../chrome/chrome.gyp:pyautolib',
410               ],
411             }],
412             ['OS=="mac"', {
413               'dependencies': [
414                 '../remoting/remoting.gyp:remoting_me2me_host_archive',
415               ],
416             }],
417             ['OS=="win"', {
418               'dependencies': [
419                 '../chrome/chrome.gyp:crash_service',
420               ],
421             }],
422             ['OS=="win" and target_arch=="ia32"', {
423               'dependencies': [
424                 '../chrome/chrome.gyp:crash_service_win64',
425               ],
426             }],
427             ['OS=="win" and component != "shared_library" and wix_exists == "True" and sas_dll_exists == "True"', {
428               'dependencies': [
429                 '../remoting/remoting.gyp:remoting_host_installation',
430               ],
431             }],
432           ],
433         }, # target_name: chromium_builder_qa
434         {
435           'target_name': 'chromium_builder_perf_av',
436           'type': 'none',
437           'dependencies': [
438             'all_webkit', # to run layout tests
439             'chromium_builder_qa',  # needed for perf pyauto tests
440           ],
441         },  # target_name: chromium_builder_perf_av
442         {
443           # This target contains everything we need to run tests on the special
444           # device-equipped WebRTC bots. We have device-requiring tests in
445           # PyAuto, browser_tests and content_browsertests.
446           'target_name': 'chromium_builder_webrtc',
447           'type': 'none',
448           'dependencies': [
449             'chromium_builder_qa',  # needed for perf pyauto tests
450             '../chrome/chrome.gyp:browser_tests',
451             '../content/content.gyp:content_browsertests',
452             '../content/content.gyp:content_unittests',
453             '../third_party/libjingle/libjingle.gyp:peerconnection_server',
454             '../third_party/webrtc/tools/tools.gyp:frame_analyzer',
455             '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter',
456           ],
457           'conditions': [
458             ['OS=="win"', {
459               'dependencies': [
460                 '../chrome/chrome.gyp:crash_service',
461               ],
462             }],
463           ],
464         },  # target_name: chromium_builder_webrtc
465         {
466           'target_name': 'chromium_builder_chromedriver',
467           'type': 'none',
468           'dependencies': [
469             '../chrome/chrome.gyp:chromedriver2_server',
470             '../chrome/chrome.gyp:chromedriver2_tests',
471             '../chrome/chrome.gyp:chromedriver2_unittests',
472           ],
473         },  # target_name: chromium_builder_chromedriver
474         {
475           'target_name': 'chromium_builder_asan',
476           'type': 'none',
477           'dependencies': [
478             '../chrome/chrome.gyp:chrome',
480             # We refer to content_shell directly rather than all_webkit
481             # because we don't want the _unittests binaries.
482             '../content/content.gyp:content_browsertests',
483             '../content/content.gyp:content_shell',
485             '../net/net.gyp:dns_fuzz_stub',
486          ],
487        },
488       ],  # targets
489     }],
490     ['OS=="mac"', {
491       'targets': [
492         {
493           # Target to build everything plus the dmg.  We don't put the dmg
494           # in the All target because developers really don't need it.
495           'target_name': 'all_and_dmg',
496           'type': 'none',
497           'dependencies': [
498             'All',
499             '../chrome/chrome.gyp:build_app_dmg',
500           ],
501         },
502         # These targets are here so the build bots can use them to build
503         # subsets of a full tree for faster cycle times.
504         {
505           'target_name': 'chromium_builder_dbg',
506           'type': 'none',
507           'dependencies': [
508             '../cc/cc_tests.gyp:cc_unittests',
509             '../chrome/chrome.gyp:browser_tests',
510             '../chrome/chrome.gyp:interactive_ui_tests',
511             '../chrome/chrome.gyp:sync_integration_tests',
512             '../chrome/chrome.gyp:unit_tests',
513             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
514             '../components/components.gyp:components_unittests',
515             '../content/content.gyp:content_browsertests',
516             '../content/content.gyp:content_unittests',
517             '../device/device_tests.gyp:device_unittests',
518             '../gpu/gpu.gyp:gpu_unittests',
519             '../ipc/ipc.gyp:ipc_tests',
520             '../jingle/jingle.gyp:jingle_unittests',
521             '../media/media.gyp:media_unittests',
522             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
523             '../printing/printing.gyp:printing_unittests',
524             '../remoting/remoting.gyp:remoting_unittests',
525             '../rlz/rlz.gyp:*',
526             '../sql/sql.gyp:sql_unittests',
527             '../sync/sync.gyp:sync_unit_tests',
528             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
529             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
530             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
531             '../ui/ui.gyp:ui_unittests',
532             '../url/url.gyp:url_unittests',
533             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
534           ],
535         },
536         {
537           'target_name': 'chromium_builder_rel',
538           'type': 'none',
539           'dependencies': [
540             '../cc/cc_tests.gyp:cc_unittests',
541             '../chrome/chrome.gyp:browser_tests',
542             '../chrome/chrome.gyp:performance_browser_tests',
543             '../chrome/chrome.gyp:performance_ui_tests',
544             '../chrome/chrome.gyp:sync_integration_tests',
545             '../chrome/chrome.gyp:unit_tests',
546             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
547             '../components/components.gyp:components_unittests',
548             '../content/content.gyp:content_browsertests',
549             '../content/content.gyp:content_unittests',
550             '../device/device_tests.gyp:device_unittests',
551             '../gpu/gpu.gyp:gpu_unittests',
552             '../ipc/ipc.gyp:ipc_tests',
553             '../jingle/jingle.gyp:jingle_unittests',
554             '../media/media.gyp:media_unittests',
555             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
556             '../printing/printing.gyp:printing_unittests',
557             '../remoting/remoting.gyp:remoting_unittests',
558             '../sql/sql.gyp:sql_unittests',
559             '../sync/sync.gyp:sync_unit_tests',
560             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
561             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
562             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
563             '../ui/ui.gyp:ui_unittests',
564             '../url/url.gyp:url_unittests',
565             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
566           ],
567         },
568         {
569           'target_name': 'chromium_builder_dbg_tsan_mac',
570           'type': 'none',
571           'dependencies': [
572             '../base/base.gyp:base_unittests',
573             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
574             '../crypto/crypto.gyp:crypto_unittests',
575             '../ipc/ipc.gyp:ipc_tests',
576             '../jingle/jingle.gyp:jingle_unittests',
577             '../media/media.gyp:media_unittests',
578             '../net/net.gyp:net_unittests',
579             '../printing/printing.gyp:printing_unittests',
580             '../remoting/remoting.gyp:remoting_unittests',
581             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
582             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
583             '../url/url.gyp:url_unittests',
584           ],
585         },
586         {
587           # TODO(dpranke): Update the bots to refer to 'chromium_builder_asan'.
588           'target_name': 'chromium_builder_asan_mac',
589           'type': 'none',
590           'dependencies': [
591             'chromium_builder_asan'
592           ],
593         },
594         {
595           'target_name': 'chromium_builder_dbg_valgrind_mac',
596           'type': 'none',
597           'dependencies': [
598             '../base/base.gyp:base_unittests',
599             '../chrome/chrome.gyp:unit_tests',
600             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
601             '../components/components.gyp:components_unittests',
602             '../content/content.gyp:content_unittests',
603             '../crypto/crypto.gyp:crypto_unittests',
604             '../device/device_tests.gyp:device_unittests',
605             '../ipc/ipc.gyp:ipc_tests',
606             '../jingle/jingle.gyp:jingle_unittests',
607             '../media/media.gyp:media_unittests',
608             '../net/net.gyp:net_unittests',
609             '../printing/printing.gyp:printing_unittests',
610             '../remoting/remoting.gyp:remoting_unittests',
611             '../sql/sql.gyp:sql_unittests',
612             '../sync/sync.gyp:sync_unit_tests',
613             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
614             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
615             '../ui/ui.gyp:ui_unittests',
616             '../url/url.gyp:url_unittests',
617           ],
618         },
619       ],  # targets
620     }], # OS="mac"
621     ['OS=="win"', {
622       'targets': [
623         # These targets are here so the build bots can use them to build
624         # subsets of a full tree for faster cycle times.
625         {
626           'target_name': 'chromium_builder',
627           'type': 'none',
628           'dependencies': [
629             '../cc/cc_tests.gyp:cc_unittests',
630             '../chrome/chrome.gyp:browser_tests',
631             '../chrome/chrome.gyp:gcapi_test',
632             '../chrome/chrome.gyp:installer_util_unittests',
633             '../chrome/chrome.gyp:interactive_ui_tests',
634             '../chrome/chrome.gyp:mini_installer_test',
635             '../chrome/chrome.gyp:performance_browser_tests',
636             '../chrome/chrome.gyp:performance_ui_tests',
637             '../chrome/chrome.gyp:sync_integration_tests',
638             '../chrome/chrome.gyp:unit_tests',
639             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
640             '../components/components.gyp:components_unittests',
641             '../content/content.gyp:content_browsertests',
642             '../content/content.gyp:content_unittests',
643             # mini_installer_tests depends on mini_installer. This should be
644             # defined in installer.gyp.
645             '../chrome/installer/mini_installer.gyp:mini_installer',
646             '../chrome_frame/chrome_frame.gyp:npchrome_frame',
647             '../courgette/courgette.gyp:courgette_unittests',
648             '../device/device_tests.gyp:device_unittests',
649             '../gpu/gpu.gyp:gpu_unittests',
650             '../ipc/ipc.gyp:ipc_tests',
651             '../jingle/jingle.gyp:jingle_unittests',
652             '../media/media.gyp:media_unittests',
653             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
654             '../printing/printing.gyp:printing_unittests',
655             '../remoting/remoting.gyp:remoting_unittests',
656             '../sql/sql.gyp:sql_unittests',
657             '../sync/sync.gyp:sync_unit_tests',
658             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
659             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
660             '../tools/perf/clear_system_cache/clear_system_cache.gyp:*',
661             '../ui/ui.gyp:ui_unittests',
662             '../ui/views/views.gyp:views_unittests',
663             '../url/url.gyp:url_unittests',
664             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
665             '../third_party/WebKit/public/blink_test_plugin.gyp:blink_test_plugin',
666           ],
667           'conditions': [
668              ['target_arch!="x64"', {
669                'dependencies': [
670                  '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
671                  '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests',
672                  '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests',
673                  '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
674                  '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
675                ]
676              }, { # target_arch!="x64"
677                'dependencies!': [
678                  '../chrome_frame/chrome_frame.gyp:npchrome_frame',
679                ],
680                'defines': [
681                  'OMIT_CHROME_FRAME',
682                ],
683              }], # target_arch=="x64"
684           ],
685         },
686         {
687           'target_name': 'chromium_builder_win_cf',
688           'type': 'none',
689           'conditions': [
690             ['target_arch!="x64"', {
691               'dependencies': [
692                 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
693                 '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests',
694                 '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests',
695                 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
696                 '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
697                 '../chrome_frame/chrome_frame.gyp:npchrome_frame',
698               ],
699             }], # target_arch!="x64"
700           ],
701         },
702         {
703           'target_name': 'chromium_builder_dbg_tsan_win',
704           'type': 'none',
705           'dependencies': [
706             '../base/base.gyp:base_unittests',
707             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
708             '../components/components.gyp:components_unittests',
709             '../content/content.gyp:content_unittests',
710             '../crypto/crypto.gyp:crypto_unittests',
711             '../ipc/ipc.gyp:ipc_tests',
712             '../jingle/jingle.gyp:jingle_unittests',
713             '../media/media.gyp:media_unittests',
714             '../net/net.gyp:net_unittests',
715             '../printing/printing.gyp:printing_unittests',
716             '../remoting/remoting.gyp:remoting_unittests',
717             '../sql/sql.gyp:sql_unittests',
718             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
719             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
720             '../url/url.gyp:url_unittests',
721           ],
722         },
723         {
724           'target_name': 'chromium_builder_dbg_drmemory_win',
725           'type': 'none',
726           'dependencies': [
727             '../base/base.gyp:base_unittests',
728             '../chrome/chrome.gyp:unit_tests',
729             '../chrome/chrome.gyp:browser_tests',
730             '../cloud_print/cloud_print.gyp:cloud_print_unittests',
731             '../components/components.gyp:components_unittests',
732             '../content/content.gyp:content_unittests',
733             '../crypto/crypto.gyp:crypto_unittests',
734             '../device/device_tests.gyp:device_unittests',
735             '../ipc/ipc.gyp:ipc_tests',
736             '../jingle/jingle.gyp:jingle_unittests',
737             '../media/media.gyp:media_unittests',
738             '../net/net.gyp:net_unittests',
739             '../printing/printing.gyp:printing_unittests',
740             '../remoting/remoting.gyp:remoting_unittests',
741             '../sql/sql.gyp:sql_unittests',
742             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
743             '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests',
744             '../url/url.gyp:url_unittests',
745           ],
746         },
747         {
748           'target_name': 'webkit_builder_win',
749           'type': 'none',
750           'dependencies': [
751             'all_webkit',
752           ],
753         },
754       ],  # targets
755       'conditions': [
756         ['branding=="Chrome"', {
757           'targets': [
758             {
759               'target_name': 'chrome_official_builder',
760               'type': 'none',
761               'dependencies': [
762                 '../chrome/chrome.gyp:crash_service',
763                 '../chrome/chrome.gyp:gcapi_dll',
764                 '../chrome/chrome.gyp:policy_templates',
765                 '../courgette/courgette.gyp:courgette64',
766                 '../chrome/installer/mini_installer.gyp:mini_installer',
767                 '../courgette/courgette.gyp:courgette',
768                 '../cloud_print/cloud_print.gyp:cloud_print',
769                 '../remoting/remoting.gyp:remoting_webapp',
770                 '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
771               ],
772               'conditions': [
773                 # If you change this condition, make sure you also change it
774                 # in chrome_tests.gypi
775                 ['enable_automation==1 and (OS=="mac" or (os_posix==1 and target_arch==python_arch))', {
776                   'dependencies': [
777                     '../chrome/chrome.gyp:pyautolib',
778                   ],
779                 }],
780                 ['internal_pdf', {
781                   'dependencies': [
782                     '../pdf/pdf.gyp:pdf',
783                   ],
784                 }], # internal_pdf
785                 ['target_arch=="ia32"', {
786                   'dependencies': [
787                     '../chrome/chrome.gyp:crash_service_win64',
788                     '../chrome_frame/chrome_frame.gyp:npchrome_frame',
789                     # Omitting tests from Win64 to speed up cycle times.
790                     '../chrome/chrome.gyp:automated_ui_tests',
791                     '../chrome/chrome.gyp:chromedriver',
792                     '../chrome/chrome.gyp:interactive_ui_tests',
793                     '../chrome/chrome.gyp:reliability_tests',
794                   ],
795                 }],
796                 ['component != "shared_library" and wix_exists == "True" and \
797                     sas_dll_exists == "True"', {
798                   'dependencies': [
799                     '../remoting/remoting.gyp:remoting_host_installation',
800                   ],
801                 }], # component != "shared_library"
802                 ['target_arch=="x64"', {
803                   'defines': [
804                     'OMIT_CHROME_FRAME',
805                   ],
806                 }], # target_arch=="x64"
807               ]
808             },
809           ], # targets
810         }], # branding=="Chrome"
811        ], # conditions
812     }], # OS="win"
813     ['use_aura==1', {
814       'targets': [
815         {
816           'target_name': 'aura_builder',
817           'type': 'none',
818           'dependencies': [
819             '../cc/cc_tests.gyp:cc_unittests',
820             '../chrome/chrome.gyp:browser_tests',
821             '../chrome/chrome.gyp:chrome',
822             '../chrome/chrome.gyp:interactive_ui_tests',
823             '../chrome/chrome.gyp:unit_tests',
824             '../components/components.gyp:components_unittests',
825             '../content/content.gyp:content_browsertests',
826             '../content/content.gyp:content_unittests',
827             '../device/device_tests.gyp:device_unittests',
828             '../ppapi/ppapi_internal.gyp:ppapi_unittests',
829             '../remoting/remoting.gyp:remoting_unittests',
830             '../ui/app_list/app_list.gyp:*',
831             '../ui/aura/aura.gyp:*',
832             '../ui/compositor/compositor.gyp:*',
833             '../ui/message_center/message_center.gyp:*',
834             '../ui/ui.gyp:ui_unittests',
835             '../ui/snapshot/snapshot.gyp:snapshot_unittests',
836             '../ui/views/views.gyp:views',
837             '../ui/views/views.gyp:views_examples_with_content_exe',
838             '../ui/views/views.gyp:views_unittests',
839             '../ui/keyboard/keyboard.gyp:*',
840             '../webkit/renderer/compositor_bindings/compositor_bindings_tests.gyp:webkit_compositor_bindings_unittests',
841             'all_webkit',
842           ],
843           'conditions': [
844             ['OS=="win"', {
845               'dependencies': [
846                 '../chrome/chrome.gyp:crash_service',
847                 '../chrome_frame/chrome_frame.gyp:npchrome_frame',
848               ],
849             }],
850             ['OS=="win" and target_arch!="x64"', {
851               'dependencies': [
852                 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
853                 '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests',
854                 '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests',
855                 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
856                 '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
857               ],
858             }],
859             ['OS=="win" and target_arch=="x64"', {
860               'dependencies!': [
861                 '../chrome_frame/chrome_frame.gyp:npchrome_frame',
862               ],
863               'defines': [
864                 'OMIT_CHROME_FRAME',
865               ],
866             }],
867             ['OS=="win" and target_arch=="ia32"', {
868               'dependencies': [
869                 '../chrome/chrome.gyp:crash_service_win64',
870               ],
871             }],
872             ['use_ash==1', {
873               'dependencies': [
874                 '../ash/ash.gyp:ash_shell',
875                 '../ash/ash.gyp:ash_unittests',
876               ],
877             }],
878             ['OS=="linux"', {
879               # Tests that currently only work on Linux.
880               'dependencies': [
881                 '../base/base.gyp:base_unittests',
882                 '../ipc/ipc.gyp:ipc_tests',
883                 '../sql/sql.gyp:sql_unittests',
884                 '../sync/sync.gyp:sync_unit_tests',
885               ],
886             }],
887             ['OS=="mac"', {
888               # Exclude dependencies that are not currently implemented.
889               'dependencies!': [
890                 '../chrome/chrome.gyp:chrome',
891                 '../chrome/chrome.gyp:unit_tests',
892                 '../device/device_tests.gyp:device_unittests',
893                 '../ui/views/views.gyp:views_unittests',
894               ],
895             }],
896             ['chromeos==1', {
897               'dependencies': [
898                 '../chromeos/chromeos.gyp:chromeos_unittests',
899               ],
900             }],
901           ],
902         },
903       ],  # targets
904     }], # "use_aura==1"
905     ['test_isolation_mode != "noop"', {
906       'targets': [
907         {
908           'target_name': 'chromium_swarm_tests',
909           'type': 'none',
910           'dependencies': [
911             '../base/base.gyp:base_unittests_run',
912             '../chrome/chrome.gyp:browser_tests_run',
913             '../chrome/chrome.gyp:interactive_ui_tests_run',
914             '../chrome/chrome.gyp:sync_integration_tests_run',
915             '../chrome/chrome.gyp:unit_tests_run',
916             '../net/net.gyp:net_unittests_run',
917           ],
918         }, # target_name: chromium_swarm_tests
919       ],
920     }],
921   ], # conditions