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

Unified Diff: third_party/WebKit/public/blink.gyp

Issue 2181163003: [Presentation API] Convert presentation.mojom to new wrapper types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to dcheng@ comments Created 4 years, 5 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/public/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/blink.gyp
diff --git a/third_party/WebKit/public/blink.gyp b/third_party/WebKit/public/blink.gyp
index 95d123d2ae832040d94e9634a77dc9b538bcc325..83edc751ed00ec698f1f160eb9aa5ebf51509f58 100644
--- a/third_party/WebKit/public/blink.gyp
+++ b/third_party/WebKit/public/blink.gyp
@@ -45,7 +45,6 @@
'platform/modules/offscreencanvas/offscreen_canvas_surface.mojom',
'platform/modules/permissions/permission.mojom',
'platform/modules/permissions/permission_status.mojom',
- 'platform/modules/presentation/presentation.mojom',
'platform/modules/serviceworker/service_worker_event_status.mojom',
'platform/modules/wake_lock/wake_lock_service.mojom',
'platform/modules/webshare/webshare.mojom',
@@ -54,6 +53,10 @@
'blink_android_mojo_sources': [
'platform/modules/payments/payment_request.mojom',
],
+ # Duplicated in GN: //third_party/WebKit/public:new_wrapper_types_mojo_bindings
+ 'blink_new_wrapper_types_mojo_sources': [
+ 'platform/modules/presentation/presentation.mojom',
+ ],
'blink_typemap_sources': [
'<(DEPTH)/cc/ipc/surface_id.typemap',
'<(DEPTH)/cc/ipc/surface_sequence.typemap',
@@ -137,6 +140,29 @@
],
},
{
+ # GN version: //third_party/WebKit/public:new_wrapper_types_mojo_bindings_blink
+ # (generated by //third_party/WebKit/public:new_wrapper_types_mojo_bindings)
+ 'target_name': 'new_wrapper_types_mojo_bindings_blink_mojom',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_files': [
+ '<@(blink_new_wrapper_types_mojo_sources)',
+ ],
+ 'mojom_typemaps': [
+ '../Source/platform/mojo/SecurityOrigin.typemap',
+ '<@(blink_typemap_sources)',
+ ],
+ 'for_blink': 'true',
+ },
+ 'dependencies' : [
+ '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces_blink',
+ '<(DEPTH)/url/url.gyp:url_mojom_for_blink',
+ ],
+ 'includes': [
+ '../../../mojo/mojom_bindings_generator_explicit.gypi',
+ ],
+ },
+ {
# GN version: //third_party/WebKit/public:mojo_bindings
'target_name': 'mojo_bindings_mojom',
'type': 'none',
@@ -161,6 +187,27 @@
],
},
{
+ # GN version: //third_party/WebKit/public:new_wrapper_types_mojo_bindings
+ 'target_name': 'new_wrapper_types_mojo_bindings_mojom',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_files': [
+ '<@(blink_new_wrapper_types_mojo_sources)',
+ ],
+ 'mojom_typemaps': [
+ '<(DEPTH)/url/mojo/origin.typemap',
+ '<@(blink_typemap_sources)',
+ ],
+ },
+ 'dependencies' : [
+ '<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces',
+ '<(DEPTH)/url/url.gyp:url_mojom',
+ ],
+ 'includes': [
+ '../../../mojo/mojom_bindings_generator_explicit.gypi',
+ ],
+ },
+ {
# GN version: //third_party/WebKit/public:mojo_bindings
'target_name': 'mojo_bindings',
# Needed because of dependency on generated headers.
@@ -169,6 +216,8 @@
'dependencies': [
'mojo_bindings_blink_mojom',
'mojo_bindings_mojom',
+ 'new_wrapper_types_mojo_bindings_blink_mojom',
+ 'new_wrapper_types_mojo_bindings_mojom',
'../../../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../../../device/bluetooth/bluetooth.gyp:bluetooth_mojom',
'<(DEPTH)/cc/ipc/cc_ipc.gyp:interfaces',
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698