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

Unified Diff: components/autofill.gypi

Issue 1999623002: [Autofill] Add typemap for autofill:FormFieldData and autofill::FormData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp 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
Index: components/autofill.gypi
diff --git a/components/autofill.gypi b/components/autofill.gypi
index 7c9ef0b11080fd6d1ba830e68eb45fbc506961af..0462c0fea94d7cedab6fadbcb378b19a8eabae29 100644
--- a/components/autofill.gypi
+++ b/components/autofill.gypi
@@ -312,6 +312,64 @@
['OS != "ios"', {
'targets': [
{
+ # GN version: //components/autofill/content/public/interfaces:types
+ 'target_name': 'autofill_content_types_mojo_bindings_mojom',
yzshen1 2016/05/23 16:59:13 Out of curiosity: Why are the types placed in a ta
leonhsl(Using Gerrit) 2016/05/24 06:38:20 Because in future these autofill types would also
+ 'type': 'none',
+ 'variables': {
+ 'mojom_files': [
+ 'autofill/content/public/interfaces/autofill_types.mojom',
+ ],
+ 'mojom_typemaps': [
+ 'autofill/content/public/cpp/autofill_types.typemap',
+ '<(DEPTH)/url/mojo/gurl.typemap',
+ ],
+ },
+ 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
+ 'dependencies': [
+ '../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ ],
+ },
+ {
+ # GN version: //components/autofill/content/public/interfaces:types
+ 'target_name': 'autofill_content_types_mojo_bindings',
+ 'type': 'static_library',
+ 'sources': [
+ 'autofill/content/public/cpp/autofill_types_struct_traits.cc'
+ ],
+ 'export_dependent_settings': [
+ '../url/url.gyp:url_mojom',
+ ],
+ 'dependencies': [
+ '../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ '../url/url.gyp:url_mojom',
+ 'autofill_content_types_mojo_bindings_mojom',
+ ],
+ },
+ {
+ # GN version: //components/autofill/content/public/interfaces:test_types
+ 'target_name': 'autofill_content_test_types_mojo_bindings',
+ 'type': 'static_library',
+ 'variables': {
+ 'mojom_typemaps': [
+ 'autofill/content/public/cpp/autofill_types.typemap',
+ '<(DEPTH)/url/mojo/gurl.typemap',
+ ],
+ },
+ 'sources': [
+ 'autofill/content/public/interfaces/test_autofill_types.mojom',
+ ],
+ 'export_dependent_settings': [
+ '../url/url.gyp:url_mojom',
+ 'autofill_content_types_mojo_bindings',
+ ],
+ 'dependencies': [
+ '../mojo/mojo_public.gyp:mojo_cpp_bindings',
+ '../url/url.gyp:url_mojom',
+ 'autofill_content_types_mojo_bindings',
+ ],
+ 'includes': [ '../mojo/mojom_bindings_generator.gypi' ],
+ },
+ {
# GN version: //components/autofill/content/public/interfaces
'target_name': 'autofill_content_mojo_bindings_mojom',
'type': 'none',
@@ -320,6 +378,9 @@
'autofill/content/public/interfaces/autofill_agent.mojom',
'autofill/content/public/interfaces/autofill_driver.mojom',
],
+ 'mojom_typemaps': [
+ 'autofill/content/public/cpp/autofill_types.typemap',
+ ],
},
'include_dirs': [
'..',
@@ -338,6 +399,7 @@
'dependencies': [
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'autofill_content_mojo_bindings_mojom',
+ 'autofill_content_types_mojo_bindings',
],
},
{

Powered by Google App Engine
This is Rietveld 408576698