OLD | NEW |
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 test uses ppapi_test_lib. | 6 # This test uses ppapi_test_lib. |
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 = 'ppapi_ppb_graphics2d_%s.nexe' % env.get('TARGET_FULLARCH') | 12 nexe = 'ppapi_ppb_graphics2d_${TARGET_FULLARCH}' |
13 env.Alias('ppapi_ppb_graphics2d.nexe', [ '$STAGING_DIR/%s' % nexe ]) | 13 env.Alias('ppapi_ppb_graphics2d${PROGSUFFIX}', |
| 14 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) |
14 | 15 |
15 ppapi_ppb_graphics2d_nexe = env.ComponentProgram( | 16 ppapi_ppb_graphics2d_nexe = env.ComponentProgram( |
16 nexe, | 17 nexe, |
17 [ 'ppapi_ppb_graphics2d.cc' ], | 18 [ 'ppapi_ppb_graphics2d.cc' ], |
18 EXTRA_LIBS=['${PPAPI_LIBS}', | 19 EXTRA_LIBS=['${PPAPI_LIBS}', |
19 'ppapi_test_lib', | 20 'ppapi_test_lib', |
20 'platform', # for CHECK | 21 'platform', # for CHECK |
21 'pthread', | 22 'pthread', |
22 'gio', | 23 'gio', |
23 ]) | 24 ]) |
(...skipping 10 matching lines...) Expand all Loading... |
34 url='ppapi_ppb_graphics2d.html', | 35 url='ppapi_ppb_graphics2d.html', |
35 files=[ ppapi_ppb_graphics2d_nexe, | 36 files=[ ppapi_ppb_graphics2d_nexe, |
36 env.File('ppapi_ppb_graphics2d.nmf'), | 37 env.File('ppapi_ppb_graphics2d.nmf'), |
37 env.File('ppapi_ppb_graphics2d.html')], | 38 env.File('ppapi_ppb_graphics2d.html')], |
38 args=['--enable_experimental_js']) | 39 args=['--enable_experimental_js']) |
39 | 40 |
40 env.AddNodeToTestSuite(node, | 41 env.AddNodeToTestSuite(node, |
41 ['chrome_browser_tests'], | 42 ['chrome_browser_tests'], |
42 'run_ppapi_ppb_graphics2d_browser_test', | 43 'run_ppapi_ppb_graphics2d_browser_test', |
43 is_broken=env.PPAPIBrowserTesterIsBroken()) | 44 is_broken=env.PPAPIBrowserTesterIsBroken()) |
OLD | NEW |