| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 | 9 |
| 10 'targets': [ | 10 'targets': [ |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 # hard_dependency is necessary for this target because it has actions | 126 # hard_dependency is necessary for this target because it has actions |
| 127 # that generate header files included by dependent targets. The header | 127 # that generate header files included by dependent targets. The header |
| 128 # files must be generated before the dependents are compiled. The usual | 128 # files must be generated before the dependents are compiled. The usual |
| 129 # semantics are to allow the two targets to build concurrently. | 129 # semantics are to allow the two targets to build concurrently. |
| 130 'hard_dependency': 1, | 130 'hard_dependency': 1, |
| 131 'actions': [ | 131 'actions': [ |
| 132 { | 132 { |
| 133 'action_name': 'generate_gl_bindings', | 133 'action_name': 'generate_gl_bindings', |
| 134 'variables': { | 134 'variables': { |
| 135 'generator_path': 'generate_bindings.py', | 135 'generator_path': 'generate_bindings.py', |
| 136 'header_paths': '../../third_party/mesa/src/include:../../third_part
y/khronos', | 136 # Prefer khronos EGL/GLES headers by listing that path first. |
| 137 'header_paths': '../../third_party/khronos:../../third_party/mesa/sr
c/include', |
| 137 }, | 138 }, |
| 138 'inputs': [ | 139 'inputs': [ |
| 139 '<(generator_path)', | 140 '<(generator_path)', |
| 140 '<!@(python <(generator_path) --header-paths=<(header_paths) --input
s)', | 141 '<!@(python <(generator_path) --header-paths=<(header_paths) --input
s)', |
| 141 ], | 142 ], |
| 142 'outputs': [ | 143 'outputs': [ |
| 143 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', | 144 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', |
| 144 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', | 145 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', |
| 145 '<(gl_binding_output_dir)/gl_bindings_api_autogen_egl.h', | 146 '<(gl_binding_output_dir)/gl_bindings_api_autogen_egl.h', |
| 146 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', | 147 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 ], | 334 ], |
| 334 'variables': { | 335 'variables': { |
| 335 'jni_gen_package': 'ui/gl', | 336 'jni_gen_package': 'ui/gl', |
| 336 }, | 337 }, |
| 337 'includes': [ '../../build/jni_generator.gypi' ], | 338 'includes': [ '../../build/jni_generator.gypi' ], |
| 338 }, | 339 }, |
| 339 ], | 340 ], |
| 340 }], | 341 }], |
| 341 ], | 342 ], |
| 342 } | 343 } |
| OLD | NEW |