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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/safe_json 8 # GN version: //components/safe_json
9 'target_name': 'safe_json', 9 'target_name': 'safe_json',
10 'type': 'static_library', 10 'type': 'static_library',
11 'dependencies': [ 11 'dependencies': [
12 'safe_json_parser_message_filter', 12 'safe_json_mojo_bindings',
13 '../base/base.gyp:base', 13 '../base/base.gyp:base',
14 '../components/components_strings.gyp:components_strings', 14 '../components/components_strings.gyp:components_strings',
15 '../content/content.gyp:content_browser', 15 '../content/content.gyp:content_browser',
16 '../content/content.gyp:content_common', 16 '../content/content.gyp:content_common',
17 '../ui/base/ui_base.gyp:ui_base', 17 '../ui/base/ui_base.gyp:ui_base',
18 ], 18 ],
19 'include_dirs': [ 19 'include_dirs': [
20 '..', 20 '..',
21 ], 21 ],
22 'sources': [ 22 'sources': [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ], 54 ],
55 'include_dirs': [ 55 'include_dirs': [
56 '..', 56 '..',
57 ], 57 ],
58 'sources': [ 58 'sources': [
59 'safe_json/testing_json_parser.cc', 59 'safe_json/testing_json_parser.cc',
60 'safe_json/testing_json_parser.h', 60 'safe_json/testing_json_parser.h',
61 ], 61 ],
62 }, 62 },
63 { 63 {
64 'target_name': 'safe_json_parser_message_filter', 64 # GN version: //components/safe_json/public/interfaces
65 'target_name': 'safe_json_mojo_bindings',
66 'type': 'static_library',
67 'variables': {
68 'mojom_typemaps': [
69 'safe_json/public/interfaces/safe_json.typemap',
70 ],
71 },
72 'sources': [
73 'safe_json/public/interfaces/safe_json.mojom',
74 ],
75 'includes': [ '../mojo/mojom_bindings_generator.gypi'],
76 },
77 {
78 'target_name': 'safe_json_parser_mojo',
65 'type': 'static_library', 79 'type': 'static_library',
66 'dependencies': [ 80 'dependencies': [
81 'safe_json_mojo_bindings',
67 '../base/base.gyp:base', 82 '../base/base.gyp:base',
68 '../content/content.gyp:content_common', 83 '../content/content.gyp:content_common',
69 '../content/content.gyp:content_utility', 84 '../content/content.gyp:content_utility',
70 '../ipc/ipc.gyp:ipc', 85 '../ipc/ipc.gyp:ipc',
71 ], 86 ],
72 'include_dirs': [ 87 'include_dirs': [
73 '..', 88 '..',
74 ], 89 ],
75 'sources': [ 90 'sources': [
76 'safe_json/safe_json_parser_message_filter.cc', 91 'safe_json/utility/safe_json_parser_mojo_impl.cc',
77 'safe_json/safe_json_parser_message_filter.h', 92 'safe_json/utility/safe_json_parser_mojo_impl.h',
78 'safe_json/safe_json_parser_messages.cc',
79 'safe_json/safe_json_parser_messages.h',
80 ], 93 ],
81 }, 94 },
82 ], 95 ],
83 'conditions': [ 96 'conditions': [
84 ['OS=="android"', { 97 ['OS=="android"', {
85 'targets': [ 98 'targets': [
86 { 99 {
87 # GN version: //components/safe_json/android:safe_json_java 100 # GN version: //components/safe_json/android:safe_json_java
88 'target_name': 'safe_json_java', 101 'target_name': 'safe_json_java',
89 'type': 'none', 102 'type': 'none',
(...skipping 14 matching lines...) Expand all
104 ], 117 ],
105 'variables': { 118 'variables': {
106 'jni_gen_package': 'safe_json', 119 'jni_gen_package': 'safe_json',
107 }, 120 },
108 'includes': [ '../build/jni_generator.gypi' ], 121 'includes': [ '../build/jni_generator.gypi' ],
109 }, 122 },
110 ], 123 ],
111 }], 124 }],
112 ] 125 ]
113 } 126 }
OLDNEW
« 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