| 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/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 use_egl = is_win || is_android || is_linux | 9 use_egl = is_win || is_android || is_linux |
| 10 use_glx = use_x11 | 10 use_glx = use_x11 |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 "gl_image_surface_texture.h", | 266 "gl_image_surface_texture.h", |
| 267 ] | 267 ] |
| 268 | 268 |
| 269 defines += [ | 269 defines += [ |
| 270 "GL_GLEXT_PROTOTYPES", | 270 "GL_GLEXT_PROTOTYPES", |
| 271 "EGL_EGLEXT_PROTOTYPES", | 271 "EGL_EGLEXT_PROTOTYPES", |
| 272 ] | 272 ] |
| 273 | 273 |
| 274 libs = [ "android" ] | 274 libs = [ "android" ] |
| 275 | 275 |
| 276 deps += [ | 276 deps += [ ":gl_jni_headers" ] |
| 277 ":gl_jni_headers", | |
| 278 "//ui/android:ui_java", | |
| 279 ] | |
| 280 } | 277 } |
| 281 } | 278 } |
| 282 | 279 |
| 283 static_library("gl_unittest_utils") { | 280 static_library("gl_unittest_utils") { |
| 284 testonly = true | 281 testonly = true |
| 285 sources = [ | 282 sources = [ |
| 286 "gl_bindings_autogen_mock.cc", | 283 "gl_bindings_autogen_mock.cc", |
| 287 "gl_bindings_autogen_mock.h", | 284 "gl_bindings_autogen_mock.h", |
| 288 "gl_mock.cc", | 285 "gl_mock.cc", |
| 289 "gl_mock.h", | 286 "gl_mock.h", |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 sources = [ | 401 sources = [ |
| 405 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 402 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 406 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 403 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 407 ] | 404 ] |
| 408 public_deps = [ | 405 public_deps = [ |
| 409 ":surface_jni_headers", | 406 ":surface_jni_headers", |
| 410 ] | 407 ] |
| 411 jni_package = "ui/gl" | 408 jni_package = "ui/gl" |
| 412 } | 409 } |
| 413 } | 410 } |
| OLD | NEW |