OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 Import('env') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 env.Prepend( | 9 env.Prepend( |
10 CPPPATH = [ | 10 CPPPATH = [ |
11 '$CHROME_SRC_DIR', | 11 '$CHROME_SRC_DIR', |
12 ], | 12 ], |
13 ) | 13 ) |
14 | 14 |
15 if env['PLATFORM'] == 'win32': | 15 if env.Bit('windows'): |
16 env.Prepend( | 16 env.Prepend( |
17 LINKFLAGS = [ | 17 LINKFLAGS = [ |
18 '/INCREMENTAL', | 18 '/INCREMENTAL', |
19 | 19 |
20 '/MANIFEST', | 20 '/MANIFEST', |
21 '/DELAYLOAD:"dwmapi.dll"', | 21 '/DELAYLOAD:"dwmapi.dll"', |
22 '/DELAYLOAD:"uxtheme.dll"', | 22 '/DELAYLOAD:"uxtheme.dll"', |
23 '/MACHINE:X86', | 23 '/MACHINE:X86', |
24 '/FIXED:No', | 24 '/FIXED:No', |
25 | 25 |
26 '/safeseh', | 26 '/safeseh', |
27 '/dynamicbase', | 27 '/dynamicbase', |
28 '/ignore:4199', | 28 '/ignore:4199', |
29 '/nxcompat', | 29 '/nxcompat', |
30 | 30 |
31 '/DEBUG', | 31 '/DEBUG', |
32 ], | 32 ], |
33 LIBS = [ | 33 LIBS = [ |
34 'DelayImp.lib', | 34 'DelayImp.lib', |
35 ], | 35 ], |
36 ) | 36 ) |
37 | 37 |
38 input_files = [ | 38 input_files = [ |
39 'ipc_security_tests.cc', | 39 'ipc_security_tests.cc', |
40 'security_tests.cc', | 40 'security_tests.cc', |
41 '$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}', | 41 '$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}', |
42 ] | 42 ] |
43 | 43 |
44 env.ChromeSharedLibrary('security_tests', input_files) | 44 env.ChromeSharedLibrary('security_tests', input_files) |
OLD | NEW |