| Index: third_party/WebKit/public/BUILD.gn
|
| diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn
|
| index 59cd4bcac46b08af0cf72f75fcf0a8fd3aec5ac3..e82e1ec51917d9d156e59079d908dc3b8b1eb177 100644
|
| --- a/third_party/WebKit/public/BUILD.gn
|
| +++ b/third_party/WebKit/public/BUILD.gn
|
| @@ -731,6 +731,7 @@ mojom("mojo_bindings") {
|
| ]
|
| public_deps = [
|
| ":android_mojo_bindings",
|
| + ":blob_mojo_bindings",
|
| "//device/bluetooth/public/interfaces",
|
| "//mojo/common:common_custom_types",
|
| "//ui/gfx/geometry/mojo",
|
| @@ -810,8 +811,42 @@ mojom("offscreen_canvas_mojo_bindings") {
|
| export_header_blink = "third_party/WebKit/public/platform/WebCommon.h"
|
| }
|
|
|
| +# The blob_mojo_bindings is separated from the rest of mojom files
|
| +# because its deps contain too many files in Chromium that would pollute the
|
| +# include paths in generated mojom-blink files for other services.
|
| +mojom("blob_mojo_bindings") {
|
| + visibility = [
|
| + "//content/*",
|
| + "//storage/*",
|
| + ":mojo_bindings",
|
| + ]
|
| + visibility_blink = [
|
| + "//third_party/WebKit/Source/platform",
|
| + "//content/common:mojo_bindings_blink",
|
| + ":mojo_bindings_blink",
|
| + ]
|
| + sources = [
|
| + "platform/blobs.mojom",
|
| + ]
|
| + deps = [
|
| + "//mojo/common:common_custom_types",
|
| + "//url/mojo:url_mojom_gurl",
|
| + ]
|
| +
|
| + component_output_prefix = "blink_blob_mojo_bindings"
|
| +
|
| + # See comment above
|
| + export_class_attribute = "CONTENT_EXPORT"
|
| + export_define = "CONTENT_IMPLEMENTATION=1"
|
| + export_header = "content/common/content_export.h"
|
| + export_class_attribute_blink = "BLINK_PLATFORM_EXPORT"
|
| + export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1"
|
| + export_header_blink = "third_party/WebKit/public/platform/WebCommon.h"
|
| +}
|
| +
|
| group("generate_mojo_bindings") {
|
| deps = [
|
| + ":blob_mojo_bindings_blink__generator",
|
| ":mojo_bindings_blink__generator",
|
| ":offscreen_canvas_mojo_bindings_blink__generator",
|
| ]
|
|
|