Index: chrome/browser/ui/BUILD.gn |
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn |
index 712c5fbfaa8e0f4b3c0bca6c59789438711ede60..9972ec462dcfb1470dfd2ec0e191a8865723d3ba 100644 |
--- a/chrome/browser/ui/BUILD.gn |
+++ b/chrome/browser/ui/BUILD.gn |
@@ -347,10 +347,11 @@ split_static_library("ui") { |
deps -= [ "//chrome/browser/ui/views" ] |
} |
} |
+ if (use_gio) { |
+ deps += [ "//build/linux/libgio" ] |
+ } |
if (use_aura && !use_ozone && is_desktop_linux) { |
deps += [ |
- "//build/linux/libgio", |
- |
# gtk2 is the only component that can interact with gtk2 in our new |
# world. |
"//chrome/browser/ui/libgtk2ui", |