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

Side by Side Diff: tests/ppapi_ppb_scrollbar/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
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 Import('env') 6 Import('env')
7 7
8 env.Prepend(CPPDEFINES=['XP_UNIX']) 8 env.Prepend(CPPDEFINES=['XP_UNIX'])
9 9
10 nexe = 'ppapi_ppb_scrollbar_%s.nexe' % env.get('TARGET_FULLARCH') 10 nexe = 'ppapi_ppb_scrollbar_%s' % env.get('TARGET_FULLARCH')
11 env.Alias('ppapi_ppb_scrollbar.nexe', [ '$STAGING_DIR/%s' % nexe ]) 11 env.Alias('ppapi_ppb_scrollbar${PROGSUFFIX}',
12 [ '$STAGING_DIR/%s${PROGSUFFIX}' % nexe ])
Nick Bray 2011/06/23 18:32:24 Spacing.
pdox 2011/06/23 20:42:58 Done.
12 13
13 ppapi_ppb_scrollbar_nexe = env.ComponentProgram( 14 ppapi_ppb_scrollbar_nexe = env.ComponentProgram(
14 nexe, 15 nexe,
15 [ 'ppapi_ppb_scrollbar.cc' ], 16 [ 'ppapi_ppb_scrollbar.cc' ],
16 EXTRA_LIBS=['${PPAPI_LIBS}', 17 EXTRA_LIBS=['${PPAPI_LIBS}',
17 'ppapi_test_lib', 18 'ppapi_test_lib',
18 'pthread', 19 'pthread',
19 'platform', 20 'platform',
20 'gio']) 21 'gio'])
21 22
22 dest_copy = env.Replicate('$STAGING_DIR', 23 dest_copy = env.Replicate('$STAGING_DIR',
23 [ 'ppapi_ppb_scrollbar.html', 24 [ 'ppapi_ppb_scrollbar.html',
24 'ppapi_ppb_scrollbar.nmf', 25 'ppapi_ppb_scrollbar.nmf',
25 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/' 26 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/'
26 'browserdata/nacltest.js') ] 27 'browserdata/nacltest.js') ]
27 ) 28 )
28 env.Depends(nexe, dest_copy) 29 env.Depends(nexe, dest_copy)
29 30
30 node = env.PPAPIBrowserTester('ppapi_ppb_scrollbar_browser_test.out', 31 node = env.PPAPIBrowserTester('ppapi_ppb_scrollbar_browser_test.out',
31 url='ppapi_ppb_scrollbar.html', 32 url='ppapi_ppb_scrollbar.html',
32 files=[ ppapi_ppb_scrollbar_nexe, 33 files=[ ppapi_ppb_scrollbar_nexe,
33 env.File('ppapi_ppb_scrollbar.nmf'), 34 env.File('ppapi_ppb_scrollbar.nmf'),
34 env.File('ppapi_ppb_scrollbar.html')] ) 35 env.File('ppapi_ppb_scrollbar.html')] )
35 36
36 env.AddNodeToTestSuite(node, 37 env.AddNodeToTestSuite(node,
37 ['chrome_browser_tests'], 38 ['chrome_browser_tests'],
38 'run_ppapi_ppb_scrollbar_browser_test', 39 'run_ppapi_ppb_scrollbar_browser_test',
39 is_broken=env.PPAPIBrowserTesterIsBroken()) 40 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698