Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: components/translate.gypi

Issue 354093004: Fix crash when using non-static CLD and update translate.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase onto master Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 'target_name': 'translate_core_browser', 8 'target_name': 'translate_core_browser',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies': [ 10 'dependencies': [
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 '../content/content.gyp:content_common', 183 '../content/content.gyp:content_common',
184 '../ipc/ipc.gyp:ipc', 184 '../ipc/ipc.gyp:ipc',
185 ], 185 ],
186 'include_dirs': [ 186 'include_dirs': [
187 '..', 187 '..',
188 ], 188 ],
189 'sources': [ 189 'sources': [
190 'translate/content/renderer/renderer_cld_data_provider.h', 190 'translate/content/renderer/renderer_cld_data_provider.h',
191 ], 191 ],
192 'conditions': [ 192 'conditions': [
193 ['cld_version==0 or cld_version==2', {
194 'dependencies': [
195 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2',
196 ],
197 }],
193 ['cld2_data_source=="standalone" or cld2_data_source=="component"', { 198 ['cld2_data_source=="standalone" or cld2_data_source=="component"', {
194 'sources': [ 199 'sources': [
195 'translate/content/renderer/data_file_renderer_cld_data_provider .cc', 200 'translate/content/renderer/data_file_renderer_cld_data_provider .cc',
196 'translate/content/renderer/data_file_renderer_cld_data_provider .h', 201 'translate/content/renderer/data_file_renderer_cld_data_provider .h',
197 ]}, 202 ]},
198 ], 203 ],
199 ['cld2_data_source=="static"', { 204 ['cld2_data_source=="static"', {
200 'sources': [ 205 'sources': [
201 'translate/content/renderer/static_renderer_cld_data_provider.cc ', 206 'translate/content/renderer/static_renderer_cld_data_provider.cc ',
202 'translate/content/renderer/static_renderer_cld_data_provider.h' , 207 'translate/content/renderer/static_renderer_cld_data_provider.h' ,
203 ]}, 208 ]},
204 ], 209 ],
205 ], 210 ],
206 }, 211 },
207 ], 212 ],
208 }], 213 }],
209 ], 214 ],
210 } 215 }
OLDNEW
« no previous file with comments | « chrome/browser/translate/chrome_translate_client.cc ('k') | components/translate/content/browser/browser_cld_data_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698