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

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

Issue 2285433002: Use compositor_frame typemap in Blink (Closed)
Patch Set: Do not write empty function in content Created 4 years, 4 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
Index: third_party/WebKit/public/BUILD.gn
diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn
index e595ef128c1d62fa61924c7cb45754c6f1299be4..485c0caa8edc767652b33bdbcd207498fd9c2045 100644
--- a/third_party/WebKit/public/BUILD.gn
+++ b/third_party/WebKit/public/BUILD.gn
@@ -171,14 +171,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",
]
@@ -238,8 +236,30 @@ 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",
pdr. 2016/08/30 23:55:52 It looks like you took a lot of care to only pull
+ ]
+
+ # See comment above
+ use_new_wrapper_types = true
yzshen1 2016/09/01 00:02:54 you could delete this line, true is the default va
xlai (Olivia) 2016/09/01 16:57:44 Done.
+ 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",
]
}

Powered by Google App Engine
This is Rietveld 408576698