diff --git a/src/chrome/test/BUILD.gn b/src/chrome/test/BUILD.gn index 853e2dfc91..7410292654 100644 --- a/src/chrome/test/BUILD.gn +++ b/src/chrome/test/BUILD.gn @@ -3909,7 +3909,7 @@ test("unit_tests") { "../browser/ui/input_method/input_method_engine_unittest.cc", ] } - if (!is_chromeos && !is_chromecast && is_linux) { + if (!is_chromeos && !is_chromecast && !use_ozone && is_linux) { sources += [ "../browser/ui/libgtkui/select_file_dialog_impl_gtk_unittest.cc" ] deps += [ "//build/config/linux/gtk" ]