| 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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 "//ui/gfx", | 397 "//ui/gfx", |
| 398 "//ui/gfx/geometry", | 398 "//ui/gfx/geometry", |
| 399 "//ui/gl/init", | 399 "//ui/gl/init", |
| 400 ] | 400 ] |
| 401 | 401 |
| 402 data_deps = [ | 402 data_deps = [ |
| 403 "//third_party/mesa:osmesa", | 403 "//third_party/mesa:osmesa", |
| 404 ] | 404 ] |
| 405 } | 405 } |
| 406 | 406 |
| 407 group("gl_unittests_ozonex") { | |
| 408 testonly = true | |
| 409 data_deps = [ | |
| 410 ":gl_unittests", | |
| 411 ] | |
| 412 } | |
| 413 | |
| 414 # TODO(GYP_GONE): Delete this after we've converted everything to GN. | |
| 415 # The _run targets exist only for compatibility w/ GYP. | |
| 416 group("gl_unittests_ozonex_run") { | |
| 417 testonly = true | |
| 418 deps = [ | |
| 419 ":gl_unittests_ozonex", | |
| 420 ] | |
| 421 } | |
| 422 | |
| 423 if (is_android) { | 407 if (is_android) { |
| 424 generate_jar_jni("surface_jni_headers") { | 408 generate_jar_jni("surface_jni_headers") { |
| 425 jni_package = "ui/gl" | 409 jni_package = "ui/gl" |
| 426 classes = [ "android/view/Surface.class" ] | 410 classes = [ "android/view/Surface.class" ] |
| 427 } | 411 } |
| 428 | 412 |
| 429 generate_jni("gl_jni_headers") { | 413 generate_jni("gl_jni_headers") { |
| 430 sources = [ | 414 sources = [ |
| 431 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 415 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 432 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 416 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 433 ] | 417 ] |
| 434 public_deps = [ | 418 public_deps = [ |
| 435 ":surface_jni_headers", | 419 ":surface_jni_headers", |
| 436 ] | 420 ] |
| 437 jni_package = "ui/gl" | 421 jni_package = "ui/gl" |
| 438 } | 422 } |
| 439 } | 423 } |
| OLD | NEW |