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

Side by Side Diff: chrome/tools/test/image_diff/image_diff.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 | « chrome/tools/profiles/generate_profile.scons ('k') | media/media_lib.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 '$BASE_DIR/gfx/using_base_gfx.scons', 11 '$BASE_DIR/gfx/using_base_gfx.scons',
12 '$ICU38_DIR/using_icu38.scons', 12 '$ICU38_DIR/using_icu38.scons',
13 '$LIBPNG_DIR/using_libpng.scons', 13 '$LIBPNG_DIR/using_libpng.scons',
14 '$SKIA_DIR/using_skia.scons', 14 '$SKIA_DIR/using_skia.scons',
15 '$ZLIB_DIR/using_zlib.scons', 15 '$ZLIB_DIR/using_zlib.scons',
16 ]) 16 ])
17 17
18 env.Prepend( 18 env.Prepend(
19 CPPPATH = [ 19 CPPPATH = [
20 '$CHROME_SRC_DIR', 20 '$CHROME_SRC_DIR',
21 ], 21 ],
22 ) 22 )
23 23
24 if env['PLATFORM'] == 'win32': 24 if env.Bit('windows'):
25 env.Prepend( 25 env.Prepend(
26 LINKFLAGS = [ 26 LINKFLAGS = [
27 '/INCREMENTAL', 27 '/INCREMENTAL',
28 '/DEBUG', 28 '/DEBUG',
29 29
30 '/DELAYLOAD:"dwmapi.dll"', 30 '/DELAYLOAD:"dwmapi.dll"',
31 '/DELAYLOAD:"uxtheme.dll"', 31 '/DELAYLOAD:"uxtheme.dll"',
32 32
33 '/SUBSYSTEM:CONSOLE', 33 '/SUBSYSTEM:CONSOLE',
34 34
35 '/MACHINE:X86', 35 '/MACHINE:X86',
36 '/FIXED:No', 36 '/FIXED:No',
37 37
38 '/safeseh', 38 '/safeseh',
39 '/dynamicbase', 39 '/dynamicbase',
40 '/ignore:4199', 40 '/ignore:4199',
41 '/nxcompat', 41 '/nxcompat',
42 ], 42 ],
43 ) 43 )
44 44
45 input_files = [ 45 input_files = [
46 'image_diff.cc', 46 'image_diff.cc',
47 ] 47 ]
48 48
49 env.ChromeTestProgram('image_diff', input_files) 49 env.ChromeTestProgram('image_diff', input_files)
OLDNEW
« no previous file with comments | « chrome/tools/profiles/generate_profile.scons ('k') | media/media_lib.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698