| 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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 ] | 345 ] |
| 346 } | 346 } |
| 347 | 347 |
| 348 if (is_android) { | 348 if (is_android) { |
| 349 generate_jar_jni("surface_jni_headers") { | 349 generate_jar_jni("surface_jni_headers") { |
| 350 jni_package = "ui/gl" | 350 jni_package = "ui/gl" |
| 351 classes = [ "android/view/Surface.class" ] | 351 classes = [ "android/view/Surface.class" ] |
| 352 } | 352 } |
| 353 | 353 |
| 354 generate_jni("gl_jni_headers") { | 354 generate_jni("gl_jni_headers") { |
| 355 deps = [ | |
| 356 ":surface_jni_headers", | |
| 357 ] | |
| 358 sources = [ | 355 sources = [ |
| 359 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 356 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 360 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 357 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 361 ] | 358 ] |
| 359 public_deps = [ |
| 360 ":surface_jni_headers", |
| 361 ] |
| 362 jni_package = "ui/gl" | 362 jni_package = "ui/gl" |
| 363 } | 363 } |
| 364 } | 364 } |
| OLD | NEW |