diff --git a/chrome/browser/ui/toolbar/pinned_toolbar/BUILD.gn b/chrome/browser/ui/toolbar/pinned_toolbar/BUILD.gn
index 8ef5dfadf3901..76f047ed6aa99 100644
--- a/chrome/browser/ui/toolbar/pinned_toolbar/BUILD.gn
+++ b/chrome/browser/ui/toolbar/pinned_toolbar/BUILD.gn
@@ -39,6 +39,8 @@ source_set("impl") {
     ]
     deps = [
       "//chrome/browser:primitives",
+      "//chrome/browser/browseros/core:action_utils",
+      "//chrome/browser/browseros/core:prefs",
       "//chrome/browser/translate",
       "//chrome/browser/ui:ui_features",
       "//chrome/browser/ui/actions:actions_headers",
