diff options
author | mmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-09 19:28:51 +0000 |
---|---|---|
committer | mmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-09 19:28:51 +0000 |
commit | 9fc4f92a0149a1dfe50cb85da2dd9eba5b7d8483 (patch) | |
tree | fc9f27ffb7da84412db6736ce4eedab7116230e0 /chrome/chrome.gyp | |
parent | efe1252801930755abefb25d13df437194068f01 (diff) | |
download | chromium_src-9fc4f92a0149a1dfe50cb85da2dd9eba5b7d8483.zip chromium_src-9fc4f92a0149a1dfe50cb85da2dd9eba5b7d8483.tar.gz chromium_src-9fc4f92a0149a1dfe50cb85da2dd9eba5b7d8483.tar.bz2 |
Gyp config updates to fix some Linux build errors.
Far from complete but sending early to sync with others.
Review URL: http://codereview.chromium.org/40258
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 22b8816..771bee7 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -1615,7 +1615,6 @@ ], 'sources': [ 'test/ui/run_all_unittests.cc', - 'test/unit/run_all_unittests.cc', 'test/ui/ui_test.cc', 'test/ui/ui_test.h', 'test/ui/ui_test_suite.cc', @@ -1635,27 +1634,30 @@ ['OS=="mac"', { # mac tests load the resources from the built app beside the test 'dependencies': ['app'], + # There are only real ui_tests on Windows. On mac there's just a + # dummy stub that looks like a test. Since it's not a real ui_tests + # executable, it builds test/unit/run_all_unittests.cc instead of the + # one in test/ui, and excludes all other files. The runner in + # test/unit should not be built on Windows. + 'sources/': [ + ['exclude', ''], + ], + 'sources': [ + 'test/unit/run_all_unittests.cc', + ], }], - # There are only real ui_tests on Windows. On other platforms, - # there's just a dummy stub that looks like a test. Since it's not - # a real ui_tests executable, it builds test/unit/run_all_unittests.cc - # instead of the one in test/ui, and excludes all other files. The - # runner in test/unit should not be built on Windows. ['OS=="win"', { 'include_dirs': [ 'third_party/wtl/include', ], - 'sources!': [ - 'test/unit/run_all_unittests.cc', - ], 'dependencies': [ '../google_update/google_update.gyp:google_update', 'views', ], - }, { # else: OS!="win" + }], + ['OS=="linux"', { 'sources/': [ - ['exclude', ''], - ['include', 'test/unit/run_all_unittests\\.cc$'], + ['exclude', '^test/automation/window_proxy'], ], }], ], |