| 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 the media_unittests{,.exe} executable. | 6 Configuration for building the media_unittests{,.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 '$GTEST_DIR/../using_gtest.scons', | 15 '$GTEST_DIR/../using_gtest.scons', |
| 16 '$ICU38_DIR/using_icu38.scons', | 16 '$ICU38_DIR/using_icu38.scons', |
| 17 '$MEDIA_DIR/using_media.scons', |
| 17 ], {'env':env}) | 18 ], {'env':env}) |
| 18 | 19 |
| 19 env.Prepend( | 20 env.Prepend( |
| 20 CPPPATH = [ | 21 CPPPATH = [ |
| 21 '$CHROME_SRC_DIR', | 22 '$CHROME_SRC_DIR', |
| 22 ], | 23 ], |
| 23 ) | 24 ) |
| 24 | 25 |
| 25 if env['PLATFORM'] == 'win32': | 26 if env['PLATFORM'] == 'win32': |
| 26 env.Prepend( | 27 env.Prepend( |
| (...skipping 12 matching lines...) Expand all Loading... |
| 39 '/MACHINE:X86', | 40 '/MACHINE:X86', |
| 40 '/FIXED:No', | 41 '/FIXED:No', |
| 41 '/safeseh', | 42 '/safeseh', |
| 42 '/dynamicbase', | 43 '/dynamicbase', |
| 43 '/ignore:4199', | 44 '/ignore:4199', |
| 44 '/nxcompat', | 45 '/nxcompat', |
| 45 ], | 46 ], |
| 46 ) | 47 ) |
| 47 | 48 |
| 48 input_files = [ | 49 input_files = [ |
| 50 'base/data_buffer_unittest.cc', |
| 49 'base/run_all_unittests.cc', | 51 'base/run_all_unittests.cc', |
| 50 ] | 52 ] |
| 51 | 53 |
| 52 env.ChromeTestProgram('media_unittests', input_files) | 54 env.ChromeTestProgram('media_unittests', input_files) |
| OLD | NEW |