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

Unified Diff: components/safe_json.gypi

Issue 1948303002: Re-land: Convert the utility process JSON parser into a Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « chrome/utility/safe_json_parser_handler.cc ('k') | components/safe_json/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
],
},
],
« no previous file with comments | « chrome/utility/safe_json_parser_handler.cc ('k') | components/safe_json/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698