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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 'translate/content/common/static_cld_data_source.cc', | 199 'translate/content/common/static_cld_data_source.cc', |
200 ]}, | 200 ]}, |
201 ], | 201 ], |
202 ], | 202 ], |
203 }, | 203 }, |
204 { | 204 { |
205 # GN version: //components/translate/content/renderer | 205 # GN version: //components/translate/content/renderer |
206 'target_name': 'translate_content_renderer', | 206 'target_name': 'translate_content_renderer', |
207 'type': 'static_library', | 207 'type': 'static_library', |
208 'dependencies': [ | 208 'dependencies': [ |
| 209 'translate_content_common', |
| 210 'translate_core_common', |
| 211 'translate_core_language_detection', |
209 '../base/base.gyp:base', | 212 '../base/base.gyp:base', |
210 '../content/content.gyp:content_common', | 213 '../content/content.gyp:content_common', |
| 214 '../content/content.gyp:content_renderer', |
211 '../ipc/ipc.gyp:ipc', | 215 '../ipc/ipc.gyp:ipc', |
| 216 '../third_party/WebKit/public/blink.gyp:blink', |
| 217 '../url/url.gyp:url_lib', |
| 218 '../v8/tools/gyp/v8.gyp:v8', |
212 ], | 219 ], |
213 'include_dirs': [ | 220 'include_dirs': [ |
214 '..', | 221 '..', |
215 ], | 222 ], |
216 'sources': [ | 223 'sources': [ |
217 # Note: sources list duplicated in GN build. | 224 # Note: sources list duplicated in GN build. |
218 'translate/content/renderer/renderer_cld_data_provider.h', | 225 'translate/content/renderer/renderer_cld_data_provider.h', |
| 226 'translate/content/renderer/translate_helper.cc', |
| 227 'translate/content/renderer/translate_helper.h', |
219 ], | 228 ], |
220 'conditions': [ | 229 'conditions': [ |
221 ['cld_version==0 or cld_version==2', { | 230 ['cld_version==0 or cld_version==2', { |
222 'dependencies': [ | 231 'dependencies': [ |
223 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2', | 232 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2', |
224 ], | 233 ], |
225 }], | 234 }], |
226 ['cld2_data_source=="standalone" or cld2_data_source=="component"',
{ | 235 ['cld2_data_source=="standalone" or cld2_data_source=="component"',
{ |
227 'sources': [ | 236 'sources': [ |
228 'translate/content/renderer/data_file_renderer_cld_data_provider
.cc', | 237 'translate/content/renderer/data_file_renderer_cld_data_provider
.cc', |
229 'translate/content/renderer/data_file_renderer_cld_data_provider
.h', | 238 'translate/content/renderer/data_file_renderer_cld_data_provider
.h', |
230 ]}, | 239 ]}, |
231 ], | 240 ], |
232 ['cld2_data_source=="static"', { | 241 ['cld2_data_source=="static"', { |
233 'sources': [ | 242 'sources': [ |
234 'translate/content/renderer/static_renderer_cld_data_provider.cc
', | 243 'translate/content/renderer/static_renderer_cld_data_provider.cc
', |
235 'translate/content/renderer/static_renderer_cld_data_provider.h'
, | 244 'translate/content/renderer/static_renderer_cld_data_provider.h'
, |
236 ]}, | 245 ]}, |
237 ], | 246 ], |
238 ], | 247 ], |
239 }, | 248 }, |
240 ], | 249 ], |
241 }], | 250 }], |
242 ], | 251 ], |
243 } | 252 } |
OLD | NEW |