Index: ui/views/BUILD.gn |
diff --git a/ui/views/BUILD.gn b/ui/views/BUILD.gn |
index 7736710d758c3f1b06364a211963006fb621a97c..2c37655be11cb792977ee6c886af17afb44e2862 100644 |
--- a/ui/views/BUILD.gn |
+++ b/ui/views/BUILD.gn |
@@ -5,6 +5,7 @@ |
import("//build/config/features.gni") |
import("//build/config/ui.gni") |
import("//testing/test.gni") |
+import("//ui/ozone/ozone.gni") |
config("flags") { |
defines = [ "TOOLKIT_VIEWS=1" ] |
@@ -766,6 +767,9 @@ static_library("test_support_internal") { |
if (use_x11) { |
deps += [ "//ui/gfx/x" ] |
} |
+ if (ozone_platform_x11) { |
+ deps += [ "//ui/base/x" ] |
+ } |
if (use_ozone || !use_x11) { |
sources -= [ |
"test/x11_property_change_waiter.cc", |