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