Index: components/safe_json.gypi |
diff --git a/components/safe_json.gypi b/components/safe_json.gypi |
index 11ab7889f88df95719e79d2e7a3f389b5d0c52af..07e8f51a134adb22771b78b469c528ad5b633b83 100644 |
--- a/components/safe_json.gypi |
+++ b/components/safe_json.gypi |
@@ -9,7 +9,7 @@ |
'target_name': 'safe_json', |
'type': 'static_library', |
'dependencies': [ |
- 'safe_json_parser_message_filter', |
+ 'safe_json_mojo_bindings', |
'../base/base.gyp:base', |
'../components/components_strings.gyp:components_strings', |
'../content/content.gyp:content_browser', |
@@ -61,9 +61,24 @@ |
], |
}, |
{ |
- 'target_name': 'safe_json_parser_message_filter', |
+ # GN version: //components/safe_json/public/interfaces |
+ 'target_name': 'safe_json_mojo_bindings', |
+ 'type': 'static_library', |
+ 'variables': { |
+ 'mojom_typemaps': [ |
+ 'safe_json/public/interfaces/safe_json.typemap', |
+ ], |
+ }, |
+ 'sources': [ |
+ 'safe_json/public/interfaces/safe_json.mojom', |
+ ], |
+ 'includes': [ '../mojo/mojom_bindings_generator.gypi'], |
+ }, |
+ { |
+ 'target_name': 'safe_json_parser_mojo', |
'type': 'static_library', |
'dependencies': [ |
+ 'safe_json_mojo_bindings', |
'../base/base.gyp:base', |
'../content/content.gyp:content_common', |
'../content/content.gyp:content_utility', |
@@ -73,10 +88,8 @@ |
'..', |
], |
'sources': [ |
- 'safe_json/safe_json_parser_message_filter.cc', |
- 'safe_json/safe_json_parser_message_filter.h', |
- 'safe_json/safe_json_parser_messages.cc', |
- 'safe_json/safe_json_parser_messages.h', |
+ 'safe_json/utility/safe_json_parser_mojo_impl.cc', |
+ 'safe_json/utility/safe_json_parser_mojo_impl.h', |
], |
}, |
], |