Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # -*- python -*- | |
| 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 | |
| 4 # found in the LICENSE file. | |
| 5 # | |
| 6 # This test uses ppapi_test_lib. | |
| 7 | |
| 8 Import('env') | |
| 9 | |
| 10 env.Prepend(CPPDEFINES=['XP_UNIX']) | |
| 11 | |
| 12 env.Append(CPPPATH=['$MAIN_DIR/src/third_party/ppapi/lib/gl/include']) | |
| 13 | |
| 14 nexe = 'ppapi_ppb_graphics3d_${TARGET_FULLARCH}' | |
| 15 env.Alias('ppapi_ppb_graphics3d${PROGSUFFIX}', | |
| 16 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) | |
| 17 | |
| 18 ppapi_ppb_graphics3d_nexe = env.ComponentProgram( | |
| 19 nexe, | |
| 20 [ 'ppapi_ppb_graphics3d.cc' ], | |
| 21 EXTRA_LIBS=['${PPAPI_LIBS}', | |
| 22 'ppapi_test_lib', | |
| 23 'platform', # for CHECK | |
| 24 'pthread', | |
| 25 'gio', | |
| 26 ]) | |
| 27 | |
| 28 dest_copy = env.Publish(nexe, 'run', | |
| 29 [ 'ppapi_ppb_graphics3d.html', | |
|
sehr (please use chromium)
2011/08/17 20:44:36
indent is goofy.
nfullagar
2011/08/18 00:23:57
Done.
| |
| 30 'ppapi_ppb_graphics3d.nmf', | |
| 31 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/' | |
| 32 'browserdata/nacltest.js') ] | |
| 33 ) | |
| 34 | |
| 35 node = env.PPAPIBrowserTester('ppapi_ppb_graphics3d_browser_test.out', | |
| 36 url='ppapi_ppb_graphics3d.html', | |
| 37 files=[ ppapi_ppb_graphics3d_nexe, | |
| 38 env.File('ppapi_ppb_graphics3d.nmf'), | |
| 39 env.File('ppapi_ppb_graphics3d.html')], | |
| 40 args=['--enable_experimental_js'], | |
| 41 browser_flags=['--enable-pepper-testing', | |
| 42 '--enable_accelerated_plugins']) | |
| 43 | |
| 44 env.AddNodeToTestSuite(node, | |
| 45 ['chrome_browser_tests'], | |
| 46 'run_ppapi_ppb_graphics3d_browser_test', | |
| 47 is_broken=env.PPAPIBrowserTesterIsBroken()) | |
| OLD | NEW |