Chromium Code Reviews| 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. | |
|
sadrul
2016/11/14 21:19:35
GYP_IS_ALREADY_GONE I hope?
kylechar
2016/11/14 21:49:00
Yes, GYP is gone but GN still needs the extra targ
| |
| 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 | |
| 407 if (is_android) { | 423 if (is_android) { |
| 408 generate_jar_jni("surface_jni_headers") { | 424 generate_jar_jni("surface_jni_headers") { |
| 409 jni_package = "ui/gl" | 425 jni_package = "ui/gl" |
| 410 classes = [ "android/view/Surface.class" ] | 426 classes = [ "android/view/Surface.class" ] |
| 411 } | 427 } |
| 412 | 428 |
| 413 generate_jni("gl_jni_headers") { | 429 generate_jni("gl_jni_headers") { |
| 414 sources = [ | 430 sources = [ |
| 415 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 431 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 416 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", | 432 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", |
| 417 ] | 433 ] |
| 418 public_deps = [ | 434 public_deps = [ |
| 419 ":surface_jni_headers", | 435 ":surface_jni_headers", |
| 420 ] | 436 ] |
| 421 jni_package = "ui/gl" | 437 jni_package = "ui/gl" |
| 422 } | 438 } |
| 423 } | 439 } |
| OLD | NEW |