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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
131 'dependencies': [ | 131 'dependencies': [ |
132 'translate_core_browser', | 132 'translate_core_browser', |
133 '../base/base.gyp:base', | 133 '../base/base.gyp:base', |
134 '../content/content.gyp:content_browser', | 134 '../content/content.gyp:content_browser', |
135 ], | 135 ], |
136 'include_dirs': [ | 136 'include_dirs': [ |
137 '..', | 137 '..', |
138 ], | 138 ], |
139 'sources': [ | 139 'sources': [ |
140 # Note: sources list duplicated in GN build. | 140 # Note: sources list duplicated in GN build. |
141 'translate/content/browser/browser_cld_data_provider.cc', | |
141 'translate/content/browser/browser_cld_data_provider.h', | 142 'translate/content/browser/browser_cld_data_provider.h', |
143 'translate/content/browser/browser_cld_data_provider_factory.cc', | |
144 'translate/content/browser/browser_cld_data_provider_factory.h', | |
142 'translate/content/browser/content_translate_driver.cc', | 145 'translate/content/browser/content_translate_driver.cc', |
143 'translate/content/browser/content_translate_driver.h', | 146 'translate/content/browser/content_translate_driver.h', |
144 ], | 147 #'translate/content/browser/data_file_browser_cld_data_provider.cc', |
Andrew Hayden (chromium.org)
2014/09/26 10:22:49
Just include these all the time?
Andrew Hayden (chromium.org)
2014/10/28 15:18:39
Done.
| |
145 'conditions': [ | 148 #'translate/content/browser/data_file_browser_cld_data_provider.h', |
146 ['cld2_data_source=="standalone" or cld2_data_source=="component"', { | 149 'translate/content/browser/static_browser_cld_data_provider.cc', |
147 'sources': [ | 150 'translate/content/browser/static_browser_cld_data_provider.h', |
148 'translate/content/browser/data_file_browser_cld_data_provider.c c', | 151 'translate/content/browser/static_browser_cld_data_provider_factory. cc', |
149 'translate/content/browser/data_file_browser_cld_data_provider.h ', | 152 'translate/content/browser/static_browser_cld_data_provider_factory. h', |
150 ]}, | |
151 ], | |
152 ['cld2_data_source=="static"', { | |
153 'sources': [ | |
154 'translate/content/browser/static_browser_cld_data_provider.cc', | |
155 'translate/content/browser/static_browser_cld_data_provider.h', | |
156 ]}, | |
157 ], | |
158 ], | 153 ], |
159 }, | 154 }, |
160 { | 155 { |
161 # GN version: //components/translate/content/common | 156 # GN version: //components/translate/content/common |
162 'target_name': 'translate_content_common', | 157 'target_name': 'translate_content_common', |
163 'type': 'static_library', | 158 'type': 'static_library', |
164 'dependencies': [ | 159 'dependencies': [ |
165 'translate_core_common', | 160 'translate_core_common', |
166 'translate_core_language_detection', | 161 'translate_core_language_detection', |
167 '../base/base.gyp:base', | 162 '../base/base.gyp:base', |
168 '../content/content.gyp:content_common', | 163 '../content/content.gyp:content_common', |
169 '../ipc/ipc.gyp:ipc', | 164 '../ipc/ipc.gyp:ipc', |
170 ], | 165 ], |
171 'include_dirs': [ | 166 'include_dirs': [ |
172 '..', | 167 '..', |
173 ], | 168 ], |
174 'sources': [ | 169 'sources': [ |
175 # Note: sources list duplicated in GN build. | 170 # Note: sources list duplicated in GN build. |
176 'translate/content/common/translate_messages.cc', | 171 'translate/content/common/translate_messages.cc', |
177 'translate/content/common/translate_messages.h', | 172 'translate/content/common/translate_messages.h', |
173 'translate/content/common/cld_data_source.cc', | |
178 'translate/content/common/cld_data_source.h', | 174 'translate/content/common/cld_data_source.h', |
179 ], | 175 #'translate/content/common/data_file_cld_data_provider_messages.cc', |
Andrew Hayden (chromium.org)
2014/09/26 10:22:49
Just include these all the time?
Andrew Hayden (chromium.org)
2014/10/28 15:18:39
Done.
| |
180 'conditions': [ | 176 #'translate/content/common/data_file_cld_data_provider_messages.h', |
181 ['cld2_data_source=="standalone" or cld2_data_source=="component"', { | |
182 'sources': [ | |
183 'translate/content/common/data_file_cld_data_provider_messages. cc', | |
184 'translate/content/common/data_file_cld_data_provider_messages. h', | |
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 ], | |
202 ], | 177 ], |
203 }, | 178 }, |
204 { | 179 { |
205 # GN version: //components/translate/content/renderer | 180 # GN version: //components/translate/content/renderer |
206 'target_name': 'translate_content_renderer', | 181 'target_name': 'translate_content_renderer', |
207 'type': 'static_library', | 182 'type': 'static_library', |
208 'dependencies': [ | 183 'dependencies': [ |
209 'translate_content_common', | 184 'translate_content_common', |
210 'translate_core_common', | 185 'translate_core_common', |
211 'translate_core_language_detection', | 186 'translate_core_language_detection', |
212 '../base/base.gyp:base', | 187 '../base/base.gyp:base', |
213 '../content/content.gyp:content_common', | 188 '../content/content.gyp:content_common', |
214 '../content/content.gyp:content_renderer', | 189 '../content/content.gyp:content_renderer', |
215 '../ipc/ipc.gyp:ipc', | 190 '../ipc/ipc.gyp:ipc', |
216 '../third_party/WebKit/public/blink.gyp:blink', | 191 '../third_party/WebKit/public/blink.gyp:blink', |
217 '../url/url.gyp:url_lib', | 192 '../url/url.gyp:url_lib', |
218 '../v8/tools/gyp/v8.gyp:v8', | 193 '../v8/tools/gyp/v8.gyp:v8', |
219 ], | 194 ], |
220 'include_dirs': [ | 195 'include_dirs': [ |
221 '..', | 196 '..', |
222 ], | 197 ], |
223 'sources': [ | 198 'sources': [ |
224 # Note: sources list duplicated in GN build. | 199 # Note: sources list duplicated in GN build. |
200 'translate/content/renderer/renderer_cld_data_provider.cc', | |
225 'translate/content/renderer/renderer_cld_data_provider.h', | 201 'translate/content/renderer/renderer_cld_data_provider.h', |
226 'translate/content/renderer/translate_helper.cc', | 202 'translate/content/renderer/translate_helper.cc', |
227 'translate/content/renderer/translate_helper.h', | 203 'translate/content/renderer/translate_helper.h', |
204 #'translate/content/renderer/data_file_renderer_cld_data_provider.cc ', | |
205 #'translate/content/renderer/data_file_renderer_cld_data_provider.h' , | |
Andrew Hayden (chromium.org)
2014/09/26 10:22:49
Just include these all the time?
Andrew Hayden (chromium.org)
2014/10/28 15:18:39
Done.
| |
206 'translate/content/renderer/static_renderer_cld_data_provider.cc', | |
207 'translate/content/renderer/static_renderer_cld_data_provider.h', | |
228 ], | 208 ], |
229 'conditions': [ | 209 'conditions': [ |
230 ['cld_version==0 or cld_version==2', { | 210 ['cld_version==0 or cld_version==2', { |
231 'dependencies': [ | 211 'dependencies': [ |
232 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2', | 212 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2', |
233 ], | 213 ], |
234 }], | 214 }], |
235 ['cld2_data_source=="standalone" or cld2_data_source=="component"', { | |
236 'sources': [ | |
237 'translate/content/renderer/data_file_renderer_cld_data_provider .cc', | |
238 'translate/content/renderer/data_file_renderer_cld_data_provider .h', | |
239 ]}, | |
240 ], | |
241 ['cld2_data_source=="static"', { | |
242 'sources': [ | |
243 'translate/content/renderer/static_renderer_cld_data_provider.cc ', | |
244 'translate/content/renderer/static_renderer_cld_data_provider.h' , | |
245 ]}, | |
246 ], | |
247 ], | 215 ], |
248 }, | 216 }, |
249 ], | 217 ], |
250 }], | 218 }], |
251 ], | 219 ], |
252 } | 220 } |
OLD | NEW |