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

Side by Side Diff: net/net_lib.scons

Issue 9260: Change made by external contributor Ibrar Ahmed (ibrar.ahmad@gmail.com), revi... (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/net.xcodeproj/project.pbxproj ('k') | net/net_unittests.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
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 'base/listen_socket.cc', 48 'base/listen_socket.cc',
49 'base/mime_sniffer.cc', 49 'base/mime_sniffer.cc',
50 'base/mime_util.cc', 50 'base/mime_util.cc',
51 'base/net_errors.cc', 51 'base/net_errors.cc',
52 'base/net_module.cc', 52 'base/net_module.cc',
53 'base/net_util.cc', 53 'base/net_util.cc',
54 'base/registry_controlled_domain.cc', 54 'base/registry_controlled_domain.cc',
55 'base/sdch_filter.cc', 55 'base/sdch_filter.cc',
56 'base/sdch_manager.cc', 56 'base/sdch_manager.cc',
57 'base/ssl_config_service.cc', 57 'base/ssl_config_service.cc',
58 'base/telnet_server.cc',
59 'base/upload_data.cc', 58 'base/upload_data.cc',
60 'base/upload_data_stream.cc', 59 'base/upload_data_stream.cc',
61 'base/x509_certificate.cc', 60 'base/x509_certificate.cc',
62 'disk_cache/backend_impl.cc', 61 'disk_cache/backend_impl.cc',
63 'disk_cache/block_files.cc', 62 'disk_cache/block_files.cc',
64 'disk_cache/entry_impl.cc', 63 'disk_cache/entry_impl.cc',
65 'disk_cache/file_lock.cc', 64 'disk_cache/file_lock.cc',
66 'disk_cache/hash.cc', 65 'disk_cache/hash.cc',
67 'disk_cache/mem_backend_impl.cc', 66 'disk_cache/mem_backend_impl.cc',
68 'disk_cache/mem_entry_impl.cc', 67 'disk_cache/mem_entry_impl.cc',
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 'url_request/url_request_simple_job.cc', 103 'url_request/url_request_simple_job.cc',
105 'url_request/url_request_test_job.cc', 104 'url_request/url_request_test_job.cc',
106 'url_request/url_request_view_cache_job.cc', 105 'url_request/url_request_view_cache_job.cc',
107 ] 106 ]
108 107
109 if env['PLATFORM'] in ('posix', 'darwin'): 108 if env['PLATFORM'] in ('posix', 'darwin'):
110 # Remove files that still need to be ported from the input_files list. 109 # 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. 110 # TODO(port): delete files from this list as they get ported.
112 to_be_ported_files = [ 111 to_be_ported_files = [
113 'base/directory_lister.cc', 112 'base/directory_lister.cc',
114 'base/listen_socket.cc',
115 'base/ssl_config_service.cc', 113 'base/ssl_config_service.cc',
116 'base/telnet_server.cc',
117 'http/http_transaction_winhttp.cc', 114 'http/http_transaction_winhttp.cc',
118 'http/winhttp_request_throttle.cc', 115 'http/winhttp_request_throttle.cc',
119 'url_request/url_request_file_dir_job.cc', 116 'url_request/url_request_file_dir_job.cc',
120 'url_request/url_request_ftp_job.cc', 117 'url_request/url_request_ftp_job.cc',
121 ] 118 ]
122 for remove in to_be_ported_files: 119 for remove in to_be_ported_files:
123 input_files.remove(remove) 120 input_files.remove(remove)
124 121
125 if env['PLATFORM'] == 'win32': 122 if env['PLATFORM'] == 'win32':
126 input_files.extend([ 123 input_files.extend([
(...skipping 27 matching lines...) Expand all
154 'base/platform_mime_util_linux.cc', 151 'base/platform_mime_util_linux.cc',
155 'base/ssl_client_socket_nss.cc', 152 'base/ssl_client_socket_nss.cc',
156 'base/x509_certificate_nss.cc', 153 'base/x509_certificate_nss.cc',
157 ]) 154 ])
158 155
159 if env['PLATFORM'] in ('darwin', 'posix'): 156 if env['PLATFORM'] in ('darwin', 'posix'):
160 input_files.extend([ 157 input_files.extend([
161 'base/file_stream_posix.cc', 158 'base/file_stream_posix.cc',
162 'base/net_util_posix.cc', 159 'base/net_util_posix.cc',
163 'base/tcp_client_socket_libevent.cc', 160 'base/tcp_client_socket_libevent.cc',
161 'base/telnet_server.cc',
164 'disk_cache/cache_util_posix.cc', 162 'disk_cache/cache_util_posix.cc',
165 'disk_cache/file_posix.cc', 163 'disk_cache/file_posix.cc',
166 'disk_cache/mapped_file_posix.cc', 164 'disk_cache/mapped_file_posix.cc',
167 ]) 165 ])
168 166
169 if env['PLATFORM'] == 'win32': 167 if env['PLATFORM'] == 'win32':
170 # TODO(bradnelson): This step generates file precompiled_net.pch.ib_tag 168 # TODO(bradnelson): This step generates file precompiled_net.pch.ib_tag
171 # possibly only on incredibuild, scons doesn't know this. 169 # possibly only on incredibuild, scons doesn't know this.
172 env_p = env.Clone() 170 env_p = env.Clone()
173 env_p.Append(CCFLAGS='/Ylnet') 171 env_p.Append(CCFLAGS='/Ylnet')
174 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') 172 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc')
175 env['PCH'] = pch 173 env['PCH'] = pch
176 env['PCHSTOP'] = 'precompiled_net.h' 174 env['PCHSTOP'] = 'precompiled_net.h'
177 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) 175 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h'])
178 input_files += [obj] 176 input_files += [obj]
179 177
180 env.ChromeStaticLibrary('net', input_files) 178 env.ChromeStaticLibrary('net', input_files)
OLDNEW
« no previous file with comments | « net/net.xcodeproj/project.pbxproj ('k') | net/net_unittests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698