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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 # that generate header files included by dependent targets. The header | 129 # that generate header files included by dependent targets. The header |
130 # files must be generated before the dependents are compiled. The usual | 130 # files must be generated before the dependents are compiled. The usual |
131 # semantics are to allow the two targets to build concurrently. | 131 # semantics are to allow the two targets to build concurrently. |
132 'hard_dependency': 1, | 132 'hard_dependency': 1, |
133 'actions': [ | 133 'actions': [ |
134 { | 134 { |
135 'action_name': 'generate_gl_bindings', | 135 'action_name': 'generate_gl_bindings', |
136 'variables': { | 136 'variables': { |
137 'generator_path': 'generate_bindings.py', | 137 'generator_path': 'generate_bindings.py', |
138 # Prefer khronos EGL/GLES headers by listing that path first. | 138 # Prefer khronos EGL/GLES headers by listing that path first. |
139 'header_paths': '../../third_party/khronos:../../third_party/mesa/sr
c/include', | 139 'header_paths': '../../third_party/khronos:../../third_party/mesa/sr
c/include:.:../../gpu', |
140 }, | 140 }, |
141 'inputs': [ | 141 'inputs': [ |
142 '<(generator_path)', | 142 '<(generator_path)', |
143 '<!@(python <(generator_path) --header-paths=<(header_paths) --input
s)', | 143 '<!@(python <(generator_path) --header-paths=<(header_paths) --input
s)', |
144 ], | 144 ], |
145 'outputs': [ | 145 'outputs': [ |
146 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', | 146 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', |
147 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', | 147 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', |
148 '<(gl_binding_output_dir)/gl_bindings_api_autogen_egl.h', | 148 '<(gl_binding_output_dir)/gl_bindings_api_autogen_egl.h', |
149 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', | 149 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 ], | 363 ], |
364 'variables': { | 364 'variables': { |
365 'jni_gen_package': 'ui/gl', | 365 'jni_gen_package': 'ui/gl', |
366 }, | 366 }, |
367 'includes': [ '../../build/jni_generator.gypi' ], | 367 'includes': [ '../../build/jni_generator.gypi' ], |
368 }, | 368 }, |
369 ], | 369 ], |
370 }], | 370 }], |
371 ], | 371 ], |
372 } | 372 } |
OLD | NEW |