build: Don't include gtk on ozone in //chrome/test

This commit is contained in:
klzgrad 2018-08-11 03:09:35 +00:00
parent f0ef48ac63
commit 666649b54e

View File

@ -3852,7 +3852,7 @@ test("unit_tests") {
"../browser/ui/input_method/input_method_engine_unittest.cc", "../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 += sources +=
[ "../browser/ui/libgtkui/select_file_dialog_impl_gtk_unittest.cc" ] [ "../browser/ui/libgtkui/select_file_dialog_impl_gtk_unittest.cc" ]
deps += [ "//build/config/linux/gtk" ] deps += [ "//build/config/linux/gtk" ]