Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Side by Side Diff: ui/gl/BUILD.gn

Issue 2640133002: Reland: Use xvfb with Ozone CrOS. (Closed)
Patch Set: Add target. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/mb/mb.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 "//ui/gfx", 404 "//ui/gfx",
405 "//ui/gfx/geometry", 405 "//ui/gfx/geometry",
406 "//ui/gl/init", 406 "//ui/gl/init",
407 ] 407 ]
408 408
409 data_deps = [ 409 data_deps = [
410 "//third_party/mesa:osmesa", 410 "//third_party/mesa:osmesa",
411 ] 411 ]
412 } 412 }
413 413
414 # Non-Ozone trybots end up trying to build this when building "all" and failing 414 # We can't run this test on real Chrome OS hardware for Ozone, so new target.
415 # when X11 isn't there. 415 group("gl_unittests_ozone") {
416 if (ozone_platform_x11) { 416 testonly = true
417 group("gl_unittests_ozonex") { 417 data_deps = [
418 testonly = true 418 ":gl_unittests",
419 data_deps = [ 419 ]
420 ":gl_unittests", 420 }
421 ]
422 }
423 421
424 # TODO(GYP_GONE): Delete this after we've converted everything to GN. 422 # TODO(GYP_GONE): Delete this after we've converted everything to GN.
425 # The _run targets exist only for compatibility w/ GYP. 423 # The _run targets exist only for compatibility w/ GYP.
426 group("gl_unittests_ozonex_run") { 424 group("gl_unittests_ozone_run") {
427 testonly = true 425 testonly = true
428 deps = [ 426 deps = [
429 ":gl_unittests_ozonex", 427 ":gl_unittests_ozone",
430 ] 428 ]
431 }
432 } 429 }
433 430
434 if (is_android) { 431 if (is_android) {
435 generate_jar_jni("surface_jni_headers") { 432 generate_jar_jni("surface_jni_headers") {
436 jni_package = "ui/gl" 433 jni_package = "ui/gl"
437 classes = [ "android/view/Surface.class" ] 434 classes = [ "android/view/Surface.class" ]
438 } 435 }
439 436
440 generate_jni("gl_jni_headers") { 437 generate_jni("gl_jni_headers") {
441 sources = [ 438 sources = [
442 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 439 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
443 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 440 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
444 ] 441 ]
445 public_deps = [ 442 public_deps = [
446 ":surface_jni_headers", 443 ":surface_jni_headers",
447 ] 444 ]
448 jni_package = "ui/gl" 445 jni_package = "ui/gl"
449 } 446 }
450 } 447 }
OLDNEW
« no previous file with comments | « tools/mb/mb.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698