OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 # This file was split off from ppapi.gyp to prevent PPAPI users from | 6 # This file was split off from ppapi.gyp to prevent PPAPI users from |
7 # needing to DEPS in ~10K files due to mesa. | 7 # needing to DEPS in ~10K files due to mesa. |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 '../third_party/mesa/mesa.gypi', | 10 '../third_party/mesa/mesa.gypi', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 ], | 55 ], |
56 'include_dirs': [ | 56 'include_dirs': [ |
57 'lib/gl/include', | 57 'lib/gl/include', |
58 ], | 58 ], |
59 'sources': [ | 59 'sources': [ |
60 'lib/gl/gles2/gl2ext_ppapi.c', | 60 'lib/gl/gles2/gl2ext_ppapi.c', |
61 'lib/gl/gles2/gl2ext_ppapi.h', | 61 'lib/gl/gles2/gl2ext_ppapi.h', |
62 'lib/gl/gles2/gles2.c', | 62 'lib/gl/gles2/gles2.c', |
63 ], | 63 ], |
64 }, | 64 }, |
| 65 { |
| 66 'target_name': 'ppapi_gles_bindings', |
| 67 'type': 'none', |
| 68 'suppress_wildcard': 1, |
| 69 'actions': [ |
| 70 { |
| 71 'action_name': 'generate_ppapi_gles_bindings', |
| 72 'variables': { |
| 73 'gles_script': '<(DEPTH)/gpu/command_buffer/build_gles2_cmd_buffer.py
', |
| 74 }, |
| 75 'inputs': [ |
| 76 '<(gles_script)', |
| 77 ], |
| 78 'outputs': [ |
| 79 'c/dev/ppb_opengles_dev.h', |
| 80 'lib/gl/gles2/gles2.c', |
| 81 ], |
| 82 'action': [ |
| 83 'python', |
| 84 '<(gles_script)', |
| 85 '--alternate-mode=ppapi' |
| 86 ], |
| 87 'message': 'Generating Pepper OpenGL ES bindings', |
| 88 }], |
| 89 }, |
65 ], | 90 ], |
66 } | 91 } |
OLD | NEW |