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