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

Side by Side Diff: net/net_lib.scons

Issue 11293: Port directory lister to posix. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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/base/net_util.cc ('k') | net/url_request/url_request_file_dir_job.h » ('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
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 'url_request/url_request_job_tracker.cc', 103 'url_request/url_request_job_tracker.cc',
104 'url_request/url_request_simple_job.cc', 104 'url_request/url_request_simple_job.cc',
105 'url_request/url_request_test_job.cc', 105 'url_request/url_request_test_job.cc',
106 'url_request/url_request_view_cache_job.cc', 106 'url_request/url_request_view_cache_job.cc',
107 ] 107 ]
108 108
109 if env['PLATFORM'] in ('posix', 'darwin'): 109 if env['PLATFORM'] in ('posix', 'darwin'):
110 # Remove files that still need to be ported from the input_files list. 110 # Remove files that still need to be ported from the input_files list.
111 # TODO(port): delete files from this list as they get ported. 111 # TODO(port): delete files from this list as they get ported.
112 to_be_ported_files = [ 112 to_be_ported_files = [
113 'base/directory_lister.cc',
114 'base/ssl_config_service.cc', 113 'base/ssl_config_service.cc',
115 'http/http_transaction_winhttp.cc', 114 'http/http_transaction_winhttp.cc',
116 'http/winhttp_request_throttle.cc', 115 'http/winhttp_request_throttle.cc',
117 'url_request/url_request_file_dir_job.cc',
118 'url_request/url_request_ftp_job.cc', 116 'url_request/url_request_ftp_job.cc',
119 ] 117 ]
120 for remove in to_be_ported_files: 118 for remove in to_be_ported_files:
121 input_files.remove(remove) 119 input_files.remove(remove)
122 120
123 if env['PLATFORM'] == 'win32': 121 if env['PLATFORM'] == 'win32':
124 input_files.extend([ 122 input_files.extend([
125 'base/file_stream_win.cc', 123 'base/file_stream_win.cc',
126 'base/net_util_win.cc', 124 'base/net_util_win.cc',
127 'base/platform_mime_util_win.cc', 125 'base/platform_mime_util_win.cc',
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 # possibly only on incredibuild, scons doesn't know this. 167 # possibly only on incredibuild, scons doesn't know this.
170 env_p = env.Clone() 168 env_p = env.Clone()
171 env_p.Append(CCFLAGS='/Ylnet') 169 env_p.Append(CCFLAGS='/Ylnet')
172 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') 170 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc')
173 env['PCH'] = pch 171 env['PCH'] = pch
174 env['PCHSTOP'] = 'precompiled_net.h' 172 env['PCHSTOP'] = 'precompiled_net.h'
175 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) 173 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h'])
176 input_files += [obj] 174 input_files += [obj]
177 175
178 env.ChromeStaticLibrary('net', input_files) 176 env.ChromeStaticLibrary('net', input_files)
OLDNEW
« no previous file with comments | « net/base/net_util.cc ('k') | net/url_request/url_request_file_dir_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698