Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index 9313458c9a76cc95b0c0f8a6146cd8b72beab0d0..3eefd311774eee0b974d702281ba40d4e2329da2 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -1999,11 +1999,11 @@ test("unit_tests") { |
"//chrome/browser/ui/startup/default_browser_infobar_delegate_unittest.cc", |
] |
} |
+ if (use_gio) { |
+ deps += [ "//build/linux/libgio" ] |
+ } |
if (!is_chromeos && !use_ozone && is_linux) { |
- deps += [ |
- "//build/linux/libgio", |
- "//chrome/browser/ui/libgtk2ui", |
- ] |
+ deps += [ "//chrome/browser/ui/libgtk2ui" ] |
} |
if (enable_task_manager) { |