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

Side by Side Diff: tests/ppapi_example_gles2/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_font/nacl.scons ('k') | tests/ppapi_example_post_message/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 3D (OpenGLES2) example from ppapi/examples/gles2. 6 # This is a Pepper 3D (OpenGLES2) example from ppapi/examples/gles2.
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 env.Append(CPPPATH=['$SOURCE_ROOT/ppapi/lib/gl/include']) 12 env.Append(CPPPATH=['$SOURCE_ROOT/ppapi/lib/gl/include'])
13 13
14 nexe_name = 'ppapi_example_gles2_%s.nexe' % env.get('TARGET_FULLARCH') 14 nexe_name = 'ppapi_example_gles2_%s' % env.get('TARGET_FULLARCH')
15 nexe = env.ComponentProgram( 15 nexe = env.ComponentProgram(
16 nexe_name, 16 nexe_name,
17 ['$SOURCE_ROOT/ppapi/examples/gles2/gles2.cc'], 17 ['$SOURCE_ROOT/ppapi/examples/gles2/gles2.cc'],
18 EXTRA_LIBS=['${PPAPI_LIBS}', 'ppapi_cpp']) 18 EXTRA_LIBS=['${PPAPI_LIBS}', 'ppapi_cpp'])
19 19
20 # Note that the html is required to run this program. 20 # Note that the html is required to run this program.
21 env.Publish(nexe_name, 'run', 21 env.Publish(nexe_name, 'run',
22 ['ppapi_example_gles2.html', 'ppapi_example_gles2.nmf']) 22 ['ppapi_example_gles2.html', 'ppapi_example_gles2.nmf'])
23 23
24 test = env.PPAPIBrowserTester('ppapi_example_gles2_test.out', 24 test = env.PPAPIBrowserTester('ppapi_example_gles2_test.out',
25 url='ppapi_example_gles2.html', 25 url='ppapi_example_gles2.html',
26 files=env.ExtractPublishedFiles(nexe_name), 26 files=env.ExtractPublishedFiles(nexe_name),
27 args=['--enable_experimental_js']) 27 args=['--enable_experimental_js'])
28 28
29 env.AddNodeToTestSuite(test, 29 env.AddNodeToTestSuite(test,
30 ['chrome_browser_tests'], 30 ['chrome_browser_tests'],
31 'run_ppapi_example_gles2_test', 31 'run_ppapi_example_gles2_test',
32 # TODO(cstefansen): When fixed set to 32 # TODO(cstefansen): When fixed set to
33 # env.PPAPIBrowserTesterIsBroken(). 33 # env.PPAPIBrowserTesterIsBroken().
34 # code.google.com/p/nativeclient/issues/detail?id=1936 34 # code.google.com/p/nativeclient/issues/detail?id=1936
35 is_broken=True) 35 is_broken=True)
OLDNEW
« no previous file with comments | « tests/ppapi_example_font/nacl.scons ('k') | tests/ppapi_example_post_message/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698