| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright 2011 The Native Client Authors. All rights reserved. | 2 # Copyright 2011 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can | 3 # Use of this source code is governed by a BSD-style license that can |
| 4 # be found in the LICENSE file. | 4 # be found in the LICENSE file. |
| 5 | 5 |
| 6 # OpenGL ES examples | 6 # OpenGL ES examples |
| 7 | 7 |
| 8 Import('env') | 8 Import('env') |
| 9 | 9 |
| 10 env.Prepend(CPPDEFINES=['XP_UNIX']) | 10 env.Prepend(CPPDEFINES=['XP_UNIX']) |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 ['demos/gles2_book/demo_' + demo + '.cc'] + sources, | 63 ['demos/gles2_book/demo_' + demo + '.cc'] + sources, |
| 64 EXTRA_LIBS=['${PPAPI_LIBS}', | 64 EXTRA_LIBS=['${PPAPI_LIBS}', |
| 65 'ppapi_cpp', | 65 'ppapi_cpp', |
| 66 'ppapi_gles_demo', | 66 'ppapi_gles_demo', |
| 67 'ppapi_cpp', | 67 'ppapi_cpp', |
| 68 'ppapi_gles2', | 68 'ppapi_gles2', |
| 69 'm']) | 69 'm']) |
| 70 env.Publish(nexe_name, 'run', | 70 env.Publish(nexe_name, 'run', |
| 71 ['ppapi_gles_book.html', | 71 ['ppapi_gles_book.html', |
| 72 nmf_name]) | 72 nmf_name]) |
| 73 test = env.PPAPIBrowserTester('ppapi_gles_book_' + demo + '.out', | 73 test = env.PPAPIBrowserTester( |
| 74 url='ppapi_gles_book.html?manifest=' | 74 'ppapi_gles_book_' + demo + '.out', |
| 75 + nmf_name, | 75 url='ppapi_gles_book.html?manifest=' + nmf_name, |
| 76 files=[nexe, | 76 files=[nexe, |
| 77 env.File(nmf_name), | 77 env.File(nmf_name), |
| 78 env.File('ppapi_gles_book.html')], | 78 env.File('ppapi_gles_book.html')], |
| 79 args=['--enable_experimental_js']) | 79 args=['--enable_experimental_js'], |
| 80 env.AddNodeToTestSuite(test, | 80 browser_flags=['--enable_accelerated_plugins']) |
| 81 ['chrome_browser_tests'], | 81 env.AddNodeToTestSuite( |
| 82 'run_ppapi_gles_book_' + demo + '_test', | 82 test, |
| 83 is_broken=env.PPAPIBrowserTesterIsBroken()) | 83 ['chrome_browser_tests'], |
| 84 'run_ppapi_gles_book_' + demo + '_test', |
| 85 is_broken=env.PPAPIBrowserTesterIsBroken() or |
| 86 env.PPAPIGraphics3DIsBroken()) |
| OLD | NEW |