| 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 |
| 436 if (is_android) { | 445 if (is_android) { |
| 437 generate_jar_jni("surface_jni_headers") { | 446 generate_jar_jni("surface_jni_headers") { |
| 438 jni_package = "ui/gl" | 447 jni_package = "ui/gl" |
| 439 classes = [ "android/view/Surface.class" ] | 448 classes = [ "android/view/Surface.class" ] |
| 440 } | 449 } |
| 441 | 450 |
| 442 generate_jni("gl_jni_headers") { | 451 generate_jni("gl_jni_headers") { |
| 443 sources = [ | 452 sources = [ |
| 444 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 453 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 445 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 454 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 446 ] | 455 ] |
| 447 public_deps = [ | 456 public_deps = [ |
| 448 ":surface_jni_headers", | 457 ":surface_jni_headers", |
| 449 ] | 458 ] |
| 450 jni_package = "ui/gl" | 459 jni_package = "ui/gl" |
| 451 } | 460 } |
| 452 } | 461 } |
| OLD | NEW |