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

Unified Diff: url/url.gyp

Issue 2000253006: Implement URL and Origin typemaps/struct traits for blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try to fix gyp rules Created 4 years, 7 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/platform/mojo/blink_typemaps.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/url.gyp
diff --git a/url/url.gyp b/url/url.gyp
index 1e491f5741d817ccc5498911467054855950ca4e..cedd250f4ae85332f6bffe227a0d29ed849eafd1 100644
--- a/url/url.gyp
+++ b/url/url.gyp
@@ -134,6 +134,23 @@
'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
},
{
+ 'target_name': 'url_interfaces_mojom_for_blink',
+ 'type': 'none',
+ 'variables': {
+ 'for_blink': 'true',
+ 'mojom_files': [
+ 'mojo/origin.mojom',
+ 'mojo/url.mojom',
+ ],
+ 'mojom_typemaps': [
+ '../third_party/WebKit/Source/platform/mojo/KURL.typemap',
+ '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap',
+ ],
+ },
+ 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
+ },
+ {
+ # GN version: //url/mojo:url_mojom_gurl and //url/mojo:url_mojom_origin
'target_name': 'url_mojom',
'type': 'static_library',
'export_dependent_settings': [
@@ -146,6 +163,20 @@
],
},
{
+ # GN version: //url/mojo:url_mojom_gurl_blink and //url/mojo:url_mojom_origin_blink
+ 'target_name': 'url_mojom_for_blink',
+ 'type': 'static_library',
+ 'export_dependent_settings': [
+ '../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ ],
+ 'dependencies': [
+ '../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ 'url_interfaces_mojom_for_blink',
+ 'url_lib',
+ ],
+ },
+ {
+ # GN version: //url/mojo:test_url_mojom_gurl
'target_name': 'url_test_interfaces_mojom',
'type': 'none',
'variables': {
@@ -163,6 +194,25 @@
],
},
{
+ # GN version: //url/mojo:test_url_mojom_gurl_blink
+ 'target_name': 'url_test_interfaces_mojom_for_blink',
+ 'type': 'none',
+ 'variables': {
+ 'for_blink': 'true',
+ 'mojom_files': [
+ 'mojo/url_test.mojom',
+ ],
+ 'mojom_typemaps': [
+ '../third_party/WebKit/Source/platform/mojo/KURL.typemap',
+ '../third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap',
+ ],
+ },
+ 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
+ 'dependencies': [
+ '../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ ],
+ },
+ {
'target_name': 'url_test_mojom',
'type': 'static_library',
'export_dependent_settings': [
« no previous file with comments | « third_party/WebKit/Source/platform/mojo/blink_typemaps.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698