OLD | NEW |
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', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 # GN version: //components/safe_json/public/interfaces | 64 # GN version: //components/safe_json/public/interfaces |
65 'target_name': 'safe_json_mojo_bindings', | 65 'target_name': 'safe_json_mojo_bindings', |
66 'type': 'static_library', | 66 'type': 'static_library', |
| 67 'variables': { |
| 68 'mojom_typemaps': [ |
| 69 'safe_json/public/interfaces/safe_json.typemap', |
| 70 ], |
| 71 }, |
67 'sources': [ | 72 'sources': [ |
68 'safe_json/public/interfaces/safe_json.mojom', | 73 'safe_json/public/interfaces/safe_json.mojom', |
69 ], | 74 ], |
70 'dependencies': [ | |
71 '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom', | |
72 ], | |
73 'export_dependent_settings':[ | |
74 '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom', | |
75 ], | |
76 'includes': [ '../mojo/mojom_bindings_generator.gypi'], | 75 'includes': [ '../mojo/mojom_bindings_generator.gypi'], |
77 }, | 76 }, |
78 { | 77 { |
79 'target_name': 'safe_json_parser_mojo', | 78 'target_name': 'safe_json_parser_mojo', |
80 'type': 'static_library', | 79 'type': 'static_library', |
81 'dependencies': [ | 80 'dependencies': [ |
82 'safe_json_mojo_bindings', | 81 'safe_json_mojo_bindings', |
83 '../base/base.gyp:base', | 82 '../base/base.gyp:base', |
84 '../content/content.gyp:content_common', | 83 '../content/content.gyp:content_common', |
85 '../content/content.gyp:content_utility', | 84 '../content/content.gyp:content_utility', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 ], | 117 ], |
119 'variables': { | 118 'variables': { |
120 'jni_gen_package': 'safe_json', | 119 'jni_gen_package': 'safe_json', |
121 }, | 120 }, |
122 'includes': [ '../build/jni_generator.gypi' ], | 121 'includes': [ '../build/jni_generator.gypi' ], |
123 }, | 122 }, |
124 ], | 123 ], |
125 }], | 124 }], |
126 ] | 125 ] |
127 } | 126 } |
OLD | NEW |