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

Side by Side Diff: chrome/tools/perf/flush_cache/flush_cache.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.ApplySConscript([ 9 env.ApplySConscript([
10 '$BASE_DIR/using_base.scons', 10 '$BASE_DIR/using_base.scons',
11 '$ICU38_DIR/using_icu38.scons', 11 '$ICU38_DIR/using_icu38.scons',
12 ]) 12 ])
13 13
14 env.Prepend( 14 env.Prepend(
15 CPPPATH = [ 15 CPPPATH = [
16 '$CHROME_SRC_DIR', 16 '$CHROME_SRC_DIR',
17 ], 17 ],
18 ) 18 )
19 19
20 if env['PLATFORM'] == 'win32': 20 if env.Bit('windows'):
21 env.Prepend( 21 env.Prepend(
22 LINKFLAGS = [ 22 LINKFLAGS = [
23 '/INCREMENTAL', 23 '/INCREMENTAL',
24 '/DEBUG', 24 '/DEBUG',
25 25
26 '/DELAYLOAD:"dwmapi.dll"', 26 '/DELAYLOAD:"dwmapi.dll"',
27 '/DELAYLOAD:"uxtheme.dll"', 27 '/DELAYLOAD:"uxtheme.dll"',
28 28
29 '/MACHINE:X86', 29 '/MACHINE:X86',
30 '/FIXED:No', 30 '/FIXED:No',
31 31
32 '/safeseh', 32 '/safeseh',
33 '/dynamicbase', 33 '/dynamicbase',
34 '/ignore:4199', 34 '/ignore:4199',
35 '/nxcompat', 35 '/nxcompat',
36 ], 36 ],
37 ) 37 )
38 38
39 input_files = [ 39 input_files = [
40 'flush_cache.cc', 40 'flush_cache.cc',
41 ] 41 ]
42 42
43 env.ChromeTestProgram('flush_cache', input_files) 43 env.ChromeTestProgram('flush_cache', input_files)
OLDNEW
« no previous file with comments | « chrome/tools/crash_service/crash_service.scons ('k') | chrome/tools/profiles/generate_profile.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698