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

Side by Side Diff: net/net_lib.scons

Issue 7847: Using $CHROME_SRC_DIR in place of hash/..... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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/crash_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_res = env.Clone() 11 env_res = env.Clone()
12 env_tests = env.Clone() 12 env_tests = env.Clone()
13 env = env.Clone() 13 env = env.Clone()
14 14
15 env.SConscript([ 15 env.SConscript([
16 '$ICU38_DIR/using_icu38.scons', 16 '$ICU38_DIR/using_icu38.scons',
17 '$SDCH_DIR/using_sdch.scons', 17 '$SDCH_DIR/using_sdch.scons',
18 '$ZLIB_DIR/using_zlib.scons', 18 '$ZLIB_DIR/using_zlib.scons',
19 ], {'env':env}) 19 ], {'env':env})
20 20
21 env.Prepend( 21 env.Prepend(
22 CPPPATH = [ 22 CPPPATH = [
23 '$ROOT_DIR', 23 '$CHROME_SRC_DIR',
24 ], 24 ],
25 ) 25 )
26 26
27 # These net files work on *all* platforms; files that don't work 27 # These net files work on *all* platforms; files that don't work
28 # cross-platform live below. 28 # cross-platform live below.
29 input_files = [ 29 input_files = [
30 'base/address_list.cc', 30 'base/address_list.cc',
31 'base/auth_cache.cc', 31 'base/auth_cache.cc',
32 'base/base64.cc', 32 'base/base64.cc',
33 'base/bzip2_filter.cc', 33 'base/bzip2_filter.cc',
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 # possibly only on incredibuild, scons doesn't know this. 182 # possibly only on incredibuild, scons doesn't know this.
183 env_p = env.Clone() 183 env_p = env.Clone()
184 env_p.Append(CCFLAGS='/Ylnet') 184 env_p.Append(CCFLAGS='/Ylnet')
185 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') 185 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc')
186 env['PCH'] = pch 186 env['PCH'] = pch
187 env['PCHSTOP'] = 'precompiled_net.h' 187 env['PCHSTOP'] = 'precompiled_net.h'
188 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) 188 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h'])
189 input_files += [obj] 189 input_files += [obj]
190 190
191 env.ChromeStaticLibrary('net', input_files) 191 env.ChromeStaticLibrary('net', input_files)
OLDNEW
« no previous file with comments | « net/crash_cache.scons ('k') | net/net_perftests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698