diff --git a/src/chrome/test/BUILD.gn b/src/chrome/test/BUILD.gn index 5b4eced0cb..0da7129cce 100644 --- a/src/chrome/test/BUILD.gn +++ b/src/chrome/test/BUILD.gn @@ -3852,7 +3852,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" ]