| OLD | NEW |
| 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/config.gni") | 7 import("//build/config/android/config.gni") |
| 8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
| 9 } | 9 } |
| 10 | 10 |
| 11 config("gl_config") { | 11 config("gl_config") { |
| 12 if (use_x11) { | 12 if (use_x11) { |
| 13 defines = [ "GL_GLEXT_PROTOTYPES" ] | 13 defines = [ "GL_GLEXT_PROTOTYPES" ] |
| 14 } | 14 } |
| 15 } | 15 } |
| 16 | 16 |
| 17 component("gl") { | 17 component("gl") { |
| 18 output_name = "gl_wrapper" # Avoid colliding with OS X"s libGL.dylib. | 18 output_name = "gl_wrapper" # Avoid colliding with OS X"s libGL.dylib. |
| 19 | 19 |
| 20 sources = [ | 20 sources = [ |
| 21 "android/gl_jni_registrar.cc", | 21 "android/gl_jni_registrar.cc", |
| 22 "android/gl_jni_registrar.h", | 22 "android/gl_jni_registrar.h", |
| 23 "android/scoped_java_surface.cc", | 23 "android/scoped_java_surface.cc", |
| 24 "android/scoped_java_surface.h", | 24 "android/scoped_java_surface.h", |
| 25 "android/surface_texture.cc", | 25 "android/surface_texture.cc", |
| 26 "android/surface_texture.h", | 26 "android/surface_texture.h", |
| 27 "android/surface_texture_listener.cc", | 27 "android/surface_texture_listener.cc", |
| 28 "android/surface_texture_listener.h", | 28 "android/surface_texture_listener.h", |
| 29 "gl_bindings.cc", | |
| 30 "gl_bindings.h", | 29 "gl_bindings.h", |
| 31 "gl_bindings_autogen_gl.cc", | 30 "gl_bindings_autogen_gl.cc", |
| 32 "gl_bindings_autogen_gl.h", | 31 "gl_bindings_autogen_gl.h", |
| 33 "gl_bindings_autogen_osmesa.cc", | 32 "gl_bindings_autogen_osmesa.cc", |
| 34 "gl_bindings_autogen_osmesa.h", | 33 "gl_bindings_autogen_osmesa.h", |
| 35 "gl_bindings_skia_in_process.cc", | 34 "gl_bindings_skia_in_process.cc", |
| 36 "gl_bindings_skia_in_process.h", | 35 "gl_bindings_skia_in_process.h", |
| 37 "gl_context.cc", | 36 "gl_context.cc", |
| 38 "gl_context.h", | 37 "gl_context.h", |
| 39 "gl_context_android.cc", | 38 "gl_context_android.cc", |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 deps = [ | 276 deps = [ |
| 278 ":surface_jni_headers", | 277 ":surface_jni_headers", |
| 279 ] | 278 ] |
| 280 sources = [ | 279 sources = [ |
| 281 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 280 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 282 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 281 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 283 ] | 282 ] |
| 284 jni_package = "ui/gl" | 283 jni_package = "ui/gl" |
| 285 } | 284 } |
| 286 } | 285 } |
| OLD | NEW |