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

Side by Side Diff: ui/gl/BUILD.gn

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
« no previous file with comments | « no previous file | ui/gl/generate_bindings.py » ('j') | ui/gl/generate_bindings.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 } 8 }
9 9
10 gl_binding_output_dir = target_gen_dir 10 gl_binding_output_dir = target_gen_dir
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 "$gl_binding_output_dir/gl_bindings_api_autogen_osmesa.h", 285 "$gl_binding_output_dir/gl_bindings_api_autogen_osmesa.h",
286 "$gl_binding_output_dir/gl_bindings_autogen_wgl.cc", 286 "$gl_binding_output_dir/gl_bindings_autogen_wgl.cc",
287 "$gl_binding_output_dir/gl_bindings_autogen_wgl.h", 287 "$gl_binding_output_dir/gl_bindings_autogen_wgl.h",
288 "$gl_binding_output_dir/gl_bindings_api_autogen_wgl.h", 288 "$gl_binding_output_dir/gl_bindings_api_autogen_wgl.h",
289 "$gl_binding_output_dir/gl_mock_autogen_gl.h", 289 "$gl_binding_output_dir/gl_mock_autogen_gl.h",
290 ] 290 ]
291 291
292 args = [ 292 args = [
293 "--header-paths=" + 293 "--header-paths=" +
294 rebase_path("//third_party/khronos", root_build_dir) + ":" + 294 rebase_path("//third_party/khronos", root_build_dir) + ":" +
295 rebase_path("//third_party/mesa/src/include", root_build_dir), 295 rebase_path("//third_party/mesa/src/include", root_build_dir) + ":" +
296 rebase_path("//ui/gl", root_build_dir) + ":" +
297 rebase_path("//gpu", root_build_dir),
296 rebase_path(gl_binding_output_dir, root_build_dir), 298 rebase_path(gl_binding_output_dir, root_build_dir),
297 ] 299 ]
298 } 300 }
299 301
300 config("gl_unittest_utils_config") { 302 config("gl_unittest_utils_config") {
301 include_dirs = [ gl_binding_output_dir ] 303 include_dirs = [ gl_binding_output_dir ]
302 } 304 }
303 305
304 source_set("gl_unittest_utils") { 306 source_set("gl_unittest_utils") {
305 sources = [ 307 sources = [
(...skipping 15 matching lines...) Expand all
321 323
322 if (is_android) { 324 if (is_android) {
323 generate_jni("gl_jni_headers") { 325 generate_jni("gl_jni_headers") {
324 sources = [ 326 sources = [
325 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 327 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
326 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 328 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
327 ] 329 ]
328 jni_package = "ui/gl" 330 jni_package = "ui/gl"
329 } 331 }
330 } 332 }
OLDNEW
« no previous file with comments | « no previous file | ui/gl/generate_bindings.py » ('j') | ui/gl/generate_bindings.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698