diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 17:16:46 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 17:16:46 +0000 |
commit | da6654b0465478b0549e593c1efb45bd44756965 (patch) | |
tree | 487788278214089228f23098346c1d02b5acfec4 /chrome/test/security_tests | |
parent | 1fbb43878f7f68c1770a12847ecd46c0f1413b3e (diff) | |
download | chromium_src-da6654b0465478b0549e593c1efb45bd44756965.zip chromium_src-da6654b0465478b0549e593c1efb45bd44756965.tar.gz chromium_src-da6654b0465478b0549e593c1efb45bd44756965.tar.bz2 |
Next round of SCons changes:
* Add 'gdm_fp' to the $LIBS setting in base\using_base.scons
(to be removed when that library moves into base\third_party).
* Have the grit Scanner search the Repository() copy of the source
file (necessary now that $TARGET_ROOT has changed).
* Change all the SConscript files underneath chrome\test and
chrome\tools to *.scons files, including updating their
contents with the current patterns.
* Add dependencies of the local_settings_*.res files on
the corresponding google_chrome_string_*.rc files, so they
get generated properly.
* Add generation of the chrome_exe.res resource file.
* Comment out some unnecessary .lib settings in the base
construction environment.
Review URL: http://codereview.chromium.org/10745
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/security_tests')
-rw-r--r-- | chrome/test/security_tests/SConscript | 46 | ||||
-rw-r--r-- | chrome/test/security_tests/security_tests.scons | 44 |
2 files changed, 44 insertions, 46 deletions
diff --git a/chrome/test/security_tests/SConscript b/chrome/test/security_tests/SConscript deleted file mode 100644 index 7e6ef65..0000000 --- a/chrome/test/security_tests/SConscript +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright (c) 2006-2008 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. - -Import('env') - -env = env.Clone() - - -env.Prepend( - CPPPATH = [ - '$CHROME_SRC_DIR', - ], -) - -env.Prepend( - LINKFLAGS = [ - '/INCREMENTAL', - - '/MANIFEST', - '/DELAYLOAD:"dwmapi.dll"', - '/DELAYLOAD:"uxtheme.dll"', - '/MACHINE:X86', - '/FIXED:No', - - '/safeseh', - '/dynamicbase', - '/ignore:4199', - '/nxcompat', - - '/DEBUG', - ], - LIBS = [ - 'DelayImp.lib', - ], -) - -input_files = [ - 'ipc_security_tests.cc', - 'security_tests.cc', - '$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}', -] - -dll = env.ChromeSharedLibrary('security_tests', input_files) -i = env.Install('$TARGET_ROOT', dll) -env.Alias('chrome', i) diff --git a/chrome/test/security_tests/security_tests.scons b/chrome/test/security_tests/security_tests.scons new file mode 100644 index 0000000..a3a9c3a --- /dev/null +++ b/chrome/test/security_tests/security_tests.scons @@ -0,0 +1,44 @@ +# Copyright (c) 2006-2008 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. + +Import('env') + +env = env.Clone() + +env.Prepend( + CPPPATH = [ + '$CHROME_SRC_DIR', + ], +) + +if env['PLATFORM'] == 'win32': + env.Prepend( + LINKFLAGS = [ + '/INCREMENTAL', + + '/MANIFEST', + '/DELAYLOAD:"dwmapi.dll"', + '/DELAYLOAD:"uxtheme.dll"', + '/MACHINE:X86', + '/FIXED:No', + + '/safeseh', + '/dynamicbase', + '/ignore:4199', + '/nxcompat', + + '/DEBUG', + ], + LIBS = [ + 'DelayImp.lib', + ], + ) + +input_files = [ + 'ipc_security_tests.cc', + 'security_tests.cc', + '$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}', +] + +env.ChromeSharedLibrary('security_tests', input_files) |