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_unittests{,.exe}. | 6 Configuration for building base_unittests{,.exe}. |
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 '$BASE_DIR/gfx/using_base_gfx.scons', | 15 '$BASE_DIR/gfx/using_base_gfx.scons', |
| 16 '$DMG_FP_DIR/using_dmg_fp.scons', |
16 '$GTEST_DIR/../using_gtest.scons', | 17 '$GTEST_DIR/../using_gtest.scons', |
17 '$ICU38_DIR/using_icu38.scons', | 18 '$ICU38_DIR/using_icu38.scons', |
18 '$LIBPNG_DIR/using_libpng.scons', | 19 '$LIBPNG_DIR/using_libpng.scons', |
19 '$SKIA_DIR/using_skia.scons', | 20 '$SKIA_DIR/using_skia.scons', |
20 '$ZLIB_DIR/using_zlib.scons', | 21 '$ZLIB_DIR/using_zlib.scons', |
21 ], {'env':env}) | 22 ], {'env':env}) |
22 | 23 |
23 if env['PLATFORM'] in ('posix', 'darwin'): | 24 if env['PLATFORM'] in ('posix', 'darwin'): |
24 env.SConscript([ | 25 env.SConscript([ |
25 '$LIBEVENT_DIR/using_libevent.scons', | 26 '$LIBEVENT_DIR/using_libevent.scons', |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 179 |
179 env.ChromeTestProgram('base_unittests', input_files) | 180 env.ChromeTestProgram('base_unittests', input_files) |
180 | 181 |
181 # TODO(sgk) should this be moved into base.lib like everything else? This will | 182 # TODO(sgk) should this be moved into base.lib like everything else? This will |
182 # require updating a bunch of other SConscripts which link directly against | 183 # require updating a bunch of other SConscripts which link directly against |
183 # this generated object file. | 184 # this generated object file. |
184 env.StaticObject('perftimer.cc') | 185 env.StaticObject('perftimer.cc') |
185 | 186 |
186 # Since run_all_perftests supplies a main, we cannot have it in base.lib | 187 # Since run_all_perftests supplies a main, we cannot have it in base.lib |
187 env.StaticObject('run_all_perftests.cc') | 188 env.StaticObject('run_all_perftests.cc') |
OLD | NEW |