| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 227 |
| 228 defines += [ | 228 defines += [ |
| 229 "GL_GLEXT_PROTOTYPES", | 229 "GL_GLEXT_PROTOTYPES", |
| 230 "EGL_EGLEXT_PROTOTYPES", | 230 "EGL_EGLEXT_PROTOTYPES", |
| 231 ] | 231 ] |
| 232 | 232 |
| 233 libs = [ "android" ] | 233 libs = [ "android" ] |
| 234 | 234 |
| 235 deps += [ ":gl_jni_headers" ] | 235 deps += [ ":gl_jni_headers" ] |
| 236 } | 236 } |
| 237 if (use_ozone) { | |
| 238 sources += [ | |
| 239 "gl_context_ozone.cc", | |
| 240 "gl_egl_api_implementation.cc", | |
| 241 "gl_egl_api_implementation.h", | |
| 242 "gl_implementation_ozone.cc", | |
| 243 "gl_surface_ozone.cc", | |
| 244 ] | |
| 245 deps += [ | |
| 246 "//ui/ozone", | |
| 247 "//ui/ozone:ozone_base", | |
| 248 ] | |
| 249 } | |
| 250 | 237 |
| 251 if (is_android && !is_android_webview_build) { | 238 if (is_android && !is_android_webview_build) { |
| 252 deps += [ "//ui/android:ui_java" ] | 239 deps += [ "//ui/android:ui_java" ] |
| 253 } | 240 } |
| 254 } | 241 } |
| 255 | 242 |
| 256 action("generate_gl_bindings") { | 243 action("generate_gl_bindings") { |
| 257 visibility = [ ":*" ] # Only targets in this file can see this. | 244 visibility = [ ":*" ] # Only targets in this file can see this. |
| 258 | 245 |
| 259 script = "generate_bindings.py" | 246 script = "generate_bindings.py" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 deps = [ | 326 deps = [ |
| 340 ":surface_jni_headers", | 327 ":surface_jni_headers", |
| 341 ] | 328 ] |
| 342 sources = [ | 329 sources = [ |
| 343 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 330 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 344 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 331 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 345 ] | 332 ] |
| 346 jni_package = "ui/gl" | 333 jni_package = "ui/gl" |
| 347 } | 334 } |
| 348 } | 335 } |
| OLD | NEW |