diff --git a/shell/common/api/BUILD.gn b/shell/common/api/BUILD.gn index 264050c4f01d..a9faed10a3fc 100644 --- a/shell/common/api/BUILD.gn +++ b/shell/common/api/BUILD.gn @@ -10,6 +10,11 @@ mojom("mojo") { "//ui/gfx/geometry/mojom", ] + # Needed for component build or we'll get duplicate symbols for many mojom + # interfaces aready included in blink_common.dll + overridden_deps = [ "//third_party/blink/public/mojom:mojom_core" ] + component_deps = [ "//third_party/blink/public/common" ] + enabled_features = [] if (enable_remote_module) { enabled_features += [ "enable_remote_module" ]