diff --git a/services/device/public/interfaces/BUILD.gn b/services/device/public/interfaces/BUILD.gn
index 4904b9db9d9d..bc08e024c4fa 100644
--- a/services/device/public/interfaces/BUILD.gn
+++ b/services/device/public/interfaces/BUILD.gn
@@ -31,6 +31,9 @@ mojom("interfaces") {
public_deps = [
":constants",
]
+
+ overridden_deps_blink = [ "//services/network/public/interfaces:interfaces" ]
+ component_deps_blink = [ "//third_party/WebKit/Source/platform" ]
}
mojom("generic_sensor") {
diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn
index 4ed2ad45be4a..837a121f2ca9 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -223,6 +223,7 @@ jumbo_component("platform") {
visibility = [] # Allow re-assignment of list.
visibility = [
"//components/pdf/common:interfaces_blink",
+ "//services/device/public/interfaces:interfaces_blink",
"//third_party/WebKit/*",
"//url/mojo:url_mojom_origin_blink",
"//url/mojo:url_mojom_gurl_blink",