Adding SSL mutex specification to a local file, to stop relying on a mutable
[chromium-blink-merge.git] / build / all.gyp
blobd8e8fa9096aba9c036581fbdb7a8560ca0391d68
1 # Copyright (c) 2010 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         '../app/app.gyp:*',
13         '../base/base.gyp:*',
14         '../chrome/browser/sync/tools/sync_tools.gyp:*',
15         '../chrome/chrome.gyp:*',
16         '../gfx/gfx.gyp:*',
17         '../gpu/gpu.gyp:*',
18         '../gpu/demos/demos.gyp:*',
19         '../ipc/ipc.gyp:*',
20         '../jingle/jingle.gyp:*',
21         '../media/media.gyp:*',
22         '../net/net.gyp:*',
23         '../ppapi/ppapi.gyp:*',
24         '../printing/printing.gyp:*',
25         '../sdch/sdch.gyp:*',
26         '../skia/skia.gyp:*',
27         '../testing/gmock.gyp:*',
28         '../testing/gtest.gyp:*',
29         '../third_party/bzip2/bzip2.gyp:*',
30         '../third_party/cacheinvalidation/cacheinvalidation.gyp:*',
31         '../third_party/cld/cld.gyp:*',
32         '../third_party/codesighs/codesighs.gyp:*',
33         '../third_party/ffmpeg/ffmpeg.gyp:*',
34         '../third_party/iccjpeg/iccjpeg.gyp:*',
35         '../third_party/icu/icu.gyp:*',
36         '../third_party/libjpeg/libjpeg.gyp:*',
37         '../third_party/libpng/libpng.gyp:*',
38         '../third_party/libwebp/libwebp.gyp:*',
39         '../third_party/libxml/libxml.gyp:*',
40         '../third_party/libxslt/libxslt.gyp:*',
41         '../third_party/lzma_sdk/lzma_sdk.gyp:*',
42         '../third_party/mesa/mesa.gyp:*',
43         '../third_party/modp_b64/modp_b64.gyp:*',
44         '../third_party/npapi/npapi.gyp:*',
45         '../third_party/ots/ots.gyp:*',
46         '../third_party/qcms/qcms.gyp:*',
47         '../third_party/sqlite/sqlite.gyp:*',
48         '../third_party/WebKit/WebKit/chromium/WebKit.gyp:*',
49         '../third_party/zlib/zlib.gyp:*',
50         '../webkit/support/webkit_support.gyp:*',
51         '../webkit/webkit.gyp:*',
52         'util/build_util.gyp:*',
53         'temp_gyp/googleurl.gyp:*',
54       ],
55       'conditions': [
56         ['javascript_engine=="v8"', {
57           'dependencies': [
58             '../v8/tools/gyp/v8.gyp:*',
59           ],
60         }],
61         ['OS=="mac" or OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
62           'dependencies': [
63             '../third_party/yasm/yasm.gyp:*#host',
64            ],
65         }],
66         ['OS=="mac" or OS=="win"', {
67           'dependencies': [
68             '../third_party/nss/nss.gyp:*',
69            ],
70         }],
71         ['OS=="mac"', {
72           'dependencies': [
73             '../third_party/ocmock/ocmock.gyp:*',
74           ],
75         }],
76         ['OS=="linux"', {
77           'dependencies': [
78             '../breakpad/breakpad.gyp:*',
79             '../courgette/courgette.gyp:*',
80             '../sandbox/sandbox.gyp:*',
81           ],
82           'conditions': [
83             ['branding=="Chrome"', {
84               'dependencies': [
85                 '../chrome/chrome.gyp:linux_packages_<(channel)',
86               ],
87             }],
88           ],
89         }],
90         ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
91           'dependencies': [
92             '../tools/gtk_clipboard_dump/gtk_clipboard_dump.gyp:*',
93             '../tools/xdisplaycheck/xdisplaycheck.gyp:*',
94           ],
95         }],
96         ['OS=="win"', {
97           'conditions': [
98             ['win_use_allocator_shim==1', {
99               'dependencies': [
100                 '../base/allocator/allocator.gyp:*',
101               ],
102             }],
103           ],
104           'dependencies': [
105             '../breakpad/breakpad.gyp:*',
106             '../chrome/app/locales/locales.gyp:*',
107             '../ceee/ceee.gyp:*',
108             '../chrome_frame/chrome_frame.gyp:*',
109             '../courgette/courgette.gyp:*',
110             '../gears/gears.gyp:*',
111             '../rlz/rlz.gyp:*',
112             '../sandbox/sandbox.gyp:*',
113             '../third_party/angle/src/build_angle.gyp:*',
114             '../third_party/bsdiff/bsdiff.gyp:*',
115             '../third_party/bspatch/bspatch.gyp:*',
116             '../third_party/gles2_book/gles2_book.gyp:*',
117             '../tools/memory_watcher/memory_watcher.gyp:*',
118           ],
119         }, {
120           'dependencies': [
121             '../third_party/libevent/libevent.gyp:*',
122           ],
123         }],
124         ['toolkit_views==1', {
125           'dependencies': [
126             '../views/views.gyp:*',
127           ],
128         }],
129         ['chromeos==1', {
130           'dependencies': [
131             '../chrome/browser/chromeos/input_method/candidate_window.gyp:*',
132           ],
133         }],
134         ['remoting==1', {
135           'dependencies': [
136             '../remoting/remoting.gyp:*',
137           ],
138         }],
139         ['use_openssl!=1', {
140           'dependencies': [
141             '../net/third_party/nss/ssl.gyp:*',
142           ],
143         }],
144       ],
145     },
146     {
147       'target_name': 'chromium_builder_tests',
148       'type': 'none',
149       'dependencies': [
150         '../app/app.gyp:app_unittests',
151         '../base/base.gyp:base_unittests',
152         '../chrome/chrome.gyp:browser_tests',
153         '../chrome/chrome.gyp:interactive_ui_tests',
154         '../chrome/chrome.gyp:nacl_ui_tests',
155         '../chrome/chrome.gyp:nacl_sandbox_tests',
156         '../chrome/chrome.gyp:safe_browsing_tests',
157         '../chrome/chrome.gyp:sync_integration_tests',
158         '../chrome/chrome.gyp:sync_unit_tests',
159         '../chrome/chrome.gyp:ui_tests',
160         '../chrome/chrome.gyp:unit_tests',
161         '../gfx/gfx.gyp:gfx_unittests',
162         '../gpu/gpu.gyp:gpu_unittests',
163         '../ipc/ipc.gyp:ipc_tests',
164         '../jingle/jingle.gyp:notifier_unit_tests',
165         '../media/media.gyp:media_unittests',
166         '../net/net.gyp:net_unittests',
167         '../printing/printing.gyp:printing_unittests',
168         '../remoting/remoting.gyp:remoting_unittests',
169         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
170         'temp_gyp/googleurl.gyp:googleurl_unittests',
171       ],
172       'conditions': [
173         ['OS=="win"', {
174           'dependencies': [
175             '../chrome/chrome.gyp:installer_util_unittests',
176             '../chrome/chrome.gyp:mini_installer_test',
177             # mini_installer_tests depends on mini_installer. This should be
178             # defined in installer.gyp.
179             '../chrome/installer/mini_installer.gyp:mini_installer',
180             '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
181             '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests',
182             '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests',
183             '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
184             '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
185             '../chrome_frame/chrome_frame.gyp:npchrome_frame',
186             '../courgette/courgette.gyp:courgette_unittests',
187             '../sandbox/sandbox.gyp:sbox_integration_tests',
188             '../sandbox/sandbox.gyp:sbox_unittests',
189             '../sandbox/sandbox.gyp:sbox_validation_tests',
190             '../views/views.gyp:views_unittests',
191             '../third_party/WebKit/WebKit/chromium/WebKit.gyp:copy_TestNetscapePlugIn',
192             # TODO(nsylvain) ui_tests.exe depends on test_shell_common.
193             # This should:
194             # 1) not be the case. OR.
195             # 2) be expressed in the ui tests dependencies.
196             '../webkit/webkit.gyp:test_shell_common',
197            ],
198         }],
199       ],
200      }
201   ],
202   'conditions': [
203     ['OS=="mac"', {
204       'targets': [
205         {
206           # Target to build everything plus the dmg.  We don't put the dmg
207           # in the All target because developers really don't need it.
208           'target_name': 'all_and_dmg',
209           'type': 'none',
210           'dependencies': [
211             'All',
212             '../chrome/chrome.gyp:build_app_dmg',
213           ],
214         },
215         # These targets are here so the build bots can use them to build
216         # subsets of a full tree for faster cycle times.
217         {
218           'target_name': 'chromium_builder_dbg',
219           'type': 'none',
220           'dependencies': [
221             '../app/app.gyp:app_unittests',
222             '../chrome/chrome.gyp:browser_tests',
223             '../chrome/chrome.gyp:interactive_ui_tests',
224             '../chrome/chrome.gyp:nacl_ui_tests',
225             '../chrome/chrome.gyp:nacl_sandbox_tests',
226             '../chrome/chrome.gyp:safe_browsing_tests',
227             '../chrome/chrome.gyp:sync_integration_tests',
228             '../chrome/chrome.gyp:sync_unit_tests',
229             '../chrome/chrome.gyp:ui_tests',
230             '../chrome/chrome.gyp:unit_tests',
231             '../gfx/gfx.gyp:gfx_unittests',
232             '../gpu/gpu.gyp:gpu_unittests',
233             '../ipc/ipc.gyp:ipc_tests',
234             '../jingle/jingle.gyp:notifier_unit_tests',
235             '../media/media.gyp:media_unittests',
236             '../printing/printing.gyp:printing_unittests',
237             '../remoting/remoting.gyp:remoting_unittests',
238             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
239             'temp_gyp/googleurl.gyp:googleurl_unittests',
240           ],
241         },
242         {
243           'target_name': 'chromium_builder_rel',
244           'type': 'none',
245           'dependencies': [
246             '../app/app.gyp:app_unittests',
247             '../chrome/chrome.gyp:browser_tests',
248             '../chrome/chrome.gyp:memory_test',
249             '../chrome/chrome.gyp:nacl_ui_tests',
250             '../chrome/chrome.gyp:nacl_sandbox_tests',
251             '../chrome/chrome.gyp:page_cycler_tests',
252             '../chrome/chrome.gyp:plugin_tests',
253             '../chrome/chrome.gyp:safe_browsing_tests',
254             '../chrome/chrome.gyp:startup_tests',
255             '../chrome/chrome.gyp:sync_integration_tests',
256             '../chrome/chrome.gyp:sync_unit_tests',
257             '../chrome/chrome.gyp:tab_switching_test',
258             '../chrome/chrome.gyp:ui_tests',
259             '../chrome/chrome.gyp:unit_tests',
260             '../chrome/chrome.gyp:url_fetch_test',
261             '../gfx/gfx.gyp:gfx_unittests',
262             '../gpu/gpu.gyp:gpu_unittests',
263             '../ipc/ipc.gyp:ipc_tests',
264             '../jingle/jingle.gyp:notifier_unit_tests',
265             '../media/media.gyp:media_unittests',
266             '../printing/printing.gyp:printing_unittests',
267             '../remoting/remoting.gyp:remoting_unittests',
268             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
269             'temp_gyp/googleurl.gyp:googleurl_unittests',
270           ],
271         },
272         {
273           'target_name': 'chromium_builder_dbg_tsan_mac',
274           'type': 'none',
275           'dependencies': [
276             '../base/base.gyp:base_unittests',
277             'temp_gyp/googleurl.gyp:googleurl_unittests',
278             '../net/net.gyp:net_unittests',
279             '../ipc/ipc.gyp:ipc_tests',
280             '../jingle/jingle.gyp:notifier_unit_tests',
281             '../media/media.gyp:media_unittests',
282             '../printing/printing.gyp:printing_unittests',
283             '../remoting/remoting.gyp:remoting_unittests',
284             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
285           ],
286         },
287         {
288           'target_name': 'chromium_builder_dbg_valgrind_mac',
289           'type': 'none',
290           'dependencies': [
291             '../app/app.gyp:app_unittests',
292             '../base/base.gyp:base_unittests',
293             'temp_gyp/googleurl.gyp:googleurl_unittests',
294             '../ipc/ipc.gyp:ipc_tests',
295             '../media/media.gyp:media_unittests',
296             '../net/net.gyp:net_unittests',
297             '../printing/printing.gyp:printing_unittests',
298             '../remoting/remoting.gyp:remoting_unittests',
299             '../chrome/chrome.gyp:sync_unit_tests',
300             '../chrome/chrome.gyp:unit_tests',
301             '../chrome/chrome.gyp:ui_tests',
302             '../jingle/jingle.gyp:notifier_unit_tests',
303             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
304           ],
305         },
306       ],  # targets
307     }], # OS="mac"
308     ['OS=="win"', {
309       'targets': [
310         # These targets are here so the build bots can use them to build
311         # subsets of a full tree for faster cycle times.
312         {
313           'target_name': 'chromium_builder',
314           'type': 'none',
315           'dependencies': [
316             '../app/app.gyp:app_unittests',
317             '../chrome/chrome.gyp:browser_tests',
318             '../chrome/chrome.gyp:installer_util_unittests',
319             '../chrome/chrome.gyp:interactive_ui_tests',
320             '../chrome/chrome.gyp:memory_test',
321             '../chrome/chrome.gyp:mini_installer_test',
322             '../chrome/chrome.gyp:nacl_ui_tests',
323             '../chrome/chrome.gyp:nacl_sandbox_tests',
324             '../chrome/chrome.gyp:page_cycler_tests',
325             '../chrome/chrome.gyp:plugin_tests',
326             '../chrome/chrome.gyp:safe_browsing_tests',
327             '../chrome/chrome.gyp:selenium_tests',
328             '../chrome/chrome.gyp:startup_tests',
329             '../chrome/chrome.gyp:sync_integration_tests',
330             '../chrome/chrome.gyp:sync_unit_tests',
331             '../chrome/chrome.gyp:tab_switching_test',
332             '../chrome/chrome.gyp:ui_tests',
333             '../chrome/chrome.gyp:unit_tests',
334             '../chrome/chrome.gyp:url_fetch_test',
335             # mini_installer_tests depends on mini_installer. This should be
336             # defined in installer.gyp.
337             '../chrome/installer/mini_installer.gyp:mini_installer',
338             '../courgette/courgette.gyp:courgette_unittests',
339             '../gfx/gfx.gyp:gfx_unittests',
340             '../gpu/gpu.gyp:gpu_unittests',
341             '../ipc/ipc.gyp:ipc_tests',
342             '../jingle/jingle.gyp:notifier_unit_tests',
343             '../media/media.gyp:media_unittests',
344             '../printing/printing.gyp:printing_unittests',
345             '../remoting/remoting.gyp:remoting_unittests',
346             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
347             '../third_party/WebKit/WebKit/chromium/WebKit.gyp:copy_TestNetscapePlugIn',
348             # TODO(nsylvain) ui_tests.exe depends on test_shell_common.
349             # This should:
350             # 1) not be the case. OR.
351             # 2) be expressed in the ui tests dependencies.
352             '../webkit/webkit.gyp:test_shell_common',
353             'temp_gyp/googleurl.gyp:googleurl_unittests',
354             '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
355             '../chrome_frame/chrome_frame.gyp:chrome_frame_perftests',
356             '../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests',
357             '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
358             '../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
359             '../chrome_frame/chrome_frame.gyp:npchrome_frame',
360           ],
361         },
362         {
363           'target_name': 'chromium_builder_dbg_tsan_win',
364           'type': 'none',
365           'dependencies': [
366             '../app/app.gyp:app_unittests',
367             # TODO(bradnelson): app_unittests should depend on locales.
368             # However, we can't add dependencies on chrome/ to app/
369             # See http://crbug.com/43603
370             '../base/base.gyp:base_unittests',
371             '../chrome/app/locales/locales.gyp:*',
372             '../chrome/chrome.gyp:sync_unit_tests',
373             '../ipc/ipc.gyp:ipc_tests',
374             '../jingle/jingle.gyp:notifier_unit_tests',
375             '../media/media.gyp:media_unittests',
376             '../net/net.gyp:net_unittests',
377             '../printing/printing.gyp:printing_unittests',
378             '../remoting/remoting.gyp:remoting_unittests',
379             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
380             'temp_gyp/googleurl.gyp:googleurl_unittests',
381           ],
382         },
383       ],  # targets
384     }], # OS="win"
385     ['chromeos==1', {
386       'targets': [
387         {
388           'target_name': 'chromeos_builder',
389           'type': 'none',
390           'sources': [
391             # TODO(bradnelson): This is here to work around gyp issue 137.
392             #     Remove this sources list when that issue has been fixed.
393             'all.gyp',
394           ],
395           'dependencies': [
396             '../app/app.gyp:app_unittests',
397             '../base/base.gyp:base_unittests',
398             '../chrome/chrome.gyp:browser_tests',
399             '../chrome/chrome.gyp:chrome',
400             '../chrome/chrome.gyp:interactive_ui_tests',
401             '../chrome/chrome.gyp:memory_test',
402             '../chrome/chrome.gyp:page_cycler_tests',
403             '../chrome/chrome.gyp:safe_browsing_tests',
404             '../chrome/chrome.gyp:startup_tests',
405             '../chrome/chrome.gyp:sync_unit_tests',
406             '../chrome/chrome.gyp:tab_switching_test',
407             '../chrome/chrome.gyp:ui_tests',
408             '../chrome/chrome.gyp:unit_tests',
409             '../chrome/chrome.gyp:url_fetch_test',
410             '../gfx/gfx.gyp:gfx_unittests',
411             '../ipc/ipc.gyp:ipc_tests',
412             '../jingle/jingle.gyp:notifier_unit_tests',
413             '../media/media.gyp:ffmpeg_tests',
414             '../media/media.gyp:media_unittests',
415             '../media/media.gyp:omx_test',
416             '../net/net.gyp:net_unittests',
417             '../printing/printing.gyp:printing_unittests',
418             '../remoting/remoting.gyp:remoting_unittests',
419             '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests',
420             'temp_gyp/googleurl.gyp:googleurl_unittests',
421             '../chrome/browser/chromeos/input_method/candidate_window.gyp:candidate_window',
422           ],
423         },
424       ],  # targets
425     }], # "chromeos==1"
426   ], # conditions
429 # Local Variables:
430 # tab-width:2
431 # indent-tabs-mode:nil
432 # End:
433 # vim: set expandtab tabstop=2 shiftwidth=2: