Index: third_party/WebKit/public/BUILD.gn |
diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn |
index 40523f7cd0dd02bd7b3af464f1f465d4fa1e7486..aa8d4b4856a121d1b03f0c1b28066b979da1355c 100644 |
--- a/third_party/WebKit/public/BUILD.gn |
+++ b/third_party/WebKit/public/BUILD.gn |
@@ -671,6 +671,8 @@ mojom("new_wrapper_types_mojo_bindings") { |
"platform/modules/permissions/permission_status.mojom", |
"platform/modules/presentation/presentation.mojom", |
"platform/modules/websockets/websocket.mojom", |
+ "platform/referrer.mojom", |
+ "web/window_features.mojom", |
] |
public_deps = [ |
"//url/mojo:url_mojom_gurl", |
@@ -732,3 +734,16 @@ group("generate_mojo_bindings") { |
":offscreen_canvas_mojo_bindings_blink__generator", |
] |
} |
+ |
+# Some mojom typemaps are shared between Chromium and Blink variants and |
+# therefore require some shared traits implementation. These definitions are |
+# relegated to a separate target to avoid duplication between the variants. |
+source_set("shared_typemap_traits") { |
+ visibility = [ ":*" ] |
+ sources = [ |
+ "web/WindowFeaturesStructTraits.cpp", |
+ ] |
+ deps = [ |
+ ":new_wrapper_types_mojo_bindings__generator", |
+ ] |
+} |