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

Unified Diff: content/content_common_mojo_bindings.gyp

Issue 1832703002: Mojo: Simplify typemap usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-bindings-variant-import
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
Index: content/content_common_mojo_bindings.gyp
diff --git a/content/content_common_mojo_bindings.gyp b/content/content_common_mojo_bindings.gyp
index 8063d23cf4fb4c54d21859684fcb441b82482e81..5e263104c2bd96b679e9ae8a733f00bd6390b211 100644
--- a/content/content_common_mojo_bindings.gyp
+++ b/content/content_common_mojo_bindings.gyp
@@ -9,10 +9,6 @@
'target_name': 'content_common_mojo_bindings_mojom',
'type': 'none',
'variables': {
- 'mojom_extra_generator_args': [
- '--typemap', '<(DEPTH)/url/mojo/origin.typemap',
- '--typemap', '<(DEPTH)/url/mojo/gurl.typemap',
- ],
'mojom_files': [
# NOTE: Sources duplicated in //content/common/BUILD.gn:mojo_bindings.
'common/application_setup.mojom',
@@ -32,6 +28,10 @@
'public/common/background_sync.mojom',
'public/common/service_worker_event_status.mojom',
],
+ 'mojom_typemaps': [
+ '../url/mojo/gurl.typemap',
+ '../url/mojo/origin.typemap',
+ ],
},
'dependencies': [
'../components/leveldb/leveldb.gyp:leveldb_bindings_mojom',

Powered by Google App Engine
This is Rietveld 408576698