| 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 'conditions': [ | 136 'header_paths': '../../third_party/mesa/src/include:../../third_part
y/khronos', |
| 137 ['use_system_mesa==0', { | |
| 138 'header_paths': '../../third_party/mesa/src/include:../../third_
party/khronos', | |
| 139 }, { # use_system_mesa==1 | |
| 140 'header_paths': '/usr/include', | |
| 141 }], | |
| 142 ], | |
| 143 }, | 137 }, |
| 144 'inputs': [ | 138 'inputs': [ |
| 145 '<(generator_path)', | 139 '<(generator_path)', |
| 146 '<!@(python <(generator_path) --header-paths=<(header_paths) --input
s)', | 140 '<!@(python <(generator_path) --header-paths=<(header_paths) --input
s)', |
| 147 ], | 141 ], |
| 148 'outputs': [ | 142 'outputs': [ |
| 149 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', | 143 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', |
| 150 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', | 144 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', |
| 151 '<(gl_binding_output_dir)/gl_bindings_api_autogen_egl.h', | 145 '<(gl_binding_output_dir)/gl_bindings_api_autogen_egl.h', |
| 152 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', | 146 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 ], | 342 ], |
| 349 'variables': { | 343 'variables': { |
| 350 'jni_gen_package': 'ui/gl', | 344 'jni_gen_package': 'ui/gl', |
| 351 }, | 345 }, |
| 352 'includes': [ '../../build/jni_generator.gypi' ], | 346 'includes': [ '../../build/jni_generator.gypi' ], |
| 353 }, | 347 }, |
| 354 ], | 348 ], |
| 355 }], | 349 }], |
| 356 ], | 350 ], |
| 357 } | 351 } |
| OLD | NEW |