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', |
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 Loading... |
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:interfaces |
| 65 'target_name': 'safe_json_mojo_bindings', |
| 66 'type': 'static_library', |
| 67 'variables': { |
| 68 'mojom_extra_generator_args': [ |
| 69 '--typemap', |
| 70 '<(DEPTH)/components/safe_json/public/interfaces/mojo.typemap', |
| 71 ], |
| 72 }, |
| 73 'sources': [ |
| 74 'safe_json/public/interfaces/safe_json.mojom', |
| 75 ], |
| 76 'includes': [ '../mojo/mojom_bindings_generator.gypi'], |
| 77 }, |
| 78 { |
| 79 'target_name': 'safe_json_parser_mojo', |
65 'type': 'static_library', | 80 'type': 'static_library', |
66 'dependencies': [ | 81 'dependencies': [ |
| 82 'safe_json_mojo_bindings', |
67 '../base/base.gyp:base', | 83 '../base/base.gyp:base', |
68 '../content/content.gyp:content_common', | 84 '../content/content.gyp:content_common', |
69 '../content/content.gyp:content_utility', | 85 '../content/content.gyp:content_utility', |
70 '../ipc/ipc.gyp:ipc', | 86 '../ipc/ipc.gyp:ipc', |
71 ], | 87 ], |
72 'include_dirs': [ | 88 'include_dirs': [ |
73 '..', | 89 '..', |
74 ], | 90 ], |
75 'sources': [ | 91 'sources': [ |
76 'safe_json/safe_json_parser_message_filter.cc', | 92 'safe_json/safe_json_parser_mojo_impl.cc', |
77 'safe_json/safe_json_parser_message_filter.h', | 93 'safe_json/safe_json_parser_mojo_impl.h', |
78 'safe_json/safe_json_parser_messages.cc', | |
79 'safe_json/safe_json_parser_messages.h', | |
80 ], | 94 ], |
81 }, | 95 }, |
82 ], | 96 ], |
83 'conditions': [ | 97 'conditions': [ |
84 ['OS=="android"', { | 98 ['OS=="android"', { |
85 'targets': [ | 99 'targets': [ |
86 { | 100 { |
87 # GN version: //components/safe_json/android:safe_json_java | 101 # GN version: //components/safe_json/android:safe_json_java |
88 'target_name': 'safe_json_java', | 102 'target_name': 'safe_json_java', |
89 'type': 'none', | 103 'type': 'none', |
(...skipping 14 matching lines...) Expand all Loading... |
104 ], | 118 ], |
105 'variables': { | 119 'variables': { |
106 'jni_gen_package': 'safe_json', | 120 'jni_gen_package': 'safe_json', |
107 }, | 121 }, |
108 'includes': [ '../build/jni_generator.gypi' ], | 122 'includes': [ '../build/jni_generator.gypi' ], |
109 }, | 123 }, |
110 ], | 124 ], |
111 }], | 125 }], |
112 ] | 126 ] |
113 } | 127 } |
OLD | NEW |