diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-04 18:11:39 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-04 18:11:39 +0000 |
commit | 372d63e5389ff61ac6043302a14711497be2999f (patch) | |
tree | 98f5eacc467f410fbc36f3e795326a8507df9765 /chrome/test/security_tests | |
parent | eb0c1e406f837d590055021a753015feb67b6fc9 (diff) | |
download | chromium_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/security_tests')
-rw-r--r-- | chrome/test/security_tests/SConscript | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/chrome/test/security_tests/SConscript b/chrome/test/security_tests/SConscript index 2caf4d8..27a3eed 100644 --- a/chrome/test/security_tests/SConscript +++ b/chrome/test/security_tests/SConscript @@ -36,6 +36,9 @@ env.Prepend( CPPPATH = [
'#/..',
],
+)
+
+env.Prepend(
LINKFLAGS = [
'/INCREMENTAL',
@@ -63,7 +66,14 @@ input_files = [ '$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}',
]
-dll = env.ChromeSharedLibrary('security_tests', input_files)
+dll = env.ChromeSharedLibrary(['security_tests',
+ 'security_tests.lib',
+ 'security_tests.ilk',
+ 'security_tests.pdb'],
+ input_files)
+
+# TODO(sgk): can go away once ChromeSharedLibrary() handles this.
+env.Install('$LIBS_DIR', dll[1])
i = env.Install('$TARGET_ROOT', dll)
env.Alias('chrome', i)
|