Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: ui/gl/gl.gyp

Issue 317813002: Don't assume output dir + "../.." == src/ in ui/gl/generate_bindings.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« ui/gl/generate_bindings.py ('K') | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« ui/gl/generate_bindings.py ('K') | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698