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