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 c677cbe429
commit c728759132

View File

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