| 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
| 7 import("//build/config/linux/pkg_config.gni") | 7 import("//build/config/linux/pkg_config.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//ui/ozone/ozone.gni") | 9 import("//ui/ozone/ozone.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 } | 426 } |
| 427 | 427 |
| 428 # We can't run this test on real Chrome OS hardware for Ozone, so new target. | 428 # We can't run this test on real Chrome OS hardware for Ozone, so new target. |
| 429 group("gl_unittests_ozone") { | 429 group("gl_unittests_ozone") { |
| 430 testonly = true | 430 testonly = true |
| 431 data_deps = [ | 431 data_deps = [ |
| 432 ":gl_unittests", | 432 ":gl_unittests", |
| 433 ] | 433 ] |
| 434 } | 434 } |
| 435 | 435 |
| 436 # TODO(GYP_GONE): Delete this after we've converted everything to GN. | |
| 437 # The _run targets exist only for compatibility w/ GYP. | |
| 438 group("gl_unittests_ozone_run") { | |
| 439 testonly = true | |
| 440 deps = [ | |
| 441 ":gl_unittests_ozone", | |
| 442 ] | |
| 443 } | |
| 444 | |
| 445 if (is_android) { | 436 if (is_android) { |
| 446 generate_jar_jni("surface_jni_headers") { | 437 generate_jar_jni("surface_jni_headers") { |
| 447 jni_package = "ui/gl" | 438 jni_package = "ui/gl" |
| 448 classes = [ "android/view/Surface.class" ] | 439 classes = [ "android/view/Surface.class" ] |
| 449 } | 440 } |
| 450 | 441 |
| 451 generate_jni("gl_jni_headers") { | 442 generate_jni("gl_jni_headers") { |
| 452 sources = [ | 443 sources = [ |
| 453 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 444 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 454 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 445 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 455 ] | 446 ] |
| 456 public_deps = [ | 447 public_deps = [ |
| 457 ":surface_jni_headers", | 448 ":surface_jni_headers", |
| 458 ] | 449 ] |
| 459 jni_package = "ui/gl" | 450 jni_package = "ui/gl" |
| 460 } | 451 } |
| 461 } | 452 } |
| OLD | NEW |