| 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 '$SANDBOX_DIR/using_sandbox.scons', | 12 '$SANDBOX_DIR/using_sandbox.scons', |
| 13 ]) | 13 ]) |
| 14 | 14 |
| 15 if env['PLATFORM'] == 'win32': | 15 if env.Bit('windows'): |
| 16 env.Append( | 16 env.Append( |
| 17 CCFLAGS = [ | 17 CCFLAGS = [ |
| 18 '/WX', # treat warnings as errors | 18 '/WX', # treat warnings as errors |
| 19 ], | 19 ], |
| 20 ) | 20 ) |
| 21 | 21 |
| 22 env.Prepend( | 22 env.Prepend( |
| 23 LIBS = [ | 23 LIBS = [ |
| 24 'shlwapi', | 24 'shlwapi', |
| 25 ], | 25 ], |
| (...skipping 14 matching lines...) Expand all Loading... |
| 40 obj, | 40 obj, |
| 41 | 41 |
| 42 'suite.cc', | 42 'suite.cc', |
| 43 'commands.cc', | 43 'commands.cc', |
| 44 | 44 |
| 45 '../common/controller$OBJSUFFIX', | 45 '../common/controller$OBJSUFFIX', |
| 46 ] | 46 ] |
| 47 | 47 |
| 48 env.ChromeTestProgram('sbox_validation_tests', input_files, | 48 env.ChromeTestProgram('sbox_validation_tests', input_files, |
| 49 COMPONENT_PLATFORM_SETUP=None) | 49 COMPONENT_PLATFORM_SETUP=None) |
| OLD | NEW |