diff --git a/src/chrome/test/BUILD.gn b/src/chrome/test/BUILD.gn index fd7f3e60a5..65dd1c34de 100644 --- a/src/chrome/test/BUILD.gn +++ b/src/chrome/test/BUILD.gn @@ -4115,7 +4115,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" ]