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 __doc__ = """ | 5 __doc__ = """ |
6 Configuration for building the net_unittests{,.exe} executable. | 6 Configuration for building the net_unittests{,.exe} executable. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 input_files.Remove( | 137 input_files.Remove( |
138 'base/x509_certificate_unittest.cc', | 138 'base/x509_certificate_unittest.cc', |
139 'base/sdch_filter_unittest.cc', | 139 'base/sdch_filter_unittest.cc', |
140 'base/ssl_config_service_unittest.cc', | 140 'base/ssl_config_service_unittest.cc', |
141 'url_request/url_request_unittest.cc', | 141 'url_request/url_request_unittest.cc', |
142 ) | 142 ) |
143 | 143 |
144 net_unittests = env.ChromeTestProgram('net_unittests', input_files) | 144 net_unittests = env.ChromeTestProgram('net_unittests', input_files) |
145 | 145 |
146 p = env.ChromeMSVSProject('$NET_DIR/build/net_unittests.vcproj', | 146 p = env.ChromeMSVSProject('$NET_DIR/build/net_unittests.vcproj', |
| 147 dest='$CHROME_SRC_DIR/net/build/net_unittests.vcproj', |
147 dependencies = [ | 148 dependencies = [ |
148 '$BASE_DIR/build/base.vcproj', | 149 '$BASE_DIR/build/base.vcproj', |
149 '$BZIP2_DIR/bzip2.vcproj', | 150 '$BZIP2_DIR/bzip2.vcproj', |
150 '$NET_DIR/build/net.vcproj', | 151 '$NET_DIR/build/net.vcproj', |
151 '$MODP_B64_DIR/modp_b64.vcproj', | 152 '$MODP_B64_DIR/modp_b64.vcproj', |
152 '$ZLIB_DIR/zlib.vcproj', | 153 '$ZLIB_DIR/zlib.vcproj', |
153 '$ICU38_DIR/build/icu.vcproj', | 154 '$ICU38_DIR/build/icu.vcproj', |
154 '$TESTING_DIR/gtest.vcproj', | 155 '$TESTING_DIR/gtest.vcproj', |
155 '$GOOGLEURL_DIR/build/googleurl.vcproj', | 156 '$GOOGLEURL_DIR/build/googleurl.vcproj', |
156 '$SDCH_DIR/sdch.vcproj', | 157 '$SDCH_DIR/sdch.vcproj', |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 UsePrecompiledHeader='1'), | 230 UsePrecompiledHeader='1'), |
230 ]) | 231 ]) |
231 | 232 |
232 # TODO: Remove when we can derive this information | 233 # TODO: Remove when we can derive this information |
233 p.AddFileConfig('build/precompiled_net.cc', | 234 p.AddFileConfig('build/precompiled_net.cc', |
234 'Release|Win32', | 235 'Release|Win32', |
235 ExcludedFromBuild='true', | 236 ExcludedFromBuild='true', |
236 tools=[ | 237 tools=[ |
237 'VCCLCompilerTool', | 238 'VCCLCompilerTool', |
238 ]) | 239 ]) |
239 | |
240 env.AlwaysBuild(p) | |
241 | |
242 i = env.Command('$CHROME_SRC_DIR/net/build/net_unittests.vcproj', p, | |
243 Copy('$TARGET', '$SOURCE')) | |
244 Alias('msvs', i) | |
OLD | NEW |