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 = [ |
(...skipping 17 matching lines...) Expand all Loading... |
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 = ChromeFileList([ |
| 39 '$SANDBOX_DIR/tests/validation_tests/commands$OBJSUFFIX', |
| 40 '$SANDBOX_DIR/tests/validation_tests/commands.h', |
| 41 '$CHROME_DIR/test/injection_test_dll.h', |
39 'ipc_security_tests.cc', | 42 'ipc_security_tests.cc', |
| 43 'ipc_security_tests.h', |
40 'security_tests.cc', | 44 'security_tests.cc', |
41 '$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}', | 45 ]) |
42 ] | |
43 | 46 |
44 # TODO(port): | 47 # TODO(port): |
45 if env.Bit('windows'): | 48 if env.Bit('windows'): |
46 env.ChromeSharedLibrary('security_tests', input_files) | 49 env.ChromeSharedLibrary('security_tests', input_files) |
47 | 50 |
48 env.ChromeMSVSProject('$CHROME_DIR/test/security_tests/security_tests.vcproj', | 51 p = env.ChromeMSVSProject('security_tests.vcproj', |
49 guid='{E750512D-FC7C-4C98-BF04-0A0DAF882055}') | 52 dest=('$CHROME_SRC_DIR/chrome/' |
| 53 + 'test/security_tests/security_tests.vcproj'), |
| 54 guid='{E750512D-FC7C-4C98-BF04-0A0DAF882055}', |
| 55 keyword='Win32Proj', |
| 56 # TODO(sgk): when we can intuit the hierarchy |
| 57 # from the built targets. |
| 58 #buildtargets=TODO, |
| 59 files=input_files, |
| 60 local_directory_prefix='./', |
| 61 tools=[ |
| 62 'VCPreBuildEventTool', |
| 63 'VCCustomBuildTool', |
| 64 'VCXMLDataGeneratorTool', |
| 65 'VCWebServiceProxyGeneratorTool', |
| 66 'VCMIDLTool', |
| 67 'VCCLCompilerTool', |
| 68 'VCManagedResourceCompilerTool', |
| 69 'VCResourceCompilerTool', |
| 70 'VCPreLinkEventTool', |
| 71 'VCLinkerTool', |
| 72 'VCALinkTool', |
| 73 'VCManifestTool', |
| 74 'VCXDCMakeTool', |
| 75 'VCBscMakeTool', |
| 76 'VCFxCopTool', |
| 77 'VCAppVerifierTool', |
| 78 'VCWebDeploymentTool', |
| 79 'VCPostBuildEventTool', |
| 80 ], |
| 81 ConfigurationType='2') |
| 82 |
| 83 |
| 84 p.AddConfig('Debug|Win32', |
| 85 InheritedPropertySheets=[ |
| 86 '$(SolutionDir)../build/common.vsprops', |
| 87 '$(SolutionDir)../build/debug.vsprops', |
| 88 ]) |
| 89 |
| 90 p.AddConfig('Release|Win32', |
| 91 InheritedPropertySheets=[ |
| 92 '$(SolutionDir)../build/common.vsprops', |
| 93 '$(SolutionDir)../build/release.vsprops', |
| 94 ]) |
OLD | NEW |