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 018e07db89
commit f01037b233

View File

@ -3909,7 +3909,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" ]