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

Side by Side Diff: webkit/tools/npapi_layout_test_plugin/SConscript

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 | « webkit/glue/plugins/test/SConscript ('k') | webkit/tools/test_shell/SConscript » ('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', 'env_res') 5 Import('env', 'env_res')
6 6
7 env = env.Clone() 7 env = env.Clone()
8 env_res = env_res.Clone() 8 env_res = env_res.Clone()
9 9
10 input_files = [ 10 input_files = [
11 'main.cpp', 11 'main.cpp',
12 'PluginObject.cpp', 12 'PluginObject.cpp',
13 'TestObject.cpp' 13 'TestObject.cpp'
14 ] 14 ]
15 15
16 if env['PLATFORM'] == 'win32': 16 if env.Bit('windows'):
17 input_files.extend([ 17 input_files.extend([
18 env_res.RES('npapi_layout_test_plugin.rc'), 18 env_res.RES('npapi_layout_test_plugin.rc'),
19 'npapi_layout_test_plugin.def' 19 'npapi_layout_test_plugin.def'
20 ]) 20 ])
21 21
22 env.Append( 22 env.Append(
23 CCFLAGS = [ 23 CCFLAGS = [
24 '/TP', 24 '/TP',
25 '/WX', 25 '/WX',
26 ], 26 ],
(...skipping 19 matching lines...) Expand all
46 ) 46 )
47 47
48 dll = env.ChromeSharedLibrary('npapi_layout_test_plugin', input_files) 48 dll = env.ChromeSharedLibrary('npapi_layout_test_plugin', input_files)
49 49
50 i = env.Install('$TARGET_ROOT/plugins', dll) 50 i = env.Install('$TARGET_ROOT/plugins', dll)
51 env.Alias('webkit', i) 51 env.Alias('webkit', i)
52 52
53 i = env.Install('$TARGET_ROOT', dll) 53 i = env.Install('$TARGET_ROOT', dll)
54 env.Alias('webkit', i) 54 env.Alias('webkit', i)
55 55
OLDNEW
« no previous file with comments | « webkit/glue/plugins/test/SConscript ('k') | webkit/tools/test_shell/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698