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", |
29 "gl_bindings.h", | 30 "gl_bindings.h", |
30 "gl_bindings_autogen_gl.cc", | 31 "gl_bindings_autogen_gl.cc", |
31 "gl_bindings_autogen_gl.h", | 32 "gl_bindings_autogen_gl.h", |
32 "gl_bindings_autogen_osmesa.cc", | 33 "gl_bindings_autogen_osmesa.cc", |
33 "gl_bindings_autogen_osmesa.h", | 34 "gl_bindings_autogen_osmesa.h", |
34 "gl_bindings_skia_in_process.cc", | 35 "gl_bindings_skia_in_process.cc", |
35 "gl_bindings_skia_in_process.h", | 36 "gl_bindings_skia_in_process.h", |
36 "gl_context.cc", | 37 "gl_context.cc", |
37 "gl_context.h", | 38 "gl_context.h", |
38 "gl_context_android.cc", | 39 "gl_context_android.cc", |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 deps = [ | 277 deps = [ |
277 ":surface_jni_headers", | 278 ":surface_jni_headers", |
278 ] | 279 ] |
279 sources = [ | 280 sources = [ |
280 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 281 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
281 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 282 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
282 ] | 283 ] |
283 jni_package = "ui/gl" | 284 jni_package = "ui/gl" |
284 } | 285 } |
285 } | 286 } |
OLD | NEW |