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 Import('env') | |
6 | |
7 env = env.Clone() | |
8 | |
9 env.Prepend( | |
10 CPPPATH = [ | |
11 '../../..', | |
12 ], | |
13 LIBS = [ | |
14 'googleurl', | |
15 env['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed | |
16 'base', | |
17 # We only need to link with net due to use precompiled_net.pch. | |
18 'net', | |
19 ], | |
20 ) | |
21 | |
22 env.Append( | |
23 CCFLAGS = [ | |
24 '/TP', | |
25 ], | |
26 | |
27 LINKFLAGS = [ | |
28 '/INCREMENTAL', | |
29 '/MANIFEST', | |
30 '/DELAYLOAD:"dwmapi.dll"', | |
31 '/DELAYLOAD:"uxtheme.dll"', | |
32 '/DEBUG', | |
33 '/SUBSYSTEM:CONSOLE', | |
34 '/MACHINE:X86', | |
35 '/FIXED:No', | |
36 '/safeseh', | |
37 '/dynamicbase', | |
38 '/ignore:4199', | |
39 '/nxcompat', | |
40 ], | |
41 ) | |
42 | |
43 input_files = [ | |
44 'tld_cleanup.cc', | |
45 ] | |
46 | |
47 exe_targets = env.ChromeProgram('tld_cleanup', input_files) | |
48 i = env.Install('$TARGET_ROOT', exe_targets) | |
49 env.Alias('net', i) | |
50 | |
51 env.Install('$TARGET_ROOT', exe_targets) | |
52 | |
OLD | NEW |