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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 "EGL_EGLEXT_PROTOTYPES", | 230 "EGL_EGLEXT_PROTOTYPES", |
231 ] | 231 ] |
232 | 232 |
233 libs = [ "android" ] | 233 libs = [ "android" ] |
234 | 234 |
235 deps += [ | 235 deps += [ |
236 ":gl_jni_headers", | 236 ":gl_jni_headers", |
237 ] | 237 ] |
238 } | 238 } |
239 if (use_ozone) { | 239 if (use_ozone) { |
| 240 if (use_x11_backend) { |
| 241 defines += [ |
| 242 "OZONE_X11" |
| 243 ] |
| 244 } |
240 sources += [ | 245 sources += [ |
241 "gl_context_ozone.cc", | 246 "gl_context_ozone.cc", |
242 "gl_egl_api_implementation.cc", | 247 "gl_egl_api_implementation.cc", |
243 "gl_egl_api_implementation.h", | 248 "gl_egl_api_implementation.h", |
244 "gl_implementation_ozone.cc", | 249 "gl_implementation_ozone.cc", |
245 "gl_surface_ozone.cc", | 250 "gl_surface_ozone.cc", |
246 ] | 251 ] |
247 deps += [ | 252 deps += [ |
248 "//ui/ozone", | 253 "//ui/ozone", |
249 "//ui/ozone:ozone_base", | 254 "//ui/ozone:ozone_base", |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 | 345 |
341 generate_jni("gl_jni_headers") { | 346 generate_jni("gl_jni_headers") { |
342 deps = [ ":surface_jni_headers" ] | 347 deps = [ ":surface_jni_headers" ] |
343 sources = [ | 348 sources = [ |
344 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 349 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
345 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 350 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
346 ] | 351 ] |
347 jni_package = "ui/gl" | 352 jni_package = "ui/gl" |
348 } | 353 } |
349 } | 354 } |
OLD | NEW |