Index: components/bookmarks/browser/BUILD.gn |
diff --git a/components/bookmarks/browser/BUILD.gn b/components/bookmarks/browser/BUILD.gn |
index 39d3cdbb556fbb59361a6a5989399f0c7f5af8cf..9e8f0f78697db40e4614b1f2abefc92c1398ede5 100644 |
--- a/components/bookmarks/browser/BUILD.gn |
+++ b/components/bookmarks/browser/BUILD.gn |
@@ -110,4 +110,11 @@ source_set("unit_tests") { |
"//ui/base", |
"//url", |
] |
+ |
+ if (use_x11) { |
+ deps += [ |
+ "//ui/events/platform/x11", |
+ "//ui/gfx/x", |
+ ] |
+ } |
} |