| 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 the tld_cleanup{,.exe} executable. | 6 Configuration the tld_cleanup{,.exe} executable. |
| 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 '$BASE_DIR/using_base.scons', | 14 '$BASE_DIR/using_base.scons', |
| 15 '#/../build/using_googleurl.scons', | 15 '$CHROME_SRC_DIR/build/using_googleurl.scons', |
| 16 '$ICU38_DIR/using_icu38.scons', | 16 '$ICU38_DIR/using_icu38.scons', |
| 17 '$NET_DIR/using_net.scons', | 17 '$NET_DIR/using_net.scons', |
| 18 ], {'env':env}) | 18 ], {'env':env}) |
| 19 | 19 |
| 20 env.Prepend( | 20 env.Prepend( |
| 21 CPPPATH = [ | 21 CPPPATH = [ |
| 22 '$ROOT_DIR', | 22 '$CHROME_SRC_DIR', |
| 23 ], | 23 ], |
| 24 ) | 24 ) |
| 25 | 25 |
| 26 if env['PLATFORM'] == 'win32': | 26 if env['PLATFORM'] == 'win32': |
| 27 env.Append( | 27 env.Append( |
| 28 CCFLAGS = [ | 28 CCFLAGS = [ |
| 29 '/TP', | 29 '/TP', |
| 30 ], | 30 ], |
| 31 | 31 |
| 32 LINKFLAGS = [ | 32 LINKFLAGS = [ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 45 ], | 45 ], |
| 46 ) | 46 ) |
| 47 | 47 |
| 48 input_files = [ | 48 input_files = [ |
| 49 'tld_cleanup.cc', | 49 'tld_cleanup.cc', |
| 50 ] | 50 ] |
| 51 | 51 |
| 52 tld_cleanup = env.ChromeProgram('tld_cleanup', input_files) | 52 tld_cleanup = env.ChromeProgram('tld_cleanup', input_files) |
| 53 i = env.Install('$TARGET_ROOT', tld_cleanup) | 53 i = env.Install('$TARGET_ROOT', tld_cleanup) |
| 54 env.Alias('net', i) | 54 env.Alias('net', i) |
| OLD | NEW |