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

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

Issue 1831173002: Scaffolding for Android implementation of PaymentRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo
Patch Set: thestig@ & esprehn@ comments 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/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 8a430d7fac7950dbb2b9764ef830faf907190aaf..72494d297e0dc71de611da6b074c1ed1b3384790 100644
--- a/third_party/WebKit/public/blink.gyp
+++ b/third_party/WebKit/public/blink.gyp
@@ -36,10 +36,12 @@
'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',
],
+ 'blink_android_mojo_sources': [
+ 'platform/modules/payments/payment_request.mojom',
+ ],
},
'targets': [
{
@@ -98,7 +100,10 @@
'target_name': 'mojo_bindings_blink_mojom',
'type': 'none',
'variables': {
- 'mojom_files': ['<@(blink_mojo_sources)'],
+ 'mojom_files': [
+ '<@(blink_mojo_sources)',
+ '<@(blink_android_mojo_sources)',
+ ],
'mojom_variant': 'wtf',
'for_blink': 'true',
},
@@ -127,4 +132,29 @@
],
},
],
+ 'conditions': [
+ ['OS == "android"', {
+ 'targets': [
+ {
+ 'target_name': 'android_mojo_bindings_mojom',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_files': ['<@(blink_android_mojo_sources)'],
+ },
+ 'includes': [
+ '../../../mojo/mojom_bindings_generator_explicit.gypi',
+ ],
+ },
+ {
+ # GN version: //third_party/WebKit/public:android_mojo_bindings_java
+ 'target_name': 'android_mojo_bindings_java',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'android_mojo_bindings_mojom',
+ '../../../mojo/mojo_public.gyp:mojo_bindings_java',
+ ],
+ },
+ ],
+ }],
+ ],
}
« 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