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

Side by Side Diff: build/googleurl_lib.scons

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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 | « build/external_code.scons ('k') | build/googleurl_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 googleurl.lib / libgoogleurl.a. 6 Configuration for building googleurl.lib / libgoogleurl.a.
7 """ 7 """
8 8
9 Import('env') 9 Import('env')
10 10
11 env = env.Clone() 11 env = env.Clone()
12 12
13 env.SConscript([ 13 env.SConscript([
14 '$ICU38_DIR/using_icu38.scons', 14 '$ICU38_DIR/using_icu38.scons',
15 ], {'env':env}) 15 ], {'env':env})
16 16
17 env.Prepend( 17 env.Prepend(
18 CPPPATH = [ 18 CPPPATH = [
19 '$CHROME_SRC_DIR', 19 '$CHROME_SRC_DIR',
20 ], 20 ],
21 ) 21 )
22 22
23 if env['PLATFORM'] == 'win32': 23 if env.Bit('windows'):
24 env.Append( 24 env.Append(
25 CCFLAGS = [ 25 CCFLAGS = [
26 '/TP', 26 '/TP',
27 ], 27 ],
28 ) 28 )
29 29
30 input_files = [ 30 input_files = [
31 'src/gurl.cc', 31 'src/gurl.cc',
32 'src/url_canon_etc.cc', 32 'src/url_canon_etc.cc',
33 'src/url_canon_fileurl.cc', 33 'src/url_canon_fileurl.cc',
34 'src/url_canon_host.cc', 34 'src/url_canon_host.cc',
35 'src/url_canon_icu.cc', 35 'src/url_canon_icu.cc',
36 'src/url_canon_internal.cc', 36 'src/url_canon_internal.cc',
37 'src/url_canon_ip.cc', 37 'src/url_canon_ip.cc',
38 'src/url_canon_mailtourl.cc', 38 'src/url_canon_mailtourl.cc',
39 'src/url_canon_path.cc', 39 'src/url_canon_path.cc',
40 'src/url_canon_pathurl.cc', 40 'src/url_canon_pathurl.cc',
41 'src/url_canon_query.cc', 41 'src/url_canon_query.cc',
42 'src/url_canon_relative.cc', 42 'src/url_canon_relative.cc',
43 'src/url_canon_stdurl.cc', 43 'src/url_canon_stdurl.cc',
44 'src/url_parse.cc', 44 'src/url_parse.cc',
45 'src/url_parse_file.cc', 45 'src/url_parse_file.cc',
46 'src/url_util.cc', 46 'src/url_util.cc',
47 ] 47 ]
48 48
49 env.ChromeStaticLibrary('googleurl', input_files) 49 env.ChromeStaticLibrary('googleurl', input_files)
OLDNEW
« no previous file with comments | « build/external_code.scons ('k') | build/googleurl_unittests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698