Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: third_party/WebKit/public/BUILD.gn

Issue 2612253003: Add visibility restrictions to all mojoms that export symbols. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/bindings/modules/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/BUILD.gn
diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn
index 139f1b6961be985f27b6d8ad19461a35efddde2c..cc54981b98b4322666e22159b00792432f5e9bc7 100644
--- a/third_party/WebKit/public/BUILD.gn
+++ b/third_party/WebKit/public/BUILD.gn
@@ -640,6 +640,11 @@ grit("image_resources") {
}
mojom("mojo_bindings") {
+ visibility = [ "//content/*" ]
+ visibility_blink = [
+ "//content/common:mojo_bindings_blink",
+ "//third_party/WebKit/Source/platform",
+ ]
sources = [
"platform/mime_registry.mojom",
"platform/modules/app_banner/app_banner.mojom",
@@ -689,6 +694,8 @@ mojom("mojo_bindings") {
}
mojom("android_mojo_bindings") {
+ visibility = [ ":mojo_bindings" ]
+ visibility_blink = [ ":mojo_bindings_blink" ]
sources = [
"platform/modules/installation/installation.mojom",
"platform/modules/webshare/webshare.mojom",
@@ -711,6 +718,8 @@ mojom("android_mojo_bindings") {
# because its deps contain too many files in Chromium that would pollute the
# include paths in generated mojom-blink files for other services.
mojom("offscreen_canvas_mojo_bindings") {
+ visibility = [ "//content/*" ]
+ visibility_blink = [ "//third_party/WebKit/Source/platform" ]
sources = [
"platform/modules/offscreencanvas/offscreen_canvas_surface.mojom",
]
« no previous file with comments | « third_party/WebKit/Source/bindings/modules/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698