OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 __doc__ = """ |
| 6 Configuration for building googleurl.lib / libgoogleurl.a. |
| 7 """ |
| 8 |
| 9 Import('env') |
| 10 |
| 11 env = env.Clone() |
| 12 |
| 13 env.SConscript([ |
| 14 '$ICU38_DIR/using_icu38.scons', |
| 15 ], {'env':env}) |
| 16 |
| 17 env.Prepend( |
| 18 CPPPATH = [ |
| 19 '$ROOT_DIR', |
| 20 ], |
| 21 ) |
| 22 |
| 23 if env['PLATFORM'] == 'win32': |
| 24 env.Append( |
| 25 CCFLAGS = [ |
| 26 '/TP', |
| 27 ], |
| 28 ) |
| 29 |
| 30 input_files = [ |
| 31 'src/gurl.cc', |
| 32 'src/url_canon_etc.cc', |
| 33 'src/url_canon_fileurl.cc', |
| 34 'src/url_canon_host.cc', |
| 35 'src/url_canon_icu.cc', |
| 36 'src/url_canon_internal.cc', |
| 37 'src/url_canon_ip.cc', |
| 38 'src/url_canon_mailtourl.cc', |
| 39 'src/url_canon_path.cc', |
| 40 'src/url_canon_pathurl.cc', |
| 41 'src/url_canon_query.cc', |
| 42 'src/url_canon_relative.cc', |
| 43 'src/url_canon_stdurl.cc', |
| 44 'src/url_parse.cc', |
| 45 'src/url_parse_file.cc', |
| 46 'src/url_util.cc', |
| 47 ] |
| 48 |
| 49 env.ChromeStaticLibrary('googleurl', input_files) |
OLD | NEW |