OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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/translate/core/browser | 8 # GN version: //components/translate/core/browser |
9 'target_name': 'translate_core_browser', | 9 'target_name': 'translate_core_browser', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 'sources': [ | 143 'sources': [ |
144 # Note: sources list duplicated in GN build. | 144 # Note: sources list duplicated in GN build. |
145 'translate/content/browser/content_translate_driver.cc', | 145 'translate/content/browser/content_translate_driver.cc', |
146 'translate/content/browser/content_translate_driver.h', | 146 'translate/content/browser/content_translate_driver.h', |
147 ], | 147 ], |
148 }, | 148 }, |
149 { | 149 { |
150 # GN version: //components/translate/content/common | 150 # GN version: //components/translate/content/common |
151 'target_name': 'translate_content_common', | 151 'target_name': 'translate_content_common', |
152 'type': 'static_library', | 152 'type': 'static_library', |
| 153 'variables': { |
| 154 'mojom_typemaps': [ |
| 155 'translate/content/common/translate.typemap', |
| 156 '<(DEPTH)/mojo/common/common_custom_types.typemap', |
| 157 '<(DEPTH)/url/mojo/gurl.typemap', |
| 158 ], |
| 159 }, |
| 160 'sources': [ |
| 161 'translate/content/common/translate_struct_traits.cc', |
| 162 'translate/content/common/translate.mojom', |
| 163 ], |
| 164 'export_dependent_settings': [ |
| 165 '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom', |
| 166 '../url/url.gyp:url_mojom', |
| 167 ], |
153 'dependencies': [ | 168 'dependencies': [ |
154 'translate_core_common', | 169 'translate_core_common', |
155 'translate_core_language_detection', | 170 'translate_core_language_detection', |
156 '../base/base.gyp:base', | 171 '../base/base.gyp:base', |
157 '../ipc/ipc.gyp:ipc', | 172 '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom', |
158 '../url/ipc/url_ipc.gyp:url_ipc', | 173 '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 174 '../url/url.gyp:url_mojom', |
159 ], | 175 ], |
160 'include_dirs': [ | 176 'includes': [ '../mojo/mojom_bindings_generator.gypi' ], |
161 '..', | |
162 ], | |
163 'sources': [ | |
164 # Note: sources list duplicated in GN build. | |
165 'translate/content/common/translate_messages.cc', | |
166 'translate/content/common/translate_messages.h', | |
167 ], | |
168 }, | 177 }, |
169 { | 178 { |
170 # GN version: //components/translate/content/renderer | 179 # GN version: //components/translate/content/renderer |
171 'target_name': 'translate_content_renderer', | 180 'target_name': 'translate_content_renderer', |
172 'type': 'static_library', | 181 'type': 'static_library', |
173 'dependencies': [ | 182 'dependencies': [ |
174 'translate_content_common', | 183 'translate_content_common', |
175 'translate_core_common', | 184 'translate_core_common', |
176 'translate_core_language_detection', | 185 'translate_core_language_detection', |
177 '../base/base.gyp:base', | 186 '../base/base.gyp:base', |
178 '../content/content.gyp:content_common', | 187 '../content/content.gyp:content_common', |
179 '../content/content.gyp:content_renderer', | 188 '../content/content.gyp:content_renderer', |
180 '../ipc/ipc.gyp:ipc', | |
181 '../third_party/WebKit/public/blink.gyp:blink', | 189 '../third_party/WebKit/public/blink.gyp:blink', |
182 '../third_party/cld_2/cld_2.gyp:cld_2', | 190 '../third_party/cld_2/cld_2.gyp:cld_2', |
183 '../url/url.gyp:url_lib', | 191 '../url/url.gyp:url_lib', |
184 '../v8/src/v8.gyp:v8', | 192 '../v8/src/v8.gyp:v8', |
185 ], | 193 ], |
186 'include_dirs': [ | 194 'include_dirs': [ |
187 '..', | 195 '..', |
188 ], | 196 ], |
189 'sources': [ | 197 'sources': [ |
190 # Note: sources list duplicated in GN build. | 198 # Note: sources list duplicated in GN build. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 ], | 248 ], |
241 }, | 249 }, |
242 'includes': [ | 250 'includes': [ |
243 '../ios/web/js_compile_checked.gypi', | 251 '../ios/web/js_compile_checked.gypi', |
244 ], | 252 ], |
245 }, | 253 }, |
246 ], | 254 ], |
247 }], | 255 }], |
248 ], | 256 ], |
249 } | 257 } |
OLD | NEW |