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

Side by Side Diff: components/translate.gypi

Issue 333603002: Modularize Compact Language Detector 2 (CLD2) data sources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge https://codereview.chromium.org/326383005 Created 6 years, 6 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 'type': 'static_library', 123 'type': 'static_library',
124 'dependencies': [ 124 'dependencies': [
125 'translate_core_browser', 125 'translate_core_browser',
126 '../base/base.gyp:base', 126 '../base/base.gyp:base',
127 '../content/content.gyp:content_browser', 127 '../content/content.gyp:content_browser',
128 ], 128 ],
129 'include_dirs': [ 129 'include_dirs': [
130 '..', 130 '..',
131 ], 131 ],
132 'sources': [ 132 'sources': [
133 'translate/content/browser/browser_cld_data_provider.h',
133 'translate/content/browser/content_translate_driver.cc', 134 'translate/content/browser/content_translate_driver.cc',
134 'translate/content/browser/content_translate_driver.h', 135 'translate/content/browser/content_translate_driver.h',
135 ], 136 ],
137 'conditions': [
138 ['cld2_data_source=="standalone" or cld2_data_source=="component"', {
139 'sources': [
140 'translate/content/browser/data_file_browser_cld_data_provider.c c',
141 'translate/content/browser/data_file_browser_cld_data_provider.h ',
142 ]},
143 ],
144 ['cld2_data_source=="static"', {
145 'sources': [
146 'translate/content/browser/static_browser_cld_data_provider.cc',
147 'translate/content/browser/static_browser_cld_data_provider.h',
148 ]},
149 ],
150 ],
136 }, 151 },
137 { 152 {
138 'target_name': 'translate_content_common', 153 'target_name': 'translate_content_common',
139 'type': 'static_library', 154 'type': 'static_library',
140 'dependencies': [ 155 'dependencies': [
141 'translate_core_common', 156 'translate_core_common',
142 'translate_core_language_detection', 157 'translate_core_language_detection',
143 '../base/base.gyp:base', 158 '../base/base.gyp:base',
144 '../content/content.gyp:content_common', 159 '../content/content.gyp:content_common',
145 '../ipc/ipc.gyp:ipc', 160 '../ipc/ipc.gyp:ipc',
146 ], 161 ],
147 'include_dirs': [ 162 'include_dirs': [
148 '..', 163 '..',
149 ], 164 ],
150 'sources': [ 165 'sources': [
151 'translate/content/common/translate_messages.cc', 166 'translate/content/common/translate_messages.cc',
152 'translate/content/common/translate_messages.h', 167 'translate/content/common/translate_messages.h',
153 ], 168 ],
169 'conditions': [
170 ['cld2_data_source=="standalone" or cld2_data_source=="component"', {
171 'sources': [
172 'translate/content/common/data_file_cld_data_provider_messages. cc',
173 'translate/content/common/data_file_cld_data_provider_messages. h',
174 ]},
175 ],
176 ],
177 },
178 {
179 'target_name': 'translate_content_renderer',
180 'type': 'static_library',
181 'dependencies': [
182 '../base/base.gyp:base',
183 '../content/content.gyp:content_common',
184 '../ipc/ipc.gyp:ipc',
185 ],
186 'include_dirs': [
187 '..',
188 ],
189 'sources': [
190 'translate/content/renderer/renderer_cld_data_provider.h',
191 ],
192 'conditions': [
193 ['cld2_data_source=="standalone" or cld2_data_source=="component"', {
194 'sources': [
195 'translate/content/renderer/data_file_renderer_cld_data_provider .cc',
196 'translate/content/renderer/data_file_renderer_cld_data_provider .h',
197 ]},
198 ],
199 ['cld2_data_source=="static"', {
200 'sources': [
201 'translate/content/renderer/static_renderer_cld_data_provider.cc ',
202 'translate/content/renderer/static_renderer_cld_data_provider.h' ,
203 ]},
204 ],
205 ],
154 }, 206 },
155 ], 207 ],
156 }], 208 }],
157 ], 209 ],
158 } 210 }
OLDNEW
« no previous file with comments | « chrome/renderer/translate/translate_helper.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