summaryrefslogtreecommitdiffstats
path: root/chrome/test/reliability
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-04 18:11:39 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-04 18:11:39 +0000
commit372d63e5389ff61ac6043302a14711497be2999f (patch)
tree98f5eacc467f410fbc36f3e795326a8507df9765 /chrome/test/reliability
parenteb0c1e406f837d590055021a753015feb67b6fc9 (diff)
downloadchromium_src-372d63e5389ff61ac6043302a14711497be2999f.zip
chromium_src-372d63e5389ff61ac6043302a14711497be2999f.tar.gz
chromium_src-372d63e5389ff61ac6043302a14711497be2999f.tar.bz2
Cross-platform: Let SCons abstract library names by getting rid of .lib suffixes when linking with the libraries we build, replacing the lists of explicitly-suffixed "source files" with library base names in the environment LIBS variables. This requires having ChromeStaticLibrary() install .lib files in a $BUILD_TYPE/Libs directory, and adding that directory to $LIBPATH.
R=evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/reliability')
-rw-r--r--chrome/test/reliability/SConscript33
1 files changed, 17 insertions, 16 deletions
diff --git a/chrome/test/reliability/SConscript b/chrome/test/reliability/SConscript
index 3c0cbf5..0963288 100644
--- a/chrome/test/reliability/SConscript
+++ b/chrome/test/reliability/SConscript
@@ -46,6 +46,22 @@ env_test.Prepend(
'$SKIA_DIR/platform',
'#/..',
],
+ LIBS = [
+ 'googleurl',
+ 'skia',
+ 'libpng',
+ 'gtest',
+ 'base_gfx',
+ 'icuuc',
+ 'common',
+ 'zlib',
+ 'browser',
+ 'base',
+ 'automation',
+ ],
+)
+
+env_test.Prepend(
LINKFLAGS = [
'/INCREMENTAL',
'/DEBUG',
@@ -79,24 +95,9 @@ input_files = [
'run_all_unittests.cc',
]
-libs = [
- '$GOOGLEURL_DIR/googleurl.lib',
- '$SKIA_DIR/skia.lib',
- '$LIBPNG_DIR/libpng.lib',
- '$TESTING_DIR/gtest.lib',
- '$BASE_DIR/gfx/base_gfx.lib',
- '$ICU38_DIR/icuuc.lib',
- '$CHROME_DIR/common/common.lib',
- '$ZLIB_DIR/zlib.lib',
- '$CHROME_DIR/browser/browser.lib',
- '$BASE_DIR/base.lib',
- '$CHROME_DIR/test/automation/automation.lib',
-]
-
-
exe = env_test.ChromeTestProgram(['reliability_tests',
'reliability_tests.pdb'],
- input_files + libs)
+ input_files)
i = env_test.Install('$TARGET_ROOT', exe)
env_test.Alias('chrome', i)