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

Side by Side Diff: tests/ppapi_example_font/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_audio/nacl.scons ('k') | tests/ppapi_example_gles2/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 font example from ppapi/examples/font. 6 # This is a Pepper font example from ppapi/examples/font.
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 # Adjust compiler flags to the more forgiving standards used in 12 # Adjust compiler flags to the more forgiving standards used in
13 # ppapi/examples/*. 13 # ppapi/examples/*.
14 env.FilterOut(CCFLAGS=['-Werror', '-pedantic']) 14 env.FilterOut(CCFLAGS=['-Werror', '-pedantic'])
15 env.Append(CCFLAGS=['-Wformat=0']) 15 env.Append(CCFLAGS=['-Wformat=0'])
16 16
17 nexe_name = 'ppapi_example_font_%s.nexe' % env.get('TARGET_FULLARCH') 17 nexe_name = 'ppapi_example_font_${TARGET_FULLARCH}'
18 nexe = env.ComponentProgram( 18 nexe = env.ComponentProgram(
19 nexe_name, 19 nexe_name,
20 ['$SOURCE_ROOT/ppapi/examples/font/simple_font.cc'], 20 ['$SOURCE_ROOT/ppapi/examples/font/simple_font.cc'],
21 EXTRA_LIBS=['${PPAPI_LIBS}', 'ppapi_cpp']) 21 EXTRA_LIBS=['${PPAPI_LIBS}', 'ppapi_cpp'])
22 22
23 # Note that the html is required to run this program. 23 # Note that the html is required to run this program.
24 env.Publish(nexe_name, 'run', 24 env.Publish(nexe_name, 'run',
25 ['ppapi_example_font.html', 'ppapi_example_font.nmf']) 25 ['ppapi_example_font.html', 'ppapi_example_font.nmf'])
26 26
27 test = env.PPAPIBrowserTester('ppapi_example_font_test.out', 27 test = env.PPAPIBrowserTester('ppapi_example_font_test.out',
28 url='ppapi_example_font.html', 28 url='ppapi_example_font.html',
29 files=env.ExtractPublishedFiles(nexe_name), 29 files=env.ExtractPublishedFiles(nexe_name),
30 args=['--enable_experimental_js']) 30 args=['--enable_experimental_js'])
31 31
32 env.AddNodeToTestSuite(test, 32 env.AddNodeToTestSuite(test,
33 ['chrome_browser_tests'], 33 ['chrome_browser_tests'],
34 'run_ppapi_example_font_test', 34 'run_ppapi_example_font_test',
35 is_broken=env.PPAPIBrowserTesterIsBroken()) 35 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW
« no previous file with comments | « tests/ppapi_example_audio/nacl.scons ('k') | tests/ppapi_example_gles2/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698