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