2019-04-02 22:38:16 +00:00
|
|
|
import("//mojo/public/tools/bindings/mojom.gni")
|
|
|
|
|
|
|
|
mojom("mojo") {
|
2024-08-12 08:28:33 +00:00
|
|
|
sources = [ "api/api.mojom" ]
|
2019-04-02 22:38:16 +00:00
|
|
|
|
|
|
|
public_deps = [
|
|
|
|
"//mojo/public/mojom/base",
|
2019-10-09 17:59:08 +00:00
|
|
|
"//third_party/blink/public/mojom:mojom_core",
|
2019-08-02 23:56:46 +00:00
|
|
|
"//ui/gfx/geometry/mojom",
|
2019-04-02 22:38:16 +00:00
|
|
|
]
|
2019-10-09 17:59:08 +00:00
|
|
|
|
2021-01-19 02:31:44 +00:00
|
|
|
# Needed for component build or we'll get duplicate symbols for many mojom
|
2023-11-13 03:51:56 +00:00
|
|
|
# interfaces already included in blink_common.dll
|
2021-01-19 02:31:44 +00:00
|
|
|
overridden_deps = [ "//third_party/blink/public/mojom:mojom_core" ]
|
|
|
|
component_deps = [ "//third_party/blink/public/common" ]
|
2019-04-02 22:38:16 +00:00
|
|
|
}
|
2024-08-12 08:28:33 +00:00
|
|
|
|
|
|
|
mojom("plugin") {
|
|
|
|
# We don't want Blink variants of these bindings to be generated.
|
|
|
|
disable_variants = true
|
|
|
|
|
|
|
|
sources = [ "plugin.mojom" ]
|
|
|
|
|
|
|
|
public_deps = [
|
|
|
|
"//content/public/common:interfaces",
|
|
|
|
"//mojo/public/mojom/base",
|
|
|
|
]
|
|
|
|
}
|