2018-09-06 11:29:45 +02:00
|
|
|
diff --git chrome/test/BUILD.gn chrome/test/BUILD.gn
|
2020-03-04 01:29:39 +01:00
|
|
|
index 7d23fc08f7ea..24a41cf936da 100644
|
2018-09-06 11:29:45 +02:00
|
|
|
--- chrome/test/BUILD.gn
|
|
|
|
+++ chrome/test/BUILD.gn
|
2020-03-04 01:29:39 +01:00
|
|
|
@@ -4852,7 +4852,7 @@ test("unit_tests") {
|
2018-09-06 11:29:45 +02:00
|
|
|
if (use_gio) {
|
|
|
|
configs += [ "//build/linux:gio_config" ]
|
|
|
|
}
|
|
|
|
- if (!is_chromeos && !use_ozone && is_linux) {
|
|
|
|
+ if (!is_chromeos && !use_ozone && is_linux && use_gtk) {
|
2020-03-04 01:29:39 +01:00
|
|
|
deps += [ "//chrome/browser/ui/gtk" ]
|
2018-09-06 11:29:45 +02:00
|
|
|
}
|
|
|
|
|
2020-03-04 01:29:39 +01:00
|
|
|
@@ -5833,7 +5833,7 @@ if (!is_android) {
|
2018-09-06 11:29:45 +02:00
|
|
|
# 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) {
|
2020-03-04 01:29:39 +01:00
|
|
|
sources +=
|
|
|
|
[ "../browser/ui/gtk/select_file_dialog_interactive_uitest.cc" ]
|
|
|
|
deps += [ "//build/config/linux/gtk" ]
|