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

Side by Side Diff: tests/ppapi_messaging/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_gles_book/nacl.scons ('k') | tests/ppapi_ppb_scrollbar/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 2011 The Native Client Authors. All rights reserved. 2 # Copyright 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can 3 # Use of this source code is governed by a BSD-style license that can
4 # be found in the LICENSE file. 4 # be found in the LICENSE file.
5 5
6 # This is a C PPAPI 6 # This is a C PPAPI
7 # 7 #
8 # ppapi_messaging.html - test driver that loads the nexe and scripts it 8 # ppapi_messaging.html - test driver that loads the nexe and scripts it
9 # ppapi_messaging.nmf - manifest file for serving platform specific nexe binary. 9 # ppapi_messaging.nmf - manifest file for serving platform specific nexe binary.
10 # 10 #
11 # ppapi_messaging.c - implementation of PPP interface and PPP_Instance 11 # ppapi_messaging.c - implementation of PPP interface and PPP_Instance
12 12
13 Import('env') 13 Import('env')
14 14
15 env.Prepend(CPPDEFINES=['XP_UNIX']) 15 env.Prepend(CPPDEFINES=['XP_UNIX'])
16 16
17 nexe = 'ppapi_messaging_%s.nexe' % env.get('TARGET_FULLARCH') 17 nexe = 'ppapi_messaging_%s' % env.get('TARGET_FULLARCH')
18 18
19 env.Alias('ppapi_messaging.nexe', ['$STAGING_DIR/%s' % nexe]) 19 env.Alias('ppapi_messaging${PROGSUFFIX}',
20 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
20 21
21 ppapi_messaging_nexe = env.ComponentProgram(nexe, 22 ppapi_messaging_nexe = env.ComponentProgram(nexe,
22 ['ppapi_messaging.c'], 23 ['ppapi_messaging.c'],
23 EXTRA_LIBS=['${PPAPI_LIBS}', 24 EXTRA_LIBS=['${PPAPI_LIBS}',
24 'platform', 25 'platform',
25 'gio', 26 'gio',
26 'pthread', 27 'pthread',
27 'm', 28 'm',
28 ]) 29 ])
29 30
30 # Note that the html is required to run this program. 31 # Note that the html is required to run this program.
31 dest_copy = env.Replicate('$STAGING_DIR', 32 dest_copy = env.Replicate('$STAGING_DIR',
32 ['ppapi_messaging.html', 33 ['ppapi_messaging.html',
33 'ppapi_messaging.nmf', 34 'ppapi_messaging.nmf',
34 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/' 35 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/'
35 'browserdata/nacltest.js')] 36 'browserdata/nacltest.js')]
36 ) 37 )
37 env.Depends(nexe, dest_copy) 38 env.Depends(nexe, dest_copy)
38 39
39 node = env.PPAPIBrowserTester('ppapi_messaging_browser_test.out', 40 node = env.PPAPIBrowserTester('ppapi_messaging_browser_test.out',
40 url='ppapi_messaging.html', 41 url='ppapi_messaging.html',
41 files=[ppapi_messaging_nexe, 42 files=[ppapi_messaging_nexe,
42 env.File('ppapi_messaging.nmf'), 43 env.File('ppapi_messaging.nmf'),
43 env.File('ppapi_messaging.html')]) 44 env.File('ppapi_messaging.html')])
44 45
45 env.AddNodeToTestSuite(node, 46 env.AddNodeToTestSuite(node,
46 ['chrome_browser_tests'], 47 ['chrome_browser_tests'],
47 'run_ppapi_messaging_browser_test', 48 'run_ppapi_messaging_browser_test',
48 is_broken=env.PPAPIBrowserTesterIsBroken()) 49 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW
« no previous file with comments | « tests/ppapi_gles_book/nacl.scons ('k') | tests/ppapi_ppb_scrollbar/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698