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

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

Issue 1808513006: Introduce PlatformNotification structures and converters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-mojo-hacks
Patch Set: Created 4 years, 9 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 db8892780610919813b93f37e5c4394735c94a33..80beab29b68ac2638ae46950a44ac3f3024096b4 100644
--- a/third_party/WebKit/public/blink.gyp
+++ b/third_party/WebKit/public/blink.gyp
@@ -31,6 +31,13 @@
'includes': [
'../Source/build/features.gypi',
],
+ 'variables': {
+ # GN version: //third_party/WebKit/public:blink_mojo_sources
+ 'blink_mojo_sources': [
+ 'platform/modules/bluetooth/web_bluetooth.mojom',
+ 'platform/modules/notifications/notification.mojom',
+ ],
+ },
'targets': [
{
# GN version: //third_party/WebKit/public:blink
@@ -82,24 +89,36 @@
],
},
{
+ # GN version: //third_party/WebKit/public:mojo_bindings_blink
+ 'target_name': 'mojo_bindings_blink_mojom',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_files': ['<@(blink_mojo_sources)'],
+ 'mojom_variant': 'wtf',
+ 'for_blink': 'true',
+ },
+ 'includes': [
+ '../../../mojo/mojom_bindings_generator_explicit.gypi',
+ ],
+ },
+ {
+ # GN version: //third_party/WebKit/public:mojo_bindings
'target_name': 'mojo_bindings_mojom',
'type': 'none',
'variables': {
- 'mojom_files': [
- 'platform/modules/bluetooth/web_bluetooth.mojom',
- 'platform/modules/notifications/notification.mojom',
- ],
+ 'mojom_files': ['<@(blink_mojo_sources)'],
},
'includes': [
- '../../../mojo/mojom_bindings_generator_explicit.gypi',
+ '../../../mojo/mojom_bindings_generator_explicit.gypi',
],
},
{
'target_name': 'mojo_bindings',
'type': 'static_library',
'dependencies': [
- 'mojo_bindings_mojom',
- '../../../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ 'mojo_bindings_blink_mojom',
+ 'mojo_bindings_mojom',
+ '../../../mojo/mojo_public.gyp:mojo_cpp_bindings',
],
},
],
« 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