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

Side by Side Diff: chrome/test/security_tests/security_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
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.Prepend( 9 env.Prepend(
10 CPPPATH = [ 10 CPPPATH = [
11 '$CHROME_SRC_DIR', 11 '$CHROME_SRC_DIR',
12 ], 12 ],
13 ) 13 )
14 14
15 if env['PLATFORM'] == 'win32': 15 if env.Bit('windows'):
16 env.Prepend( 16 env.Prepend(
17 LINKFLAGS = [ 17 LINKFLAGS = [
18 '/INCREMENTAL', 18 '/INCREMENTAL',
19 19
20 '/MANIFEST', 20 '/MANIFEST',
21 '/DELAYLOAD:"dwmapi.dll"', 21 '/DELAYLOAD:"dwmapi.dll"',
22 '/DELAYLOAD:"uxtheme.dll"', 22 '/DELAYLOAD:"uxtheme.dll"',
23 '/MACHINE:X86', 23 '/MACHINE:X86',
24 '/FIXED:No', 24 '/FIXED:No',
25 25
26 '/safeseh', 26 '/safeseh',
27 '/dynamicbase', 27 '/dynamicbase',
28 '/ignore:4199', 28 '/ignore:4199',
29 '/nxcompat', 29 '/nxcompat',
30 30
31 '/DEBUG', 31 '/DEBUG',
32 ], 32 ],
33 LIBS = [ 33 LIBS = [
34 'DelayImp.lib', 34 'DelayImp.lib',
35 ], 35 ],
36 ) 36 )
37 37
38 input_files = [ 38 input_files = [
39 'ipc_security_tests.cc', 39 'ipc_security_tests.cc',
40 'security_tests.cc', 40 'security_tests.cc',
41 '$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}', 41 '$SANDBOX_DIR/tests/validation_tests/commands${OBJSUFFIX}',
42 ] 42 ]
43 43
44 env.ChromeSharedLibrary('security_tests', input_files) 44 env.ChromeSharedLibrary('security_tests', input_files)
OLDNEW
« no previous file with comments | « chrome/test/reliability/reliability_tests.scons ('k') | chrome/test/selenium/selenium_tests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698