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

Unified Diff: ui/ozone/BUILD.gn

Issue 2423833002: Set ozone_platform_wayland to true for ozone/ChromeOS builds (Closed)
Patch Set: opt-out for wayland_unittests as per kylechar's advice. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/ozone/ozone.gni » ('j') | ui/ozone/ozone.gni » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/BUILD.gn
diff --git a/ui/ozone/BUILD.gn b/ui/ozone/BUILD.gn
index 70a0b92bf6c101d2d9fd13cbfa51c4cf65fa1192..a9eb3bad99f96302275f2b4a810f58e87089f1a3 100644
--- a/ui/ozone/BUILD.gn
+++ b/ui/ozone/BUILD.gn
@@ -10,6 +10,13 @@ assert(use_ozone)
visibility = [ ":*" ]
+declare_args() {
+ # TODO(tonikitoo): In order to effectively build the ozone/wayland backend by
+ # the chromeos/ozone/ buildbot, opt-out to run wayland unittests since they fail.
+ # https://bugs.chromium.org/p/chromium/issues/detail?id=657014
+ ozone_platform_wayland_unittests = false
+}
+
# The list of platforms that will be built.
ozone_platforms = []
@@ -43,7 +50,9 @@ if (ozone_platform_cast) {
if (ozone_platform_wayland) {
ozone_platforms += [ "wayland" ]
ozone_platform_deps += [ "platform/wayland" ]
- ozone_platform_test_deps += [ "platform/wayland:wayland_unittests" ]
+ if (ozone_platform_wayland_unittests) {
+ ozone_platform_test_deps += [ "platform/wayland:wayland_unittests" ]
+ }
}
if (ozone_platform_x11) {
« no previous file with comments | « no previous file | ui/ozone/ozone.gni » ('j') | ui/ozone/ozone.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698