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) { |