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 |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 | 213 |
214 libs = [ | 214 libs = [ |
215 "IOSurface.framework", | 215 "IOSurface.framework", |
216 "OpenGL.framework", | 216 "OpenGL.framework", |
217 ] | 217 ] |
218 } | 218 } |
219 if (is_android) { | 219 if (is_android) { |
220 sources += [ | 220 sources += [ |
221 "gl_egl_api_implementation.cc", | 221 "gl_egl_api_implementation.cc", |
222 "gl_egl_api_implementation.h", | 222 "gl_egl_api_implementation.h", |
223 "gl_image_android_native_buffer.cc", | |
224 "gl_image_android_native_buffer.h", | |
225 "gl_image_surface_texture.cc", | 223 "gl_image_surface_texture.cc", |
226 "gl_image_surface_texture.h", | 224 "gl_image_surface_texture.h", |
227 ] | 225 ] |
228 | 226 |
229 defines += [ | 227 defines += [ |
230 "GL_GLEXT_PROTOTYPES", | 228 "GL_GLEXT_PROTOTYPES", |
231 "EGL_EGLEXT_PROTOTYPES", | 229 "EGL_EGLEXT_PROTOTYPES", |
232 ] | 230 ] |
233 | 231 |
234 libs = [ "android" ] | 232 libs = [ "android" ] |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 | 339 |
342 generate_jni("gl_jni_headers") { | 340 generate_jni("gl_jni_headers") { |
343 deps = [ ":surface_jni_headers" ] | 341 deps = [ ":surface_jni_headers" ] |
344 sources = [ | 342 sources = [ |
345 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 343 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
346 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 344 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
347 ] | 345 ] |
348 jni_package = "ui/gl" | 346 jni_package = "ui/gl" |
349 } | 347 } |
350 } | 348 } |
OLD | NEW |