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

Unified Diff: url/url.gyp

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 | « url/mojo/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 a1670725f163918dbb0e1f4101dd21a50d846366..a0c911b07a097afce4fb0b8e20ceaa384d5195cc 100644
--- a/url/url.gyp
+++ b/url/url.gyp
@@ -120,14 +120,14 @@
'target_name': 'url_interfaces_mojom',
'type': 'none',
'variables': {
- 'mojom_extra_generator_args': [
- '--typemap', '<(DEPTH)/url/mojo/origin.typemap',
- '--typemap', '<(DEPTH)/url/mojo/gurl.typemap',
- ],
'mojom_files': [
'mojo/origin.mojom',
'mojo/url.mojom',
],
+ 'mojom_typemaps': [
+ 'mojo/gurl.typemap',
+ 'mojo/origin.typemap',
+ ],
},
'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
},
@@ -140,24 +140,24 @@
'dependencies': [
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'url_interfaces_mojom',
+ 'url_lib',
],
},
{
'target_name': 'url_test_interfaces_mojom',
'type': 'none',
'variables': {
- 'mojom_extra_generator_args': [
- '--typemap', '<(DEPTH)/url/mojo/gurl.typemap',
- '--typemap', '<(DEPTH)/url/mojo/origin.typemap',
- ],
'mojom_files': [
'mojo/url_test.mojom',
],
+ 'mojom_typemaps': [
+ 'mojo/gurl.typemap',
+ 'mojo/origin.typemap',
+ ],
},
'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
'dependencies': [
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
- 'url_interfaces_mojom',
],
},
{
@@ -168,6 +168,7 @@
],
'dependencies': [
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ 'url_lib',
'url_mojom',
'url_test_interfaces_mojom',
],
« no previous file with comments | « url/mojo/typemaps.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698