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

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

Issue 1832703002: Mojo: Simplify typemap usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-bindings-variant-import
Patch Set: add missing mash dependency Created 4 years, 8 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/web/BUILD.gn ('k') | third_party/WebKit/public/blink.gyp » ('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 b44ddd7458de35e4356ef26c38ae2e19a76137ca..80636771507d5068f0364b084c33c8ad8eadbe2e 100644
--- a/third_party/WebKit/public/BUILD.gn
+++ b/third_party/WebKit/public/BUILD.gn
@@ -177,45 +177,32 @@ grit("image_resources") {
]
}
-# GYP version: WebKit/public/blink.gyp:mojo_bindings_blink_mojom
-mojom("mojo_bindings_blink") {
+# GYP versions: WebKit/public/blink.gyp:mojo_bindings_mojom,
+# WebKit/public/blink.gyp:mojo_bindings_blink_mojom
+mojom("mojo_bindings") {
sources = [
"platform/modules/bluetooth/web_bluetooth.mojom",
"platform/modules/geolocation/geolocation.mojom",
"platform/modules/notifications/notification.mojom",
- "platform/modules/payments/payment_request.mojom",
"platform/modules/permissions/permission.mojom",
"platform/modules/permissions/permission_status.mojom",
"platform/modules/wake_lock/wake_lock_service.mojom",
]
- for_blink = true
- variant = "wtf"
+ public_deps = [
+ ":android_mojo_bindings",
+ ]
}
-# GYP version: WebKit/public/blink.gyp:mojo_bindings_mojom
-mojom("mojo_bindings") {
+# GYP version: WebKit/public/blink.gyp:android_mojo_bindings_java
+mojom("android_mojo_bindings") {
sources = [
- "platform/modules/bluetooth/web_bluetooth.mojom",
- "platform/modules/geolocation/geolocation.mojom",
- "platform/modules/notifications/notification.mojom",
- "platform/modules/permissions/permission.mojom",
- "platform/modules/permissions/permission_status.mojom",
- "platform/modules/wake_lock/wake_lock_service.mojom",
+ "platform/modules/payments/payment_request.mojom",
]
}
-if (is_android) {
- # GYP version: WebKit/public/blink.gyp:android_mojo_bindings_java
- mojom("android_mojo_bindings") {
- sources = [
- "platform/modules/payments/payment_request.mojom",
- ]
- }
-}
-
group("generate_mojo_bindings") {
deps = [
":mojo_bindings__generator",
- ":mojo_bindings_blink__generator",
+ ":mojo_bindings_wtf__generator",
]
}
« no previous file with comments | « third_party/WebKit/Source/web/BUILD.gn ('k') | third_party/WebKit/public/blink.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698