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', 'env') | 5 Import('env', 'env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 env.SConscript([ | 9 env.SConscript([ |
10 '$BASE_DIR/using_base.scons', | 10 '$BASE_DIR/using_base.scons', |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 '/MACHINE:X86', | 67 '/MACHINE:X86', |
68 '/FIXED:No', | 68 '/FIXED:No', |
69 ], | 69 ], |
70 LIBS = [ | 70 LIBS = [ |
71 'rpcrt4', | 71 'rpcrt4', |
72 'shlwapi', | 72 'shlwapi', |
73 'winmm', | 73 'winmm', |
74 ], | 74 ], |
75 ) | 75 ) |
76 | 76 |
77 input_files = [ | 77 input_files = ChromeFileList([ |
78 'ipc_fuzzing_tests.cc', | 78 'ipc_fuzzing_tests.cc', |
79 'ipc_tests.cc', | 79 'ipc_tests.cc', |
80 | 80 'ipc_tests.h', |
81 '$BASE_DIR/perftimer$OBJSUFFIX', | 81 '$BASE_DIR/perftimer$OBJSUFFIX', |
82 ] | 82 ]) |
83 | 83 |
84 ipc_tests = env.ChromeTestProgram('ipc_tests', input_files) | 84 ipc_tests = env.ChromeTestProgram('ipc_tests', input_files) |
85 i = env.Install('$TARGET_ROOT', ipc_tests) | 85 i = env.Install('$TARGET_ROOT', ipc_tests) |
86 Alias('chrome', i) | 86 Alias('chrome', i) |
87 | 87 |
88 env.ChromeMSVSProject('$CHROME_DIR/common/ipc_tests.vcproj', | 88 p = env.ChromeMSVSProject('ipc_tests.vcproj', |
89 dependencies = [ | 89 dest='$CHROME_SRC_DIR/chrome/common/ipc_tests.vcproj', |
90 '$BASE_DIR/build/base.vcproj', | 90 guid='{B92AE829-E1CD-4781-824A-DCB1603A1672}', |
91 '$CHROME_DIR/common/common.vcproj', | 91 keyword='Win32Proj', |
92 '$ICU38_DIR/build/icu.vcproj', | 92 dependencies = [ |
93 '$TESTING_DIR/gtest.vcproj', | 93 '$BASE_DIR/build/base.vcproj', |
94 ], | 94 '$CHROME_DIR/common/common.vcproj', |
95 guid='{B92AE829-E1CD-4781-824A-DCB1603A1672}') | 95 '$ICU38_DIR/build/icu.vcproj', |
| 96 '$TESTING_DIR/gtest.vcproj', |
| 97 ], |
| 98 # TODO(sgk): when we can intuit the hierarchy |
| 99 # from the built targets. |
| 100 #buildtargets=TODO, |
| 101 files=input_files, |
| 102 local_directory_prefix='./', |
| 103 tools=[ |
| 104 'VCPreBuildEventTool', |
| 105 'VCCustomBuildTool', |
| 106 'VCXMLDataGeneratorTool', |
| 107 'VCWebServiceProxyGeneratorTool', |
| 108 'VCMIDLTool', |
| 109 'VCCLCompilerTool', |
| 110 'VCManagedResourceCompilerTool', |
| 111 'VCResourceCompilerTool', |
| 112 'VCPreLinkEventTool', |
| 113 MSVSTool('VCLinkerTool', |
| 114 AdditionalDependencies=[ |
| 115 'shlwapi.lib', |
| 116 'rpcrt4.lib', |
| 117 'winmm.lib' |
| 118 ], |
| 119 SubSystem='1'), |
| 120 'VCALinkTool', |
| 121 'VCManifestTool', |
| 122 'VCXDCMakeTool', |
| 123 'VCBscMakeTool', |
| 124 'VCFxCopTool', |
| 125 'VCAppVerifierTool', |
| 126 'VCWebDeploymentTool', |
| 127 'VCPostBuildEventTool', |
| 128 ], |
| 129 ConfigurationType='1') |
| 130 |
| 131 |
| 132 p.AddConfig('Debug|Win32', |
| 133 InheritedPropertySheets=[ |
| 134 '$(SolutionDir)../build/common.vsprops', |
| 135 '$(SolutionDir)../build/debug.vsprops', |
| 136 '$(SolutionDir)../skia/using_skia.vsprops', |
| 137 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 138 ]) |
| 139 |
| 140 p.AddConfig('Release|Win32', |
| 141 InheritedPropertySheets=[ |
| 142 '$(SolutionDir)../build/common.vsprops', |
| 143 '$(SolutionDir)../build/release.vsprops', |
| 144 '$(SolutionDir)../skia/using_skia.vsprops', |
| 145 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 146 ]) |
OLD | NEW |