OLD | NEW |
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 base.lib / libbase.a. | 6 Configuration for building base.lib / libbase.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.ApplySConscript([ |
14 '$ICU38_DIR/using_icu38.scons', | 14 '$ICU38_DIR/using_icu38.scons', |
15 ], {'env':env}) | 15 ]) |
16 | |
17 env.Prepend( | |
18 CPPPATH = [ | |
19 '$CHROME_SRC_DIR', | |
20 ], | |
21 ) | |
22 | 16 |
23 if env['PLATFORM'] == 'win32': | 17 if env['PLATFORM'] == 'win32': |
24 env.Prepend( | 18 env.Prepend( |
25 CCFLAGS = [ | 19 CCFLAGS = [ |
26 '/TP', | |
27 '/Wp64', | 20 '/Wp64', |
28 ], | 21 ], |
29 ) | 22 ) |
30 | 23 |
31 # These base files work on *all* platforms; files that don't work | 24 # These base files work on *all* platforms; files that don't work |
32 # cross-platform live below. | 25 # cross-platform live below. |
33 input_files = [ | 26 input_files = [ |
34 'at_exit.cc', | 27 'at_exit.cc', |
35 'base_paths.cc', | 28 'base_paths.cc', |
36 'base_switches.cc', | 29 'base_switches.cc', |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 'hmac_nss.cc', | 204 'hmac_nss.cc', |
212 'message_pump_glib.cc', | 205 'message_pump_glib.cc', |
213 'nss_init.cc', | 206 'nss_init.cc', |
214 'process_posix.cc', | 207 'process_posix.cc', |
215 'process_util_linux.cc', | 208 'process_util_linux.cc', |
216 'sys_string_conversions_linux.cc', | 209 'sys_string_conversions_linux.cc', |
217 'worker_pool.cc', | 210 'worker_pool.cc', |
218 ]) | 211 ]) |
219 | 212 |
220 env.ChromeStaticLibrary('base', input_files) | 213 env.ChromeStaticLibrary('base', input_files) |
OLD | NEW |