diff options
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) |