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

Side by Side Diff: tests/ppapi_example_post_message/nacl.scons

Issue 7242011: Get rid of assumptions about ".nexe" extension. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 months 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 | « tests/ppapi_example_gles2/nacl.scons ('k') | tests/ppapi_file_system/nacl.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 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This is a Pepper PostMessage example from ppapi/examples/scripting. 6 # This is a Pepper PostMessage example from ppapi/examples/scripting.
7 7
8 Import('env') 8 Import('env')
9 9
10 env.Prepend(CPPDEFINES=['XP_UNIX']) 10 env.Prepend(CPPDEFINES=['XP_UNIX'])
11 11
12 nexe_name = 'ppapi_example_post_message_%s.nexe' % env.get('TARGET_FULLARCH') 12 nexe_name = 'ppapi_example_post_message_${TARGET_FULLARCH}'
13 nexe = env.ComponentProgram( 13 nexe = env.ComponentProgram(
14 nexe_name, 14 nexe_name,
15 ['$SOURCE_ROOT/ppapi/examples/scripting/post_message.cc'], 15 ['$SOURCE_ROOT/ppapi/examples/scripting/post_message.cc'],
16 EXTRA_LIBS=['${PPAPI_LIBS}', 'ppapi_cpp']) 16 EXTRA_LIBS=['${PPAPI_LIBS}', 'ppapi_cpp'])
17 17
18 # Note that the html is required to run this program. 18 # Note that the html is required to run this program.
19 env.Publish(nexe_name, 'run', 19 env.Publish(nexe_name, 'run',
20 ['ppapi_example_post_message.html', 20 ['ppapi_example_post_message.html',
21 'ppapi_example_post_message.nmf']) 21 'ppapi_example_post_message.nmf'])
22 22
23 23
24 test = env.PPAPIBrowserTester( 24 test = env.PPAPIBrowserTester(
25 'ppapi_example_post_message_test.out', 25 'ppapi_example_post_message_test.out',
26 url='ppapi_example_post_message.html', 26 url='ppapi_example_post_message.html',
27 files=env.ExtractPublishedFiles(nexe_name), 27 files=env.ExtractPublishedFiles(nexe_name),
28 args=['--enable_experimental_js']) 28 args=['--enable_experimental_js'])
29 29
30 env.AddNodeToTestSuite(test, 30 env.AddNodeToTestSuite(test,
31 ['chrome_browser_tests'], 31 ['chrome_browser_tests'],
32 'run_ppapi_example_post_message_test', 32 'run_ppapi_example_post_message_test',
33 is_broken=env.PPAPIBrowserTesterIsBroken()) 33 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW
« no previous file with comments | « tests/ppapi_example_gles2/nacl.scons ('k') | tests/ppapi_file_system/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698