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 Import('env') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 env.ApplySConscript([ | 9 env.ApplySConscript([ |
10 '$BASE_DIR/using_base.scons', | 10 '$BASE_DIR/using_base.scons', |
11 '$GTEST_DIR/../using_gtest.scons', | 11 '$GTEST_DIR/../using_gtest.scons', |
12 '$ICU38_DIR/using_icu38.scons', | 12 '$ICU38_DIR/using_icu38.scons', |
13 ]) | 13 ]) |
14 | 14 |
15 env.Prepend( | 15 env.Prepend( |
16 CPPPATH = [ | 16 CPPPATH = [ |
17 '$CHROME_SRC_DIR', | 17 '$CHROME_SRC_DIR', |
18 ], | 18 ], |
19 LIBS = [ | 19 LIBS = [ |
20 'common', | 20 'common', |
21 'util', | 21 'util', |
22 ], | 22 ], |
23 ) | 23 ) |
24 | 24 |
25 if env['PLATFORM'] == 'win32': | 25 if env.Bit('windows'): |
26 env.FilterOut( | 26 env.FilterOut( |
27 LIBS = ['DelayImp.lib'], | 27 LIBS = ['DelayImp.lib'], |
28 ) | 28 ) |
29 | 29 |
30 env.Prepend( | 30 env.Prepend( |
31 LINKFLAGS = [ | 31 LINKFLAGS = [ |
32 '/INCREMENTAL', | 32 '/INCREMENTAL', |
33 '/DEBUG', | 33 '/DEBUG', |
34 | 34 |
35 '/DELAYLOAD:"dwmapi.dll"', | 35 '/DELAYLOAD:"dwmapi.dll"', |
(...skipping 23 matching lines...) Expand all Loading... |
59 '../util/delete_reg_value_work_item_unittest.cc', | 59 '../util/delete_reg_value_work_item_unittest.cc', |
60 '../util/delete_tree_work_item_unittest.cc', | 60 '../util/delete_tree_work_item_unittest.cc', |
61 '../util/google_chrome_distribution_unittest.cc', | 61 '../util/google_chrome_distribution_unittest.cc', |
62 '../util/helper_unittest.cc', | 62 '../util/helper_unittest.cc', |
63 '../util/run_all_unittests.cc', | 63 '../util/run_all_unittests.cc', |
64 '../util/set_reg_value_work_item_unittest.cc', | 64 '../util/set_reg_value_work_item_unittest.cc', |
65 '../util/work_item_list_unittest.cc', | 65 '../util/work_item_list_unittest.cc', |
66 ] | 66 ] |
67 | 67 |
68 env.ChromeTestProgram('installer_unittests', input_files) | 68 env.ChromeTestProgram('installer_unittests', input_files) |
OLD | NEW |