Index: ui/display/BUILD.gn |
diff --git a/ui/display/BUILD.gn b/ui/display/BUILD.gn |
index c825e9054c4708907a5b1e6258c59e2d58610a5c..998be45a073ae7bcd1c17b2649bb5bf0c5512f1c 100644 |
--- a/ui/display/BUILD.gn |
+++ b/ui/display/BUILD.gn |
@@ -55,6 +55,9 @@ component("display") { |
if (is_chromeos) { |
deps += [ "//ui/display/types" ] |
+ if (use_x11) { |
+ deps += [ "//ui/gfx/x" ] |
+ } |
} |
if (use_ozone) { |