| 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/rules.gni") | 7 import("//build/config/android/rules.gni") |
| 8 } | 8 } |
| 9 | 9 |
| 10 gl_binding_output_dir = target_gen_dir | 10 gl_binding_output_dir = target_gen_dir |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 | 230 |
| 231 libs = [ "android" ] | 231 libs = [ "android" ] |
| 232 | 232 |
| 233 deps += [ | 233 deps += [ |
| 234 ":gl_jni_headers", | 234 ":gl_jni_headers", |
| 235 ] | 235 ] |
| 236 } | 236 } |
| 237 if (use_ozone) { | 237 if (use_ozone) { |
| 238 sources += [ | 238 sources += [ |
| 239 "gl_context_ozone.cc", | 239 "gl_context_ozone.cc", |
| 240 "gl_egl_api_implementation.cc", |
| 241 "gl_egl_api_implementation.h", |
| 240 "gl_implementation_ozone.cc", | 242 "gl_implementation_ozone.cc", |
| 241 "gl_surface_ozone.cc", | 243 "gl_surface_ozone.cc", |
| 242 ] | 244 ] |
| 243 deps += [ | 245 deps += [ |
| 244 #"//ui/gfx/ozone", | 246 #"//ui/gfx/ozone", |
| 245 "//ui/ozone", | 247 "//ui/ozone", |
| 246 ] | 248 ] |
| 247 } | 249 } |
| 248 | 250 |
| 249 # TODO(GYP) enable this dependency once its written. | 251 # TODO(GYP) enable this dependency once its written. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 generate_jni("gl_jni_headers") { | 339 generate_jni("gl_jni_headers") { |
| 338 deps = [ ":surface_jni_headers" ] | 340 deps = [ ":surface_jni_headers" ] |
| 339 forward_dependent_configs_from = [ ":surface_jni_headers" ] | 341 forward_dependent_configs_from = [ ":surface_jni_headers" ] |
| 340 sources = [ | 342 sources = [ |
| 341 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 343 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 342 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 344 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 343 ] | 345 ] |
| 344 jni_package = "ui/gl" | 346 jni_package = "ui/gl" |
| 345 } | 347 } |
| 346 } | 348 } |
| OLD | NEW |