2009-02-26 00:26:55 +03:00
|
|
|
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'All',
|
|
|
|
'type': 'none',
|
2009-04-30 23:24:02 +04:00
|
|
|
'xcode_create_dependents_test_runner': 1,
|
2009-02-26 00:26:55 +03:00
|
|
|
'dependencies': [
|
2009-05-17 06:02:42 +04:00
|
|
|
'../app/app.gyp:*',
|
2009-02-26 00:26:55 +03:00
|
|
|
'../base/base.gyp:*',
|
2009-06-02 07:27:01 +04:00
|
|
|
'../chrome/chrome.gyp:*',
|
2009-07-23 03:57:21 +04:00
|
|
|
'../ipc/ipc.gyp:*',
|
2009-03-30 08:27:26 +04:00
|
|
|
'../media/media.gyp:*',
|
2009-03-31 00:14:38 +04:00
|
|
|
'../net/net.gyp:*',
|
|
|
|
'../printing/printing.gyp:*',
|
2009-04-02 21:39:00 +04:00
|
|
|
'../sdch/sdch.gyp:*',
|
|
|
|
'../skia/skia.gyp:*',
|
2009-05-28 10:02:56 +04:00
|
|
|
'../testing/gmock.gyp:*',
|
2009-04-06 05:00:05 +04:00
|
|
|
'../testing/gtest.gyp:*',
|
2009-04-02 21:39:00 +04:00
|
|
|
'../third_party/bzip2/bzip2.gyp:*',
|
2010-01-20 00:32:42 +03:00
|
|
|
'../third_party/cld/cld.gyp:*',
|
2009-04-25 17:27:25 +04:00
|
|
|
'../third_party/codesighs/codesighs.gyp:*',
|
2009-04-07 23:50:16 +04:00
|
|
|
'../third_party/ffmpeg/ffmpeg.gyp:*',
|
2009-09-09 10:49:08 +04:00
|
|
|
'../third_party/icu/icu.gyp:*',
|
2009-04-02 21:39:00 +04:00
|
|
|
'../third_party/libjpeg/libjpeg.gyp:*',
|
|
|
|
'../third_party/libpng/libpng.gyp:*',
|
|
|
|
'../third_party/libxml/libxml.gyp:*',
|
|
|
|
'../third_party/libxslt/libxslt.gyp:*',
|
2009-05-16 00:40:08 +04:00
|
|
|
'../third_party/lzma_sdk/lzma_sdk.gyp:*',
|
2009-04-02 21:39:00 +04:00
|
|
|
'../third_party/modp_b64/modp_b64.gyp:*',
|
|
|
|
'../third_party/npapi/npapi.gyp:*',
|
2009-11-13 05:15:59 +03:00
|
|
|
'../third_party/ots/ots.gyp:*',
|
2009-04-02 21:39:00 +04:00
|
|
|
'../third_party/sqlite/sqlite.gyp:*',
|
2009-11-12 04:14:49 +03:00
|
|
|
'../third_party/WebKit/WebKit/chromium/WebKit.gyp:*',
|
2009-04-02 21:39:00 +04:00
|
|
|
'../third_party/zlib/zlib.gyp:*',
|
2010-01-26 02:10:58 +03:00
|
|
|
'../webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp:*',
|
2009-11-13 08:00:13 +03:00
|
|
|
'../webkit/webkit.gyp:*',
|
2009-06-04 20:08:16 +04:00
|
|
|
'util/build_util.gyp:*',
|
2009-04-06 00:15:21 +04:00
|
|
|
'temp_gyp/googleurl.gyp:*',
|
2009-03-11 01:21:55 +03:00
|
|
|
],
|
|
|
|
'conditions': [
|
2009-04-22 05:16:42 +04:00
|
|
|
['javascript_engine=="v8"', {
|
|
|
|
'dependencies': [
|
2009-04-29 01:37:56 +04:00
|
|
|
'../v8/tools/gyp/v8.gyp:*',
|
2009-04-22 05:16:42 +04:00
|
|
|
],
|
|
|
|
}],
|
2009-11-05 03:56:41 +03:00
|
|
|
['OS=="mac" or OS=="linux" or OS=="freebsd"', {
|
|
|
|
'dependencies': [
|
2009-11-13 22:30:25 +03:00
|
|
|
'../third_party/yasm/yasm.gyp:*#host',
|
|
|
|
],
|
2009-11-05 03:56:41 +03:00
|
|
|
}],
|
2009-09-29 21:41:33 +04:00
|
|
|
['OS=="mac"', {
|
|
|
|
'dependencies': [
|
|
|
|
'../third_party/ocmock/ocmock.gyp:*',
|
|
|
|
],
|
|
|
|
}],
|
2009-03-25 19:29:02 +03:00
|
|
|
['OS=="linux"', {
|
|
|
|
'dependencies': [
|
2009-07-08 05:15:14 +04:00
|
|
|
'../breakpad/breakpad.gyp:*',
|
2009-10-30 14:23:08 +03:00
|
|
|
'../courgette/courgette.gyp:*',
|
2009-07-08 05:15:14 +04:00
|
|
|
'../sandbox/sandbox.gyp:*',
|
2009-03-25 19:29:02 +03:00
|
|
|
],
|
2009-07-30 21:42:35 +04:00
|
|
|
'conditions': [
|
|
|
|
['branding=="Chrome"', {
|
|
|
|
'dependencies': [
|
2009-11-24 01:39:32 +03:00
|
|
|
'../chrome/installer/installer.gyp:linux_packages_<(channel)',
|
2009-07-30 21:42:35 +04:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2009-03-25 19:29:02 +03:00
|
|
|
}],
|
2009-12-17 17:49:39 +03:00
|
|
|
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
2009-12-11 23:04:06 +03:00
|
|
|
'dependencies': [
|
|
|
|
'../tools/gtk_clipboard_dump/gtk_clipboard_dump.gyp:*',
|
|
|
|
'../tools/xdisplaycheck/xdisplaycheck.gyp:*',
|
|
|
|
'../net/third_party/nss/nss.gyp:*',
|
|
|
|
],
|
|
|
|
}],
|
2009-03-23 03:38:22 +03:00
|
|
|
['OS=="win"', {
|
Make no-tcmalloc (really, non-base/allocator) builds work again,
(i.e. this is a plain vanilla build used when layers like base/allocator
are getting in the way of debugging)
and make sure they use msvcrt rather than libcmt
(libcmt is used to help shim malloc/free, but it gets
in the way of valgrind doing the same thing).
Sadly, this is now a gyp-time operation rather than a Configuration
option.
Had to remove hardcoded C prototype for _set_new_mode,
as that caused link errors.
Also add variables win_{release,debug}_{Optimization,RuntimeLibrary}
to let the valgrind build override those settings.
Fix calling convention on _set_new_mode to match the
one in <new.h>
BUG=none
TEST=build with ~/.gyp/include.gypi set as described in comment in common.gypi, gclient runhooks, do release build, verify all exe's and dll's linked against msvcrt dll
Review URL: http://codereview.chromium.org/455037
git-svn-id: http://src.chromium.org/svn/trunk/src/build@33719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-04 00:07:47 +03:00
|
|
|
'conditions': [
|
|
|
|
['win_use_allocator_shim==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'../base/allocator/allocator.gyp:*',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2009-03-23 03:38:22 +03:00
|
|
|
'dependencies': [
|
2009-05-27 06:06:16 +04:00
|
|
|
'../breakpad/breakpad.gyp:*',
|
2009-05-28 12:17:39 +04:00
|
|
|
'../chrome/app/locales/locales.gyp:*',
|
2010-01-20 00:15:06 +03:00
|
|
|
'../chrome_frame/chrome_frame.gyp:*',
|
2009-05-09 03:00:29 +04:00
|
|
|
'../courgette/courgette.gyp:*',
|
2009-05-28 01:29:36 +04:00
|
|
|
'../gears/gears.gyp:*',
|
2010-01-09 21:15:32 +03:00
|
|
|
'../gpu/demos/demos.gyp:*',
|
2009-12-23 02:28:15 +03:00
|
|
|
'../gpu/gpu.gyp:*',
|
2009-05-28 01:29:36 +04:00
|
|
|
'../rlz/rlz.gyp:*',
|
2009-05-27 06:06:16 +04:00
|
|
|
'../sandbox/sandbox.gyp:*',
|
|
|
|
'../third_party/bsdiff/bsdiff.gyp:*',
|
|
|
|
'../third_party/bspatch/bspatch.gyp:*',
|
2010-01-09 21:15:32 +03:00
|
|
|
'../third_party/gles2_book/gles2_book.gyp:*',
|
2009-05-28 01:29:36 +04:00
|
|
|
'../tools/memory_watcher/memory_watcher.gyp:*',
|
2009-03-23 03:38:22 +03:00
|
|
|
],
|
2009-04-02 21:39:00 +04:00
|
|
|
}, {
|
|
|
|
'dependencies': [
|
|
|
|
'../third_party/libevent/libevent.gyp:*',
|
|
|
|
],
|
2009-03-23 03:38:22 +03:00
|
|
|
}],
|
2009-05-20 22:00:21 +04:00
|
|
|
['OS=="win" or (OS=="linux" and toolkit_views==1)', {
|
|
|
|
'dependencies': [
|
|
|
|
'../views/views.gyp:*',
|
|
|
|
],
|
|
|
|
}],
|
2010-01-18 05:29:41 +03:00
|
|
|
['chromeos==1', {
|
|
|
|
'dependencies': [
|
2010-02-08 11:02:12 +03:00
|
|
|
'../chrome/browser/chromeos/text_input/text_input.gyp:*',
|
2010-01-18 05:29:41 +03:00
|
|
|
],
|
|
|
|
}],
|
2009-02-26 00:26:55 +03:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2009-04-30 23:24:02 +04:00
|
|
|
'conditions': [
|
|
|
|
['OS=="mac"', {
|
|
|
|
'targets': [
|
2009-05-09 00:24:08 +04:00
|
|
|
{
|
|
|
|
# Target to build everything plus the dmg. We don't put the dmg
|
2009-07-28 00:26:34 +04:00
|
|
|
# in the All target because developers really don't need it.
|
2009-05-09 00:24:08 +04:00
|
|
|
'target_name': 'all_and_dmg',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'All',
|
|
|
|
'../chrome/chrome.gyp:build_app_dmg',
|
|
|
|
],
|
|
|
|
},
|
2009-09-12 00:46:00 +04:00
|
|
|
# These targets are here so the build bots can use them to build
|
|
|
|
# subsets of a full tree for faster cycle times.
|
|
|
|
{
|
|
|
|
'target_name': 'chromium_builder_dbg',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'../app/app.gyp:app_unittests',
|
|
|
|
'../ipc/ipc.gyp:ipc_tests',
|
|
|
|
'../media/media.gyp:media_unittests',
|
|
|
|
'../printing/printing.gyp:printing_unittests',
|
2009-10-05 19:12:38 +04:00
|
|
|
'../chrome/chrome.gyp:browser_tests',
|
2009-09-12 00:46:00 +04:00
|
|
|
'../chrome/chrome.gyp:ui_tests',
|
|
|
|
'../chrome/chrome.gyp:unit_tests',
|
2009-10-05 19:12:38 +04:00
|
|
|
'temp_gyp/googleurl.gyp:googleurl_unittests',
|
2009-09-12 00:46:00 +04:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'chromium_builder_rel',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'../app/app.gyp:app_unittests',
|
2009-10-05 19:12:38 +04:00
|
|
|
'../chrome/chrome.gyp:browser_tests',
|
2009-09-12 00:46:00 +04:00
|
|
|
'../chrome/chrome.gyp:memory_test',
|
|
|
|
'../chrome/chrome.gyp:page_cycler_tests',
|
|
|
|
'../chrome/chrome.gyp:startup_tests',
|
|
|
|
'../chrome/chrome.gyp:tab_switching_test',
|
|
|
|
'../chrome/chrome.gyp:ui_tests',
|
|
|
|
'../chrome/chrome.gyp:unit_tests',
|
|
|
|
'../chrome/chrome.gyp:url_fetch_test',
|
|
|
|
'../ipc/ipc.gyp:ipc_tests',
|
|
|
|
'../media/media.gyp:media_unittests',
|
|
|
|
'../printing/printing.gyp:printing_unittests',
|
2009-10-05 19:12:38 +04:00
|
|
|
'temp_gyp/googleurl.gyp:googleurl_unittests',
|
2009-09-12 00:46:00 +04:00
|
|
|
],
|
|
|
|
},
|
2009-12-23 15:29:59 +03:00
|
|
|
{
|
|
|
|
'target_name': 'chromium_builder_dbg_tsan_mac',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'../base/base.gyp:base_unittests',
|
|
|
|
'temp_gyp/googleurl.gyp:googleurl_unittests',
|
|
|
|
'../net/net.gyp:net_unittests',
|
|
|
|
'../ipc/ipc.gyp:ipc_tests',
|
|
|
|
'../media/media.gyp:media_unittests',
|
|
|
|
'../printing/printing.gyp:printing_unittests',
|
|
|
|
],
|
|
|
|
},
|
2009-09-12 00:46:00 +04:00
|
|
|
], # targets
|
|
|
|
}], # OS="mac"
|
2009-09-26 02:52:12 +04:00
|
|
|
['OS=="win"', {
|
|
|
|
'targets': [
|
|
|
|
# These targets are here so the build bots can use them to build
|
|
|
|
# subsets of a full tree for faster cycle times.
|
|
|
|
{
|
|
|
|
'target_name': 'chromium_builder',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'../app/app.gyp:app_unittests',
|
|
|
|
'../chrome/chrome.gyp:browser_tests',
|
2009-10-10 22:47:39 +04:00
|
|
|
'../chrome/chrome.gyp:interactive_ui_tests',
|
2009-09-26 02:52:12 +04:00
|
|
|
'../chrome/chrome.gyp:memory_test',
|
2009-10-22 18:28:45 +04:00
|
|
|
'../chrome/chrome.gyp:nacl_ui_tests',
|
2009-09-26 02:52:12 +04:00
|
|
|
'../chrome/chrome.gyp:page_cycler_tests',
|
|
|
|
'../chrome/chrome.gyp:plugin_tests',
|
|
|
|
'../chrome/chrome.gyp:startup_tests',
|
2009-09-29 04:19:51 +04:00
|
|
|
'../chrome/chrome.gyp:sync_unit_tests',
|
2009-09-26 02:52:12 +04:00
|
|
|
'../chrome/chrome.gyp:tab_switching_test',
|
|
|
|
'../chrome/chrome.gyp:ui_tests',
|
|
|
|
'../chrome/chrome.gyp:unit_tests',
|
|
|
|
'../chrome/chrome.gyp:url_fetch_test',
|
|
|
|
'../chrome/installer/installer.gyp:installer_util_unittests',
|
|
|
|
'../chrome/installer/installer.gyp:mini_installer_test',
|
2009-09-28 03:36:01 +04:00
|
|
|
# mini_installer_tests depends on mini_installer. This should be
|
|
|
|
# defined in installer.gyp.
|
2009-09-28 03:01:14 +04:00
|
|
|
'../chrome/installer/mini_installer.gyp:mini_installer',
|
2010-01-20 00:15:06 +03:00
|
|
|
'../chrome/installer/mini_installer.gyp:chrome_frame_mini_installer',
|
2009-09-26 02:52:12 +04:00
|
|
|
'../courgette/courgette.gyp:courgette_unittests',
|
|
|
|
'../ipc/ipc.gyp:ipc_tests',
|
|
|
|
'../media/media.gyp:media_unittests',
|
|
|
|
'../printing/printing.gyp:printing_unittests',
|
2010-02-11 00:11:56 +03:00
|
|
|
'../webkit/webkit.gyp:npapi_layout_test_plugin',
|
2009-09-28 03:36:01 +04:00
|
|
|
# TODO(nsylvain) ui_tests.exe depends on test_shell_common.
|
|
|
|
# This should:
|
|
|
|
# 1) not be the case. OR.
|
|
|
|
# 2) be expressed in the ui tests dependencies.
|
2010-02-11 00:11:56 +03:00
|
|
|
'../webkit/webkit.gyp:test_shell_common',
|
2009-09-28 03:01:14 +04:00
|
|
|
'temp_gyp/googleurl.gyp:googleurl_unittests',
|
2010-01-08 17:27:21 +03:00
|
|
|
'../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
|
|
|
|
'../chrome_frame/chrome_frame.gyp:chrome_frame_perftests',
|
2010-02-24 23:08:05 +03:00
|
|
|
'../chrome_frame/chrome_frame.gyp:chrome_frame_reliability_tests',
|
2010-01-06 18:41:46 +03:00
|
|
|
'../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
|
|
|
|
'../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
|
2010-01-08 17:27:21 +03:00
|
|
|
'../chrome_frame/chrome_frame.gyp:npchrome_frame',
|
2009-09-26 02:52:12 +04:00
|
|
|
],
|
2010-02-24 23:08:05 +03:00
|
|
|
},
|
2009-09-26 02:52:12 +04:00
|
|
|
], # targets
|
|
|
|
}], # OS="win"
|
2009-09-12 00:46:00 +04:00
|
|
|
], # conditions
|
2009-02-26 00:26:55 +03:00
|
|
|
}
|
2009-10-06 07:02:38 +04:00
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|