electron/shell/common/BUILD.gn
trop[bot] 46c9ed61da
feat: route deprecated sync clipboard read through permission checks (#45471)
* feat: route deprecated clipboard commands through permission checks

Co-authored-by: deepak1556 <hop2deep@gmail.com>

* docs: address review feedback

Co-authored-by: deepak1556 <hop2deep@gmail.com>

* fix: enable checks for child windows

Co-authored-by: deepak1556 <hop2deep@gmail.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2025-02-05 14:10:43 -05:00

41 lines
1 KiB
Text

import("//mojo/public/tools/bindings/mojom.gni")
mojom("mojo") {
sources = [ "api/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 already included in blink_common.dll
overridden_deps = [ "//third_party/blink/public/mojom:mojom_core" ]
component_deps = [ "//third_party/blink/public/common" ]
}
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",
]
}
mojom("web_contents_utility") {
# We don't want Blink variants of these bindings to be generated.
disable_variants = true
sources = [ "web_contents_utility.mojom" ]
public_deps = [
"//content/public/common:interfaces",
"//third_party/blink/public/mojom/tokens",
"//url/mojom:url_mojom_origin",
]
}