d7b02e123a
* fix duplicate symbols in component build * fix: duplicate symbols for mojom interfaces in component build
22 lines
646 B
Text
22 lines
646 B
Text
import("//mojo/public/tools/bindings/mojom.gni")
|
|
import("../../../buildflags/buildflags.gni")
|
|
|
|
mojom("mojo") {
|
|
sources = [ "api.mojom" ]
|
|
|
|
public_deps = [
|
|
"//mojo/public/mojom/base",
|
|
"//third_party/blink/public/mojom:mojom_core",
|
|
"//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" ]
|
|
}
|
|
}
|