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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 '../content/content.gyp:content_common', | 168 '../content/content.gyp:content_common', |
169 '../ipc/ipc.gyp:ipc', | 169 '../ipc/ipc.gyp:ipc', |
170 ], | 170 ], |
171 'include_dirs': [ | 171 'include_dirs': [ |
172 '..', | 172 '..', |
173 ], | 173 ], |
174 'sources': [ | 174 'sources': [ |
175 # Note: sources list duplicated in GN build. | 175 # Note: sources list duplicated in GN build. |
176 'translate/content/common/translate_messages.cc', | 176 'translate/content/common/translate_messages.cc', |
177 'translate/content/common/translate_messages.h', | 177 'translate/content/common/translate_messages.h', |
| 178 'translate/content/common/cld_data_source.h', |
178 ], | 179 ], |
179 'conditions': [ | 180 'conditions': [ |
180 ['cld2_data_source=="standalone" or cld2_data_source=="component"',
{ | 181 ['cld2_data_source=="standalone" or cld2_data_source=="component"',
{ |
181 'sources': [ | 182 'sources': [ |
182 'translate/content/common/data_file_cld_data_provider_messages.
cc', | 183 'translate/content/common/data_file_cld_data_provider_messages.
cc', |
183 'translate/content/common/data_file_cld_data_provider_messages.
h', | 184 'translate/content/common/data_file_cld_data_provider_messages.
h', |
184 ]}, | 185 ]}, |
185 ], | 186 ], |
| 187 ['cld2_data_source=="standalone"', { |
| 188 'sources': [ |
| 189 'translate/content/common/standalone_cld_data_source.cc', |
| 190 ]}, |
| 191 ], |
| 192 ['cld2_data_source=="component"', { |
| 193 'sources': [ |
| 194 'translate/content/common/component_cld_data_source.cc', |
| 195 ]}, |
| 196 ], |
| 197 ['cld2_data_source=="static"', { |
| 198 'sources': [ |
| 199 'translate/content/common/static_cld_data_source.cc', |
| 200 ]}, |
| 201 ], |
186 ], | 202 ], |
187 }, | 203 }, |
188 { | 204 { |
189 # GN version: //components/translate/content/renderer | 205 # GN version: //components/translate/content/renderer |
190 'target_name': 'translate_content_renderer', | 206 'target_name': 'translate_content_renderer', |
191 'type': 'static_library', | 207 'type': 'static_library', |
192 'dependencies': [ | 208 'dependencies': [ |
193 '../base/base.gyp:base', | 209 '../base/base.gyp:base', |
194 '../content/content.gyp:content_common', | 210 '../content/content.gyp:content_common', |
195 '../ipc/ipc.gyp:ipc', | 211 '../ipc/ipc.gyp:ipc', |
(...skipping 22 matching lines...) Expand all Loading... |
218 'translate/content/renderer/static_renderer_cld_data_provider.cc
', | 234 'translate/content/renderer/static_renderer_cld_data_provider.cc
', |
219 'translate/content/renderer/static_renderer_cld_data_provider.h'
, | 235 'translate/content/renderer/static_renderer_cld_data_provider.h'
, |
220 ]}, | 236 ]}, |
221 ], | 237 ], |
222 ], | 238 ], |
223 }, | 239 }, |
224 ], | 240 ], |
225 }], | 241 }], |
226 ], | 242 ], |
227 } | 243 } |
OLD | NEW |