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

Side by Side Diff: webkit/glue/plugins/test/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/SConscript ('k') | webkit/tools/npapi_layout_test_plugin/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 'npapi_constants.cc', 11 'npapi_constants.cc',
12 'npapi_test.cc', 12 'npapi_test.cc',
13 'plugin_arguments_test.cc', 13 'plugin_arguments_test.cc',
14 'plugin_delete_plugin_in_stream_test.cc', 14 'plugin_delete_plugin_in_stream_test.cc',
15 'plugin_get_javascript_url_test.cc', 15 'plugin_get_javascript_url_test.cc',
16 'plugin_geturl_test.cc', 16 'plugin_geturl_test.cc',
17 'plugin_new_fails_test.cc', 17 'plugin_new_fails_test.cc',
18 'plugin_npobject_proxy_test.cc', 18 'plugin_npobject_proxy_test.cc',
19 'plugin_test.cc' 19 'plugin_test.cc'
20 ] 20 ]
21 21
22 if env['PLATFORM'] == 'win32': 22 if env.Bit('windows'):
23 # TODO(port): Port these. 23 # TODO(port): Port these.
24 input_files.extend([ 24 input_files.extend([
25 'plugin_execute_script_delete_test.cc', 25 'plugin_execute_script_delete_test.cc',
26 'plugin_javascript_open_popup.cc', 26 'plugin_javascript_open_popup.cc',
27 'plugin_client.cc', # Includes not ported headers. 27 'plugin_client.cc', # Includes not ported headers.
28 'plugin_npobject_lifetime_test.cc', # Has win32-isms (HWND, CALLBACK). 28 'plugin_npobject_lifetime_test.cc', # Has win32-isms (HWND, CALLBACK).
29 'plugin_window_size_test.cc' # Has w32-isms including HWND. 29 'plugin_window_size_test.cc' # Has w32-isms including HWND.
30 ]) 30 ])
31 31
32 env.Append( 32 env.Append(
33 LIBS = [ 33 LIBS = [
34 'base', 34 'base',
35 'icu', 35 'icu',
36 ], 36 ],
37 ) 37 )
38 38
39 if env['PLATFORM'] == 'win32': 39 if env.Bit('windows'):
40 input_files.extend([ 40 input_files.extend([
41 env_res.RES('npapi_test.rc'), 41 env_res.RES('npapi_test.rc'),
42 'npapi_test.def' 42 'npapi_test.def'
43 ]) 43 ])
44 44
45 env.Append( 45 env.Append(
46 CCFLAGS = [ 46 CCFLAGS = [
47 '/TP', 47 '/TP',
48 '/wd4800', 48 '/wd4800',
49 ], 49 ],
(...skipping 17 matching lines...) Expand all
67 '/ignore:4199', 67 '/ignore:4199',
68 '/nxcompat', 68 '/nxcompat',
69 ], 69 ],
70 ) 70 )
71 71
72 dll = env.ChromeSharedLibrary('npapi_test_plugin', input_files) 72 dll = env.ChromeSharedLibrary('npapi_test_plugin', input_files)
73 73
74 i = env.Install('$TARGET_ROOT', dll) 74 i = env.Install('$TARGET_ROOT', dll)
75 env.Alias('webkit', i) 75 env.Alias('webkit', i)
76 76
OLDNEW
« no previous file with comments | « webkit/glue/SConscript ('k') | webkit/tools/npapi_layout_test_plugin/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698