cef/patch/patches/linux_gtk_2014.patch
2020-03-04 19:31:54 -05:00

23 lines
822 B
Diff

diff --git chrome/test/BUILD.gn chrome/test/BUILD.gn
index 7d23fc08f7ea..24a41cf936da 100644
--- chrome/test/BUILD.gn
+++ chrome/test/BUILD.gn
@@ -4852,7 +4852,7 @@ test("unit_tests") {
if (use_gio) {
configs += [ "//build/linux:gio_config" ]
}
- if (!is_chromeos && !use_ozone && is_linux) {
+ if (!is_chromeos && !use_ozone && is_linux && use_gtk) {
deps += [ "//chrome/browser/ui/gtk" ]
}
@@ -5833,7 +5833,7 @@ if (!is_android) {
# suites, it seems like one or another starts timing out too.
"../browser/ui/views/keyboard_access_browsertest.cc",
]
- if (!use_ozone) {
+ if (!use_ozone && use_gtk) {
sources +=
[ "../browser/ui/gtk/select_file_dialog_interactive_uitest.cc" ]
deps += [ "//build/config/linux/gtk" ]