| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 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', 'GL_GLEXT_PROTOTYPES']) |
| 11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' + | 11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' + |
| 12 'ppb_graphics3d') | 12 'ppb_graphics3d') |
| 13 | 13 |
| 14 env.Append(CPPPATH=['$SOURCE_ROOT/ppapi/lib/gl/include']) | 14 env.Append(CPPPATH=['$SOURCE_ROOT/ppapi/lib/gl/include']) |
| 15 | 15 |
| 16 nexe = env.ProgramNameForNmf('ppapi_ppb_graphics3d') | 16 nexe = env.ProgramNameForNmf('ppapi_ppb_graphics3d') |
| 17 env.Alias('ppapi_ppb_graphics3d${PROGSUFFIX}', | 17 env.Alias('ppapi_ppb_graphics3d${PROGSUFFIX}', |
| 18 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) | 18 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) |
| 19 | 19 |
| 20 ppapi_ppb_graphics3d_nexe = env.ComponentProgram( | 20 ppapi_ppb_graphics3d_nexe = env.ComponentProgram( |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 nmf_names=['ppapi_ppb_graphics3d'], | 38 nmf_names=['ppapi_ppb_graphics3d'], |
| 39 files=[ ppapi_ppb_graphics3d_nexe, | 39 files=[ ppapi_ppb_graphics3d_nexe, |
| 40 env.File('ppapi_ppb_graphics3d.html')], | 40 env.File('ppapi_ppb_graphics3d.html')], |
| 41 browser_flags=['--enable-accelerated-plugins']) | 41 browser_flags=['--enable-accelerated-plugins']) |
| 42 | 42 |
| 43 env.AddNodeToTestSuite(node, | 43 env.AddNodeToTestSuite(node, |
| 44 ['chrome_browser_tests'], | 44 ['chrome_browser_tests'], |
| 45 'run_ppapi_ppb_graphics3d_browser_test', | 45 'run_ppapi_ppb_graphics3d_browser_test', |
| 46 is_broken=env.PPAPIBrowserTesterIsBroken() or | 46 is_broken=env.PPAPIBrowserTesterIsBroken() or |
| 47 env.PPAPIGraphics3DIsBroken()) | 47 env.PPAPIGraphics3DIsBroken()) |
| OLD | NEW |