Index: build/config/ui.gni |
diff --git a/build/config/ui.gni b/build/config/ui.gni |
index 279d63bed6cc8004009fe6476a3ab38a404d94a1..77d98df4fb65f5a930f1aba291e82c800847cef8 100644 |
--- a/build/config/ui.gni |
+++ b/build/config/ui.gni |
@@ -15,6 +15,7 @@ |
# to set up feature flags. |
import("//build/config/chromecast_build.gni") |
+import("//build/config/features.gni") |
declare_args() { |
# Indicates if Ash is enabled. Ash is the Aura Shell which provides a |
@@ -83,7 +84,7 @@ if (is_linux && !use_ozone) { |
} |
# Whether to use atk, the Accessibility ToolKit library |
-use_atk = is_desktop_linux && use_x11 |
+use_atk = is_desktop_linux && use_x11 && use_gconf |
use_clipboard_aurax11 = |
(is_desktop_linux && use_aura && use_x11) || enable_clipboard_aurax11 |