| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 "//build/config/linux:xcomposite", | 174 "//build/config/linux:xcomposite", |
| 175 "//build/config/linux:xext", | 175 "//build/config/linux:xext", |
| 176 ] | 176 ] |
| 177 | 177 |
| 178 deps += [ "//ui/gfx/x" ] | 178 deps += [ "//ui/gfx/x" ] |
| 179 } | 179 } |
| 180 if (is_android) { | 180 if (is_android) { |
| 181 sources += [ | 181 sources += [ |
| 182 "gl_egl_api_implementation.cc", | 182 "gl_egl_api_implementation.cc", |
| 183 "gl_egl_api_implementation.h", | 183 "gl_egl_api_implementation.h", |
| 184 "gl_image_surface_texture.cc", | 184 "gl_image_linux_dma_buffer.cc", |
| 185 "gl_image_surface_texture.h", | 185 "gl_image_linux_dma_buffer.h", |
| 186 ] | 186 ] |
| 187 | 187 |
| 188 defines += [ | 188 defines += [ |
| 189 "GL_GLEXT_PROTOTYPES", | 189 "GL_GLEXT_PROTOTYPES", |
| 190 "EGL_EGLEXT_PROTOTYPES", | 190 "EGL_EGLEXT_PROTOTYPES", |
| 191 ] | 191 ] |
| 192 | 192 |
| 193 libs = [ "android" ] | 193 libs = [ "android" ] |
| 194 | 194 |
| 195 deps += [ ":gl_jni_headers" ] | 195 deps += [ ":gl_jni_headers" ] |
| 196 } | 196 } |
| 197 if (use_ozone) { | 197 if (use_ozone) { |
| 198 if (is_android) { |
| 199 sources -= [ |
| 200 "gl_implementation_android.cc", |
| 201 "gl_surface_android.cc", |
| 202 ] |
| 203 } |
| 198 sources += [ | 204 sources += [ |
| 199 "gl_context_ozone.cc", | 205 "gl_context_ozone.cc", |
| 200 "gl_egl_api_implementation.cc", | 206 "gl_egl_api_implementation.cc", |
| 201 "gl_egl_api_implementation.h", | 207 "gl_egl_api_implementation.h", |
| 202 "gl_implementation_ozone.cc", | 208 "gl_implementation_ozone.cc", |
| 203 "gl_surface_ozone.cc", | 209 "gl_surface_ozone.cc", |
| 204 ] | 210 ] |
| 205 deps += [ | 211 deps += [ |
| 206 "//ui/ozone", | 212 "//ui/ozone", |
| 207 "//ui/ozone:ozone_base", | 213 "//ui/ozone:ozone_base", |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 deps = [ | 294 deps = [ |
| 289 ":surface_jni_headers", | 295 ":surface_jni_headers", |
| 290 ] | 296 ] |
| 291 sources = [ | 297 sources = [ |
| 292 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 298 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 293 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 299 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 294 ] | 300 ] |
| 295 jni_package = "ui/gl" | 301 jni_package = "ui/gl" |
| 296 } | 302 } |
| 297 } | 303 } |
| OLD | NEW |