Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: sandbox/tests/validation_tests/sbox_validation_tests.scons

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sandbox/tests/unit_tests/sbox_unittests.scons ('k') | sandbox/wow_helper/wow_helper.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « sandbox/tests/unit_tests/sbox_unittests.scons ('k') | sandbox/wow_helper/wow_helper.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698