diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn index 5d47920256..3772edbbfb 100644 --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn @@ -3822,7 +3822,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" ]