| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright 2012 The Native Client Authors. All rights reserved. | 2 # Copyright 2012 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', 'GL_GLEXT_PROTOTYPES']) |
| 11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/' + | 11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/' + |
| 12 'ppapi_gles_book/') | 12 'ppapi_gles_book/') |
| 13 | 13 |
| 14 # Underlay $SOURCE_ROOT/gpu in this directory. | 14 # Underlay $SOURCE_ROOT/gpu in this directory. |
| 15 Dir('.').addRepository(Dir('#/../gpu')) | 15 Dir('.').addRepository(Dir('#/../gpu')) |
| 16 | 16 |
| 17 # Underlay $SOURCE_ROOT/third_party/gles2_book in this directory. | 17 # Underlay $SOURCE_ROOT/third_party/gles2_book in this directory. |
| 18 Dir('.').addRepository(Dir('#/../third_party/gles2_book')) | 18 Dir('.').addRepository(Dir('#/../third_party/gles2_book')) |
| 19 | 19 |
| 20 # Don't warn on pointer signedness issues (third_party sources) | 20 # Don't warn on pointer signedness issues (third_party sources) |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 nmfs=['${TEST_DIR}/' + nmf_name], | 83 nmfs=['${TEST_DIR}/' + nmf_name], |
| 84 files=[nexe, | 84 files=[nexe, |
| 85 env.File('ppapi_gles_book.html')], | 85 env.File('ppapi_gles_book.html')], |
| 86 browser_flags=['--enable-accelerated-plugins']) | 86 browser_flags=['--enable-accelerated-plugins']) |
| 87 env.AddNodeToTestSuite( | 87 env.AddNodeToTestSuite( |
| 88 test, | 88 test, |
| 89 ['chrome_browser_tests'], | 89 ['chrome_browser_tests'], |
| 90 'run_ppapi_gles_book_' + demo + '_test', | 90 'run_ppapi_gles_book_' + demo + '_test', |
| 91 is_broken=env.PPAPIBrowserTesterIsBroken() or | 91 is_broken=env.PPAPIBrowserTesterIsBroken() or |
| 92 env.PPAPIGraphics3DIsBroken()) | 92 env.PPAPIGraphics3DIsBroken()) |
| OLD | NEW |