void-packages/srcpkgs/electron10/files/patches/chromium-chromium_atk_optio...

16 lines
658 B
Diff
Raw Normal View History

--- a/build/config/ui.gni 2020-06-25 00:39:28.000000000 +0200
+++ - 2020-08-22 18:01:01.182749726 +0200
@@ -47,8 +47,10 @@
# Make sure glib is not used if building for ChromeOS/Chromecast
assert(!use_glib || (is_linux && !is_chromeos && !is_chromecast))
-# Whether to use atk, the Accessibility ToolKit library
-use_atk = is_desktop_linux && !is_chromecast && use_glib
+declare_args() {
+ # Whether to use atk, the Accessibility ToolKit library
+ use_atk = is_desktop_linux && !is_chromecast && use_glib
+}
# =============================================
# PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
# =============================================