Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: net/net_lib.scons

Issue 17436: Generation of net .vcproj and .sln files.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/dump_cache.scons ('k') | net/net_perftests.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 net.lib / libnet.a. 6 Configuration for building net.lib / libnet.a.
7 """ 7 """
8 8
9 Import('env') 9 Import('env')
10 10
11 env = env.Clone() 11 env = env.Clone(COMPONENT_STATIC=True)
12 12
13 env.ApplySConscript([ 13 env.ApplySConscript([
14 '$GRIT_DIR/build/using_generated_resources.scons', 14 '$GRIT_DIR/build/using_generated_resources.scons',
15 '$ICU38_DIR/using_icu38.scons', 15 '$ICU38_DIR/using_icu38.scons',
16 '$SDCH_DIR/using_sdch.scons', 16 '$SDCH_DIR/using_sdch.scons',
17 '$ZLIB_DIR/using_zlib.scons', 17 '$ZLIB_DIR/using_zlib.scons',
18 ]) 18 ])
19 19
20 # These net files work on *all* platforms; files that don't work 20 input_files = ChromeFileList([
21 # cross-platform live below. 21 MSVSFilter('base', [
22 input_files = [
23 'base/address_list.cc', 22 'base/address_list.cc',
23 'base/address_list.h',
24 'base/auth.h',
24 'base/auth_cache.cc', 25 'base/auth_cache.cc',
26 'base/auth_cache.h',
25 'base/base64.cc', 27 'base/base64.cc',
28 'base/base64.h',
26 'base/bzip2_filter.cc', 29 'base/bzip2_filter.cc',
30 'base/bzip2_filter.h',
31 'base/cert_status_flags.h',
32 'base/client_socket.h',
27 'base/client_socket_factory.cc', 33 'base/client_socket_factory.cc',
34 'base/client_socket_factory.h',
28 'base/client_socket_handle.cc', 35 'base/client_socket_handle.cc',
36 'base/client_socket_handle.h',
29 'base/client_socket_pool.cc', 37 'base/client_socket_pool.cc',
38 'base/client_socket_pool.h',
39 'base/completion_callback.h',
30 'base/cookie_monster.cc', 40 'base/cookie_monster.cc',
41 'base/cookie_monster.h',
31 'base/cookie_policy.cc', 42 'base/cookie_policy.cc',
43 'base/cookie_policy.h',
32 'base/data_url.cc', 44 'base/data_url.cc',
45 'base/data_url.h',
33 'base/directory_lister.cc', 46 'base/directory_lister.cc',
47 'base/directory_lister.h',
34 'base/dns_resolution_observer.cc', 48 'base/dns_resolution_observer.cc',
49 'base/dns_resolution_observer.h',
50 'base/effective_tld_names.dat',
35 'base/escape.cc', 51 'base/escape.cc',
52 'base/escape.h',
36 'base/ev_root_ca_metadata.cc', 53 'base/ev_root_ca_metadata.cc',
54 'base/ev_root_ca_metadata.h',
55 'base/file_stream.h',
56 'base/file_stream_win.cc',
37 'base/filter.cc', 57 'base/filter.cc',
58 'base/filter.h',
38 'base/gzip_filter.cc', 59 'base/gzip_filter.cc',
60 'base/gzip_filter.h',
39 'base/gzip_header.cc', 61 'base/gzip_header.cc',
62 'base/gzip_header.h',
40 'base/host_resolver.cc', 63 'base/host_resolver.cc',
64 'base/host_resolver.h',
41 'base/listen_socket.cc', 65 'base/listen_socket.cc',
66 'base/listen_socket.h',
67 'base/load_flags.h',
42 'base/mime_sniffer.cc', 68 'base/mime_sniffer.cc',
69 'base/mime_sniffer.h',
43 'base/mime_util.cc', 70 'base/mime_util.cc',
71 'base/mime_util.h',
72 'base/net_error_list.h',
44 'base/net_errors.cc', 73 'base/net_errors.cc',
74 'base/net_errors.h',
45 'base/net_module.cc', 75 'base/net_module.cc',
76 'base/net_module.h',
77 'base/net_resources.h',
46 'base/net_util.cc', 78 'base/net_util.cc',
79 'base/net_util.h',
80 'base/net_util_win.cc',
81 'base/platform_mime_util.h',
82 'base/platform_mime_util_win.cc',
83 'build/precompiled_net.cc',
84 'build/precompiled_net.h',
47 'base/registry_controlled_domain.cc', 85 'base/registry_controlled_domain.cc',
86 'base/registry_controlled_domain.h',
87 'base/scoped_cert_chain_context.h',
48 'base/sdch_filter.cc', 88 'base/sdch_filter.cc',
89 'base/sdch_filter.h',
49 'base/sdch_manager.cc', 90 'base/sdch_manager.cc',
91 'base/sdch_manager.h',
92 'base/socket.h',
93 'base/ssl_client_socket.h',
94 'base/ssl_client_socket_win.cc',
95 'base/ssl_client_socket_win.h',
50 'base/ssl_config_service.cc', 96 'base/ssl_config_service.cc',
97 'base/ssl_config_service.h',
98 'base/ssl_info.h',
99 'base/ssl_test_util.cc',
100 'base/tcp_client_socket.h',
101 'base/tcp_client_socket_win.cc',
51 'base/telnet_server.cc', 102 'base/telnet_server.cc',
103 'base/telnet_server.h',
52 'base/upload_data.cc', 104 'base/upload_data.cc',
105 'base/upload_data.h',
53 'base/upload_data_stream.cc', 106 'base/upload_data_stream.cc',
107 'base/upload_data_stream.h',
108 'base/wininet_util.cc',
109 'base/wininet_util.h',
110 'base/winsock_init.cc',
111 'base/winsock_init.h',
54 'base/x509_certificate.cc', 112 'base/x509_certificate.cc',
55 'disk_cache/backend_impl.cc', 113 'base/x509_certificate.h',
56 'disk_cache/block_files.cc', 114 'base/x509_certificate_win.cc',
57 'disk_cache/entry_impl.cc', 115 ]),
58 'disk_cache/eviction.cc', 116 MSVSFilter('url_request', [
59 'disk_cache/file_lock.cc', 117 'url_request/mime_sniffer_proxy.cc',
60 'disk_cache/hash.cc', 118 'url_request/mime_sniffer_proxy.h',
61 'disk_cache/mem_backend_impl.cc', 119 'url_request/url_request.cc',
62 'disk_cache/mem_entry_impl.cc', 120 'url_request/url_request.h',
63 'disk_cache/mem_rankings.cc', 121 'url_request/url_request_about_job.cc',
64 'disk_cache/rankings.cc', 122 'url_request/url_request_about_job.h',
65 'disk_cache/stats.cc', 123 'url_request/url_request_context.h',
66 'disk_cache/stats_histogram.cc', 124 'url_request/url_request_error_job.cc',
67 'disk_cache/trace.cc', 125 'url_request/url_request_error_job.h',
68 'ftp/ftp_network_layer.cc', 126 'url_request/url_request_file_dir_job.cc',
69 'ftp/ftp_network_transaction.cc', 127 'url_request/url_request_file_dir_job.h',
128 'url_request/url_request_file_job.cc',
129 'url_request/url_request_file_job.h',
130 'url_request/url_request_filter.cc',
131 'url_request/url_request_filter.h',
132 'url_request/url_request_ftp_job.cc',
133 'url_request/url_request_ftp_job.h',
134 'url_request/url_request_http_job.cc',
135 'url_request/url_request_http_job.h',
136 'url_request/url_request_inet_job.cc',
137 'url_request/url_request_inet_job.h',
138 'url_request/url_request_job.cc',
139 'url_request/url_request_job.h',
140 'url_request/url_request_job_manager.cc',
141 'url_request/url_request_job_manager.h',
142 'url_request/url_request_job_metrics.cc',
143 'url_request/url_request_job_metrics.h',
144 'url_request/url_request_job_tracker.cc',
145 'url_request/url_request_job_tracker.h',
146 'url_request/url_request_simple_job.cc',
147 'url_request/url_request_simple_job.h',
148 'url_request/url_request_status.h',
149 'url_request/url_request_test_job.cc',
150 'url_request/url_request_test_job.h',
151 'url_request/url_request_view_cache_job.cc',
152 'url_request/url_request_view_cache_job.h',
153 ]),
154 MSVSFilter('http', [
70 'http/cert_status_cache.cc', 155 'http/cert_status_cache.cc',
156 'http/cert_status_cache.h',
157 'http/http_atom_list.h',
158 'http/http_cache.cc',
159 'http/http_cache.h',
160 'http/http_chunked_decoder.cc',
161 'http/http_chunked_decoder.h',
162 'http/http_network_layer.cc',
163 'http/http_network_layer.h',
164 'http/http_network_session.h',
165 'http/http_network_transaction.cc',
166 'http/http_network_transaction.h',
167 'http/http_request_info.h',
168 'http/http_response_headers.cc',
169 'http/http_response_headers.h',
170 'http/http_response_info.h',
171 'http/http_transaction.h',
172 'http/http_transaction_factory.h',
173 'http/http_transaction_winhttp.cc',
174 'http/http_transaction_winhttp.h',
175 'http/http_util.cc',
176 'http/http_util.h',
71 'http/http_auth.cc', 177 'http/http_auth.cc',
178 'http/http_auth.h',
72 'http/http_auth_cache.cc', 179 'http/http_auth_cache.cc',
180 'http/http_auth_cache.h',
181 'http/http_auth_handler.h',
73 'http/http_auth_handler.cc', 182 'http/http_auth_handler.cc',
74 'http/http_auth_handler_basic.cc', 183 'http/http_auth_handler_basic.cc',
184 'http/http_auth_handler_basic.h',
75 'http/http_auth_handler_digest.cc', 185 'http/http_auth_handler_digest.cc',
76 'http/http_cache.cc', 186 'http/http_auth_handler_digest.h',
77 'http/http_chunked_decoder.cc', 187 'http/http_auth.cc',
78 'http/http_network_layer.cc', 188 'http/http_auth.h',
79 'http/http_network_transaction.cc', 189 'http/http_auth_handler.h',
80 'http/http_response_headers.cc', 190 'http/http_auth_handler.cc',
81 'http/http_transaction_winhttp.cc', 191 'http/http_auth_handler_basic.cc',
82 'http/http_util.cc', 192 'http/http_auth_handler_basic.h',
193 'http/http_auth_handler_digest.cc',
194 'http/http_auth_handler_digest.h',
83 'http/http_vary_data.cc', 195 'http/http_vary_data.cc',
196 'http/http_vary_data.h',
84 'http/winhttp_request_throttle.cc', 197 'http/winhttp_request_throttle.cc',
198 'http/winhttp_request_throttle.h',
199 ]),
200 MSVSFilter('disk_cache', [
201 'disk_cache/addr.h',
202 'disk_cache/backend_impl.cc',
203 'disk_cache/backend_impl.h',
204 'disk_cache/block_files.cc',
205 'disk_cache/block_files.h',
206 'disk_cache/cache_util.h',
207 'disk_cache/cache_util_win.cc',
208 'disk_cache/disk_cache.h',
209 'disk_cache/disk_format.h',
210 'disk_cache/entry_impl.cc',
211 'disk_cache/entry_impl.h',
212 'disk_cache/errors.h',
213 'disk_cache/eviction.cc',
214 'disk_cache/eviction.h',
215 'disk_cache/file.h',
216 'disk_cache/file_block.h',
217 'disk_cache/file_lock.cc',
218 'disk_cache/file_lock.h',
219 'disk_cache/file_win.cc',
220 'disk_cache/hash.cc',
221 'disk_cache/hash.h',
222 'disk_cache/mapped_file.h',
223 'disk_cache/mapped_file_win.cc',
224 'disk_cache/mem_backend_impl.cc',
225 'disk_cache/mem_backend_impl.h',
226 'disk_cache/mem_entry_impl.cc',
227 'disk_cache/mem_entry_impl.h',
228 'disk_cache/mem_rankings.cc',
229 'disk_cache/mem_rankings.h',
230 'disk_cache/rankings.cc',
231 'disk_cache/rankings.h',
232 'disk_cache/stats.cc',
233 'disk_cache/stats.h',
234 'disk_cache/stats_histogram.cc',
235 'disk_cache/stats_histogram.h',
236 'disk_cache/storage_block-inl.h',
237 'disk_cache/storage_block.h',
238 'disk_cache/trace.cc',
239 'disk_cache/trace.h',
240 ]),
241 MSVSFilter('proxy', [
242 'proxy/proxy_config_service_fixed.h',
243 'proxy/proxy_config_service_win.cc',
244 'proxy/proxy_config_service_win.h',
245 'proxy/proxy_resolver_winhttp.cc',
246 'proxy/proxy_resolver_winhttp.h',
85 'proxy/proxy_script_fetcher.cc', 247 'proxy/proxy_script_fetcher.cc',
248 'proxy/proxy_script_fetcher.h',
86 'proxy/proxy_service.cc', 249 'proxy/proxy_service.cc',
87 'url_request/mime_sniffer_proxy.cc', 250 'proxy/proxy_service.h',
88 'url_request/url_request.cc', 251 ]),
89 'url_request/url_request_about_job.cc', 252 MSVSFilter('ftp', [
90 'url_request/url_request_error_job.cc', 253 'ftp/ftp_network_layer.cc',
91 'url_request/url_request_file_dir_job.cc', 254 'ftp/ftp_network_layer.h',
92 'url_request/url_request_file_job.cc', 255 'ftp/ftp_network_session.h',
93 'url_request/url_request_filter.cc', 256 'ftp/ftp_network_transaction.cc',
94 'url_request/url_request_ftp_job.cc', 257 'ftp/ftp_network_transaction.h',
95 'url_request/url_request_http_job.cc', 258 'ftp/ftp_request_info.h',
96 'url_request/url_request_job.cc', 259 'ftp/ftp_response_info.h',
97 'url_request/url_request_job_manager.cc', 260 'ftp/ftp_transaction.h',
98 'url_request/url_request_job_metrics.cc', 261 'ftp/ftp_transaction_factory.h',
99 'url_request/url_request_job_tracker.cc', 262 ]),
100 'url_request/url_request_simple_job.cc', 263 ])
101 'url_request/url_request_test_job.cc',
102 'url_request/url_request_view_cache_job.cc',
103 ]
104 264
105 if env.Bit('posix'): 265 if env.Bit('posix'):
106 # Remove files that still need to be ported from the input_files list. 266 # Remove files that still need to be ported from the input_files list.
107 # TODO(port): delete files from this list as they get ported. 267 # TODO(port): delete files from this list as they get ported.
108 to_be_ported_files = [ 268 to_be_ported_files = [
109 'base/ssl_config_service.cc', 269 'base/ssl_config_service.cc',
110 'http/http_transaction_winhttp.cc', 270 'http/http_transaction_winhttp.cc',
111 'http/winhttp_request_throttle.cc', 271 'http/winhttp_request_throttle.cc',
112 'url_request/url_request_ftp_job.cc', 272 'url_request/url_request_ftp_job.cc',
113 ] 273 ]
114 for remove in to_be_ported_files: 274 for remove in to_be_ported_files:
115 input_files.remove(remove) 275 input_files.remove(remove)
116 276
117 if env.Bit('windows'): 277 if not env.Bit('windows'):
118 input_files.extend([ 278 # Remove windows-specific files on non-Windows platforms.
279 # TODO(sgk):
280 # Remove the windows-specific files from the input_files list above
281 # and turn this back in to an add-on-Windows list (like we used to)
282 # once we're comfortable re-ordering the files in the generated
283 # .vcproj file(s).
284 input_files.Remove([
119 'base/file_stream_win.cc', 285 'base/file_stream_win.cc',
120 'base/net_util_win.cc', 286 'base/net_util_win.cc',
121 'base/platform_mime_util_win.cc', 287 'base/platform_mime_util_win.cc',
122 'base/ssl_client_socket_win.cc', 288 'base/ssl_client_socket_win.cc',
123 'base/tcp_client_socket_win.cc', 289 'base/tcp_client_socket_win.cc',
124 'base/wininet_util.cc', 290 'base/wininet_util.cc',
125 'base/winsock_init.cc', 291 'base/winsock_init.cc',
126 'base/x509_certificate_win.cc', 292 'base/x509_certificate_win.cc',
127 'disk_cache/cache_util_win.cc', 293 'disk_cache/cache_util_win.cc',
128 'disk_cache/file_win.cc', 294 'disk_cache/file_win.cc',
129 'disk_cache/mapped_file_win.cc', 295 'disk_cache/mapped_file_win.cc',
130 'proxy/proxy_config_service_win.cc', 296 'proxy/proxy_config_service_win.cc',
131 'proxy/proxy_resolver_winhttp.cc', 297 'proxy/proxy_resolver_winhttp.cc',
132 'url_request/url_request_inet_job.cc', 298 'url_request/url_request_inet_job.cc',
133 ]) 299 ])
134 300
135 if env.Bit('mac'): 301 if env.Bit('mac'):
136 input_files.extend([ 302 input_files.Extend([
137 'base/platform_mime_util_mac.cc', 303 'base/platform_mime_util_mac.cc',
138 'base/ssl_client_socket_mac.cc', 304 'base/ssl_client_socket_mac.cc',
139 'base/x509_certificate_mac.cc', 305 'base/x509_certificate_mac.cc',
140 'proxy/proxy_resolver_mac.cc', 306 'proxy/proxy_resolver_mac.cc',
141 ]) 307 ])
142 308
143 if env.Bit('linux'): 309 if env.Bit('linux'):
144 input_files.extend([ 310 input_files.Extend([
145 'base/nss_memio.c', 311 'base/nss_memio.c',
146 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types? 312 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
147 'base/platform_mime_util_linux.cc', 313 'base/platform_mime_util_linux.cc',
148 'base/ssl_client_socket_nss.cc', 314 'base/ssl_client_socket_nss.cc',
149 'base/x509_certificate_nss.cc', 315 'base/x509_certificate_nss.cc',
150 ]) 316 ])
151 317
152 if env.Bit('posix'): 318 if env.Bit('posix'):
153 input_files.extend([ 319 input_files.Extend([
154 'base/file_stream_posix.cc', 320 'base/file_stream_posix.cc',
155 'base/net_util_posix.cc', 321 'base/net_util_posix.cc',
156 'base/tcp_client_socket_libevent.cc', 322 'base/tcp_client_socket_libevent.cc',
157 'disk_cache/cache_util_posix.cc', 323 'disk_cache/cache_util_posix.cc',
158 'disk_cache/file_posix.cc', 324 'disk_cache/file_posix.cc',
159 'disk_cache/mapped_file_posix.cc', 325 'disk_cache/mapped_file_posix.cc',
160 ]) 326 ])
161 327
162 if env.Bit('windows'): 328 if env.Bit('windows'):
163 # TODO(bradnelson): This step generates file precompiled_net.pch.ib_tag 329 # TODO(bradnelson): This step generates file precompiled_net.pch.ib_tag
164 # possibly only on incredibuild, scons doesn't know this. 330 # possibly only on incredibuild, scons doesn't know this.
165 env_p = env.Clone() 331 env_p = env.Clone()
166 env_p.Append(CCFLAGS='/Ylnet') 332 # TODO(sgk): for now, add the same _LIB flag that Hammer adds to
333 # the other .obj files
334 env_p.Append(CCFLAGS='/Ylnet',
335 CPPDEFINES=['_LIB'])
167 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') 336 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc')
168 env['PCH'] = pch 337 env['PCH'] = pch
169 env['PCHSTOP'] = 'precompiled_net.h' 338 env['PCHSTOP'] = 'precompiled_net.h'
170 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) 339 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h'])
171 input_files += [obj] 340 input_files.Replace('build/precompiled_net.cc', obj)
172 341
173 env.ChromeLibrary('net', input_files) 342 lib = env.ChromeLibrary('net', input_files)
174 343
175 env.ChromeMSVSProject('$NET_DIR/build/net.vcproj', 344 p = env.ChromeMSVSProject('$NET_DIR/build/net.vcproj',
176 dependencies = [ 345 guid='{326E9795-E760-410A-B69A-3F79DB3F5243}',
177 '$NET_DIR/build/tld_cleanup.vcproj' 346 dependencies = [
178 ], 347 '$NET_DIR/build/tld_cleanup.vcproj'
179 guid='{326E9795-E760-410A-B69A-3F79DB3F5243}') 348 ],
349 # TODO: restore when we can derive all info,
350 # on all platforms, from the windows build targets.
351 #buildtargets=[lib[0]],
352 files=input_files,
353 ConfigurationType='4')
354
355 p.AddToolFile('build/convert_tld_data.rules')
356
357 p.AddConfig('Debug|Win32',
358 InheritedPropertySheets=[
359 '$(SolutionDir)../build/common.vsprops',
360 '$(SolutionDir)../build/debug.vsprops',
361 '$(SolutionDir)../third_party/icu38/build/using_icu.vsprops',
362 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops',
363 '$(SolutionDir)../sdch/using_sdch.vsprops',
364 '$(SolutionDir)../tools/grit/build/using_generated_resources.vsp rops',
365 ],
366 tools=[
367 'VCPreBuildEventTool',
368 'VCCustomBuildTool',
369 'Convert TLD Data File',
370 'VCXMLDataGeneratorTool',
371 'VCWebServiceProxyGeneratorTool',
372 'VCMIDLTool',
373 MSVSTool('VCCLCompilerTool',
374 PrecompiledHeaderThrough='precompiled_net.h',
375 ForcedIncludeFiles='precompiled_net.h',
376 UsePrecompiledHeader='2'),
377 'VCManagedResourceCompilerTool',
378 'VCResourceCompilerTool',
379 'VCPreLinkEventTool',
380 'VCLibrarianTool',
381 'VCALinkTool',
382 'VCXDCMakeTool',
383 'VCBscMakeTool',
384 'VCFxCopTool',
385 'VCPostBuildEventTool',
386 ])
387
388 p.AddConfig('Release|Win32',
389 InheritedPropertySheets=[
390 '$(SolutionDir)../build/common.vsprops',
391 '$(SolutionDir)../build/release.vsprops',
392 '$(SolutionDir)../third_party/icu38/build/using_icu.vsprops',
393 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops',
394 '$(SolutionDir)../sdch/using_sdch.vsprops',
395 '$(SolutionDir)../tools/grit/build/using_generated_resources.vsp rops',
396 ],
397 tools=[
398 'VCPreBuildEventTool',
399 'VCCustomBuildTool',
400 'Convert TLD Data File',
401 'VCXMLDataGeneratorTool',
402 'VCWebServiceProxyGeneratorTool',
403 'VCMIDLTool',
404 'VCCLCompilerTool',
405 'VCManagedResourceCompilerTool',
406 'VCResourceCompilerTool',
407 'VCPreLinkEventTool',
408 'VCLibrarianTool',
409 'VCALinkTool',
410 'VCXDCMakeTool',
411 'VCBscMakeTool',
412 'VCFxCopTool',
413 'VCPostBuildEventTool',
414 ])
415
416 # TODO(sgk): remove when we can derive this information
417 p.AddFileConfig('build/precompiled_net.cc',
418 'Debug|Win32',
419 tools=[
420 MSVSTool('VCCLCompilerTool',
421 UsePrecompiledHeader='1'),
422 ])
423
424 # TODO(sgk): remove when we can derive this information
425 p.AddFileConfig('build/precompiled_net.cc',
426 'Release|Win32',
427 ExcludedFromBuild='true',
428 tools=[
429 'VCCLCompilerTool',
430 ])
431
432 env.AlwaysBuild(p)
433
434 i = env.Command('$CHROME_SRC_DIR/net/build/net.vcproj', p,
435 Copy('$TARGET', '$SOURCE'))
436 Alias('msvs', i)
OLDNEW
« no previous file with comments | « net/dump_cache.scons ('k') | net/net_perftests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698