From 242802ab533342cbb1ede8364437d962132a22c6 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 22 Jun 2020 12:25:50 +0200 Subject: FIXUP: Make XScrnSaver optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Part of the implementation moved to a subdirectory. Change-Id: I98e477690f69489714ead1e01af28884e031449b Fixes: QTBUG-85120 Reviewed-by: Jüri Valdmann --- chromium/ui/base/idle/BUILD.gn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chromium/ui/base/idle/BUILD.gn b/chromium/ui/base/idle/BUILD.gn index e87d38c280f..db98f65e15e 100644 --- a/chromium/ui/base/idle/BUILD.gn +++ b/chromium/ui/base/idle/BUILD.gn @@ -62,11 +62,12 @@ component("idle") { sources += [ "idle_linux.cc" ] } - if (use_x11 && !is_chromeos) { + if (use_xscrnsaver) { configs += [ "//build/config/linux:x11", "//build/config/linux:xscrnsaver", ] + defines += [ "USE_XSCRNSAVER" ] deps += [ "//ui/gfx/x" ] sources += [ "idle_query_x11.cc", -- cgit v1.2.3