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

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

Issue 2285433002: Use compositor_frame typemap in Blink (Closed)
Patch Set: Adapt to new change after rebase Created 4 years, 3 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/platform/BUILD.gn ('k') | third_party/WebKit/public/blink_typemaps.gni » ('j') | 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 28769c5620091c829b8a5720427b059beb797b3a..d5a0152ba1a112ca4c85cd79406b053fe65b48a8 100644
--- a/third_party/WebKit/public/BUILD.gn
+++ b/third_party/WebKit/public/BUILD.gn
@@ -650,14 +650,12 @@ mojom("mojo_bindings") {
"platform/modules/hyphenation/hyphenation.mojom",
"platform/modules/notifications/notification.mojom",
"platform/modules/notifications/notification_service.mojom",
- "platform/modules/offscreencanvas/offscreen_canvas_surface.mojom",
"platform/modules/serviceworker/service_worker_event_status.mojom",
"platform/modules/wake_lock/wake_lock_service.mojom",
]
public_deps = [
":android_mojo_bindings",
":new_wrapper_types_mojo_bindings",
- "//cc/ipc:interfaces_surfaceid_only",
"//device/bluetooth/public/interfaces:bluetooth_mojom_bluetooth_uuid",
"//url/mojo:url_mojom_origin",
]
@@ -718,8 +716,29 @@ mojom("android_mojo_bindings") {
export_header_blink = "third_party/WebKit/public/platform/WebCommon.h"
}
+# The offscreen_canvas_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("offscreen_canvas_mojo_bindings") {
+ sources = [
+ "platform/modules/offscreencanvas/offscreen_canvas_surface.mojom",
+ ]
+ deps = [
+ "//cc/ipc:interfaces",
+ ]
+
+ # 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 = [
":mojo_bindings_blink__generator",
+ ":offscreen_canvas_mojo_bindings_blink__generator",
]
}
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/public/blink_typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698