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

Side by Side Diff: components/translate.gypi

Issue 422843009: Add a new CldDataSource class that can be queried at runtime. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add BUILD.gn Created 6 years, 4 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
« no previous file with comments | « no previous file | components/translate/content/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | components/translate/content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698