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

Side by Side Diff: ppapi/native_client/tests/ppapi_browser/ppb_graphics3d/nacl.scons

Issue 7778012: Landing chrome side of nacl change pre-dating ppapi switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 # 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 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' +
12 'ppb_graphics3d')
11 13
12 env.Append(CPPPATH=['$SOURCE_ROOT/ppapi/lib/gl/include']) 14 env.Append(CPPPATH=['$SOURCE_ROOT/ppapi/lib/gl/include'])
13 15
14 nexe = 'ppapi_ppb_graphics3d_${TARGET_FULLARCH}' 16 nexe = 'ppapi_ppb_graphics3d_${TARGET_FULLARCH}'
15 env.Alias('ppapi_ppb_graphics3d${PROGSUFFIX}', 17 env.Alias('ppapi_ppb_graphics3d${PROGSUFFIX}',
16 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) 18 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
17 19
18 ppapi_ppb_graphics3d_nexe = env.ComponentProgram( 20 ppapi_ppb_graphics3d_nexe = env.ComponentProgram(
19 nexe, 21 nexe,
20 [ 'ppapi_ppb_graphics3d.cc' ], 22 [ 'ppapi_ppb_graphics3d.cc' ],
21 EXTRA_LIBS=['${PPAPI_LIBS}', 23 EXTRA_LIBS=['${PPAPI_LIBS}',
22 'ppapi_gles2', 24 'ppapi_gles2',
23 'ppapi_test_lib', 25 'ppapi_test_lib',
24 'platform', # for CHECK 26 'platform', # for CHECK
25 'pthread', 27 'pthread',
26 'gio', 28 'gio',
27 ]) 29 ])
28 30
29 dest_copy = env.Publish(nexe, 'run', 31 dest_copy = env.Publish(nexe, 'run',
30 [ 'ppapi_ppb_graphics3d.html', 32 [ 'ppapi_ppb_graphics3d.html',
31 'ppapi_ppb_graphics3d.nmf',
32 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/' 33 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/'
33 'browserdata/nacltest.js') ]) 34 'browserdata/nacltest.js') ])
34 35
35 node = env.PPAPIBrowserTester('ppapi_ppb_graphics3d_browser_test.out', 36 node = env.PPAPIBrowserTester('ppapi_ppb_graphics3d_browser_test.out',
36 url='ppapi_ppb_graphics3d.html', 37 url='ppapi_ppb_graphics3d.html',
38 nmf='${TEST_DIR}/ppapi_ppb_graphics3d.nmf',
37 files=[ ppapi_ppb_graphics3d_nexe, 39 files=[ ppapi_ppb_graphics3d_nexe,
38 env.File('ppapi_ppb_graphics3d.nmf'),
39 env.File('ppapi_ppb_graphics3d.html')], 40 env.File('ppapi_ppb_graphics3d.html')],
40 browser_flags=['--enable-accelerated-plugins']) 41 browser_flags=['--enable-accelerated-plugins'])
41 42
42 env.AddNodeToTestSuite(node, 43 env.AddNodeToTestSuite(node,
43 ['chrome_browser_tests'], 44 ['chrome_browser_tests'],
44 'run_ppapi_ppb_graphics3d_browser_test', 45 'run_ppapi_ppb_graphics3d_browser_test',
45 is_broken=env.PPAPIBrowserTesterIsBroken() or 46 is_broken=env.PPAPIBrowserTesterIsBroken() or
46 env.PPAPIGraphics3DIsBroken()) 47 env.PPAPIGraphics3DIsBroken())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698