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

Side by Side Diff: BUILD.gn

Issue 1800523005: Move core/src/ up to core/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | core/fdrm/crypto/fx_crypt.cpp » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//build_overrides/v8.gni") 5 import("//build_overrides/v8.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("pdfium.gni") 7 import("pdfium.gni")
8 8
9 config("pdfium_config") { 9 config("pdfium_config") {
10 cflags = [] 10 cflags = []
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 # Targets below this are only visible within this file (and to the 192 # Targets below this are only visible within this file (and to the
193 # top-level gn_visibility target used to help gn_all build everything). 193 # top-level gn_visibility target used to help gn_all build everything).
194 visibility = [ 194 visibility = [
195 ":*", 195 ":*",
196 "//:gn_visibility", 196 "//:gn_visibility",
197 ] 197 ]
198 198
199 static_library("fdrm") { 199 static_library("fdrm") {
200 sources = [ 200 sources = [
201 "core/fdrm/crypto/fx_crypt.cpp",
202 "core/fdrm/crypto/fx_crypt_aes.cpp",
203 "core/fdrm/crypto/fx_crypt_sha.cpp",
201 "core/include/fdrm/fx_crypt.h", 204 "core/include/fdrm/fx_crypt.h",
202 "core/src/fdrm/crypto/fx_crypt.cpp",
203 "core/src/fdrm/crypto/fx_crypt_aes.cpp",
204 "core/src/fdrm/crypto/fx_crypt_sha.cpp",
205 ] 205 ]
206 configs += [ ":pdfium_config" ] 206 configs += [ ":pdfium_config" ]
207 } 207 }
208 208
209 static_library("fpdfdoc") { 209 static_library("fpdfdoc") {
210 sources = [ 210 sources = [
211 "core/fpdfdoc/doc_action.cpp",
212 "core/fpdfdoc/doc_annot.cpp",
213 "core/fpdfdoc/doc_ap.cpp",
214 "core/fpdfdoc/doc_basic.cpp",
215 "core/fpdfdoc/doc_bookmark.cpp",
216 "core/fpdfdoc/doc_form.cpp",
217 "core/fpdfdoc/doc_formcontrol.cpp",
218 "core/fpdfdoc/doc_formfield.cpp",
219 "core/fpdfdoc/doc_link.cpp",
220 "core/fpdfdoc/doc_metadata.cpp",
221 "core/fpdfdoc/doc_ocg.cpp",
222 "core/fpdfdoc/doc_tagged.cpp",
223 "core/fpdfdoc/doc_utils.cpp",
224 "core/fpdfdoc/doc_utils.h",
225 "core/fpdfdoc/doc_viewerPreferences.cpp",
226 "core/fpdfdoc/doc_vt.cpp",
227 "core/fpdfdoc/doc_vtmodule.cpp",
228 "core/fpdfdoc/pdf_vt.h",
229 "core/fpdfdoc/tagged_int.h",
211 "core/include/fpdfdoc/fpdf_ap.h", 230 "core/include/fpdfdoc/fpdf_ap.h",
212 "core/include/fpdfdoc/fpdf_doc.h", 231 "core/include/fpdfdoc/fpdf_doc.h",
213 "core/include/fpdfdoc/fpdf_tagged.h", 232 "core/include/fpdfdoc/fpdf_tagged.h",
214 "core/include/fpdfdoc/fpdf_vt.h", 233 "core/include/fpdfdoc/fpdf_vt.h",
215 "core/src/fpdfdoc/doc_action.cpp",
216 "core/src/fpdfdoc/doc_annot.cpp",
217 "core/src/fpdfdoc/doc_ap.cpp",
218 "core/src/fpdfdoc/doc_basic.cpp",
219 "core/src/fpdfdoc/doc_bookmark.cpp",
220 "core/src/fpdfdoc/doc_form.cpp",
221 "core/src/fpdfdoc/doc_formcontrol.cpp",
222 "core/src/fpdfdoc/doc_formfield.cpp",
223 "core/src/fpdfdoc/doc_link.cpp",
224 "core/src/fpdfdoc/doc_metadata.cpp",
225 "core/src/fpdfdoc/doc_ocg.cpp",
226 "core/src/fpdfdoc/doc_tagged.cpp",
227 "core/src/fpdfdoc/doc_utils.cpp",
228 "core/src/fpdfdoc/doc_utils.h",
229 "core/src/fpdfdoc/doc_viewerPreferences.cpp",
230 "core/src/fpdfdoc/doc_vt.cpp",
231 "core/src/fpdfdoc/doc_vtmodule.cpp",
232 "core/src/fpdfdoc/pdf_vt.h",
233 "core/src/fpdfdoc/tagged_int.h",
234 ] 234 ]
235 configs += [ ":pdfium_config" ] 235 configs += [ ":pdfium_config" ]
236 } 236 }
237 237
238 static_library("fpdfapi") { 238 static_library("fpdfapi") {
239 sources = [ 239 sources = [
240 "core/fpdfapi/fpdf_basic_module.cpp",
241 "core/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
242 "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp",
243 "core/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp",
244 "core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp",
245 "core/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp",
246 "core/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp",
247 "core/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp",
248 "core/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp",
249 "core/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp",
250 "core/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp",
251 "core/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp",
252 "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
253 "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
254 "core/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
255 "core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp",
256 "core/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
257 "core/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp",
258 "core/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp",
259 "core/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp",
260 "core/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp",
261 "core/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp",
262 "core/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp",
263 "core/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp",
264 "core/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp",
265 "core/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp",
266 "core/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp",
267 "core/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp",
268 "core/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp",
269 "core/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp",
270 "core/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp",
271 "core/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp",
272 "core/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp",
273 "core/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp",
274 "core/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp",
275 "core/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp",
276 "core/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp",
277 "core/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp",
278 "core/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
279 "core/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp",
280 "core/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp",
281 "core/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp",
282 "core/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp",
283 "core/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp",
284 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
285 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
286 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
287 "core/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
288 "core/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp",
289 "core/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp",
290 "core/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
291 "core/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp",
292 "core/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp",
293 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
294 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
295 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp",
296 "core/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp",
297 "core/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp",
298 "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp",
299 "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp",
300 "core/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp",
301 "core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp",
302 "core/fpdfapi/fpdf_cmaps/cmap_int.h",
303 "core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp",
304 "core/fpdfapi/fpdf_edit/editint.h",
305 "core/fpdfapi/fpdf_edit/fpdf_edit_content.cpp",
306 "core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp",
307 "core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp",
308 "core/fpdfapi/fpdf_edit/fpdf_edit_image.cpp",
309 "core/fpdfapi/fpdf_font/font_int.h",
310 "core/fpdfapi/fpdf_font/fpdf_font.cpp",
311 "core/fpdfapi/fpdf_font/fpdf_font_charset.cpp",
312 "core/fpdfapi/fpdf_font/fpdf_font_cid.cpp",
313 "core/fpdfapi/fpdf_font/ttgsubtable.cpp",
314 "core/fpdfapi/fpdf_font/ttgsubtable.h",
315 "core/fpdfapi/fpdf_page/fpdf_page.cpp",
316 "core/fpdfapi/fpdf_page/fpdf_page_colors.cpp",
317 "core/fpdfapi/fpdf_page/fpdf_page_doc.cpp",
318 "core/fpdfapi/fpdf_page/fpdf_page_func.cpp",
319 "core/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp",
320 "core/fpdfapi/fpdf_page/fpdf_page_image.cpp",
321 "core/fpdfapi/fpdf_page/fpdf_page_parser.cpp",
322 "core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp",
323 "core/fpdfapi/fpdf_page/fpdf_page_path.cpp",
324 "core/fpdfapi/fpdf_page/fpdf_page_pattern.cpp",
325 "core/fpdfapi/fpdf_page/pageint.h",
326 "core/fpdfapi/fpdf_parser/cfdf_document.cpp",
327 "core/fpdfapi/fpdf_parser/cpdf_array.cpp",
328 "core/fpdfapi/fpdf_parser/cpdf_boolean.cpp",
329 "core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp",
330 "core/fpdfapi/fpdf_parser/cpdf_data_avail.h",
331 "core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp",
332 "core/fpdfapi/fpdf_parser/cpdf_document.cpp",
333 "core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp",
334 "core/fpdfapi/fpdf_parser/cpdf_hint_tables.h",
335 "core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.cpp",
336 "core/fpdfapi/fpdf_parser/cpdf_name.cpp",
337 "core/fpdfapi/fpdf_parser/cpdf_null.cpp",
338 "core/fpdfapi/fpdf_parser/cpdf_number.cpp",
339 "core/fpdfapi/fpdf_parser/cpdf_object.cpp",
340 "core/fpdfapi/fpdf_parser/cpdf_parser.cpp",
341 "core/fpdfapi/fpdf_parser/cpdf_reference.cpp",
342 "core/fpdfapi/fpdf_parser/cpdf_simple_parser.cpp",
343 "core/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.cpp",
344 "core/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.h",
345 "core/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp",
346 "core/fpdfapi/fpdf_parser/cpdf_standard_security_handler.h",
347 "core/fpdfapi/fpdf_parser/cpdf_stream.cpp",
348 "core/fpdfapi/fpdf_parser/cpdf_string.cpp",
349 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp",
350 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h",
351 "core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp",
352 "core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp",
353 "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h",
354 "core/fpdfapi/fpdf_render/fpdf_render.cpp",
355 "core/fpdfapi/fpdf_render/fpdf_render_cache.cpp",
356 "core/fpdfapi/fpdf_render/fpdf_render_image.cpp",
357 "core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp",
358 "core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp",
359 "core/fpdfapi/fpdf_render/fpdf_render_text.cpp",
360 "core/fpdfapi/fpdf_render/render_int.h",
240 "core/include/fpdfapi/cfdf_document.h", 361 "core/include/fpdfapi/cfdf_document.h",
241 "core/include/fpdfapi/cpdf_array.h", 362 "core/include/fpdfapi/cpdf_array.h",
242 "core/include/fpdfapi/cpdf_boolean.h", 363 "core/include/fpdfapi/cpdf_boolean.h",
243 "core/include/fpdfapi/cpdf_dictionary.h", 364 "core/include/fpdfapi/cpdf_dictionary.h",
244 "core/include/fpdfapi/cpdf_document.h", 365 "core/include/fpdfapi/cpdf_document.h",
245 "core/include/fpdfapi/cpdf_indirect_object_holder.h", 366 "core/include/fpdfapi/cpdf_indirect_object_holder.h",
246 "core/include/fpdfapi/cpdf_name.h", 367 "core/include/fpdfapi/cpdf_name.h",
247 "core/include/fpdfapi/cpdf_null.h", 368 "core/include/fpdfapi/cpdf_null.h",
248 "core/include/fpdfapi/cpdf_number.h", 369 "core/include/fpdfapi/cpdf_number.h",
249 "core/include/fpdfapi/cpdf_object.h", 370 "core/include/fpdfapi/cpdf_object.h",
250 "core/include/fpdfapi/cpdf_parser.h", 371 "core/include/fpdfapi/cpdf_parser.h",
251 "core/include/fpdfapi/cpdf_reference.h", 372 "core/include/fpdfapi/cpdf_reference.h",
252 "core/include/fpdfapi/cpdf_simple_parser.h", 373 "core/include/fpdfapi/cpdf_simple_parser.h",
253 "core/include/fpdfapi/cpdf_stream.h", 374 "core/include/fpdfapi/cpdf_stream.h",
254 "core/include/fpdfapi/cpdf_string.h", 375 "core/include/fpdfapi/cpdf_string.h",
255 "core/include/fpdfapi/fpdf_module.h", 376 "core/include/fpdfapi/fpdf_module.h",
256 "core/include/fpdfapi/fpdf_page.h", 377 "core/include/fpdfapi/fpdf_page.h",
257 "core/include/fpdfapi/fpdf_pageobj.h", 378 "core/include/fpdfapi/fpdf_pageobj.h",
258 "core/include/fpdfapi/fpdf_parser_decode.h", 379 "core/include/fpdfapi/fpdf_parser_decode.h",
259 "core/include/fpdfapi/fpdf_render.h", 380 "core/include/fpdfapi/fpdf_render.h",
260 "core/include/fpdfapi/fpdf_resource.h", 381 "core/include/fpdfapi/fpdf_resource.h",
261 "core/include/fpdfapi/fpdf_serial.h", 382 "core/include/fpdfapi/fpdf_serial.h",
262 "core/include/fpdfapi/ipdf_crypto_handler.h", 383 "core/include/fpdfapi/ipdf_crypto_handler.h",
263 "core/include/fpdfapi/ipdf_data_avail.h", 384 "core/include/fpdfapi/ipdf_data_avail.h",
264 "core/include/fpdfapi/ipdf_security_handler.h", 385 "core/include/fpdfapi/ipdf_security_handler.h",
265 "core/src/fpdfapi/fpdf_basic_module.cpp",
266 "core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
267 "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp",
268 "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp",
269 "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp",
270 "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp",
271 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp",
272 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp",
273 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp",
274 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp",
275 "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp",
276 "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp",
277 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
278 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
279 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
280 "core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp",
281 "core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
282 "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp",
283 "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp",
284 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp",
285 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp",
286 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp",
287 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp",
288 "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp",
289 "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp",
290 "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp",
291 "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp",
292 "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp",
293 "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp",
294 "core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp",
295 "core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp",
296 "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp",
297 "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp",
298 "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp",
299 "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp",
300 "core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp",
301 "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp",
302 "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp",
303 "core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
304 "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp",
305 "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp",
306 "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp",
307 "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp",
308 "core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp",
309 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
310 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
311 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
312 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
313 "core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp",
314 "core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp",
315 "core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
316 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp",
317 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp",
318 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
319 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
320 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp",
321 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp",
322 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp",
323 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp",
324 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp",
325 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp",
326 "core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp",
327 "core/src/fpdfapi/fpdf_cmaps/cmap_int.h",
328 "core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp",
329 "core/src/fpdfapi/fpdf_edit/editint.h",
330 "core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp",
331 "core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp",
332 "core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp",
333 "core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp",
334 "core/src/fpdfapi/fpdf_font/font_int.h",
335 "core/src/fpdfapi/fpdf_font/fpdf_font.cpp",
336 "core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp",
337 "core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp",
338 "core/src/fpdfapi/fpdf_font/ttgsubtable.cpp",
339 "core/src/fpdfapi/fpdf_font/ttgsubtable.h",
340 "core/src/fpdfapi/fpdf_page/fpdf_page.cpp",
341 "core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp",
342 "core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp",
343 "core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp",
344 "core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp",
345 "core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp",
346 "core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp",
347 "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp",
348 "core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp",
349 "core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp",
350 "core/src/fpdfapi/fpdf_page/pageint.h",
351 "core/src/fpdfapi/fpdf_parser/cfdf_document.cpp",
352 "core/src/fpdfapi/fpdf_parser/cpdf_array.cpp",
353 "core/src/fpdfapi/fpdf_parser/cpdf_boolean.cpp",
354 "core/src/fpdfapi/fpdf_parser/cpdf_data_avail.cpp",
355 "core/src/fpdfapi/fpdf_parser/cpdf_data_avail.h",
356 "core/src/fpdfapi/fpdf_parser/cpdf_dictionary.cpp",
357 "core/src/fpdfapi/fpdf_parser/cpdf_document.cpp",
358 "core/src/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp",
359 "core/src/fpdfapi/fpdf_parser/cpdf_hint_tables.h",
360 "core/src/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.cpp",
361 "core/src/fpdfapi/fpdf_parser/cpdf_name.cpp",
362 "core/src/fpdfapi/fpdf_parser/cpdf_null.cpp",
363 "core/src/fpdfapi/fpdf_parser/cpdf_number.cpp",
364 "core/src/fpdfapi/fpdf_parser/cpdf_object.cpp",
365 "core/src/fpdfapi/fpdf_parser/cpdf_parser.cpp",
366 "core/src/fpdfapi/fpdf_parser/cpdf_reference.cpp",
367 "core/src/fpdfapi/fpdf_parser/cpdf_simple_parser.cpp",
368 "core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.cpp",
369 "core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.h",
370 "core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp",
371 "core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.h",
372 "core/src/fpdfapi/fpdf_parser/cpdf_stream.cpp",
373 "core/src/fpdfapi/fpdf_parser/cpdf_string.cpp",
374 "core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp",
375 "core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h",
376 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp",
377 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp",
378 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.h",
379 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp",
380 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp",
381 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp",
382 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp",
383 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp",
384 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp",
385 "core/src/fpdfapi/fpdf_render/render_int.h",
386 ] 386 ]
387 configs += [ ":pdfium_config" ] 387 configs += [ ":pdfium_config" ]
388 } 388 }
389 389
390 static_library("fpdftext") { 390 static_library("fpdftext") {
391 sources = [ 391 sources = [
392 "core/fpdftext/fpdf_text_int.cpp",
393 "core/fpdftext/text_int.h",
394 "core/fpdftext/unicodenormalization.cpp",
395 "core/fpdftext/unicodenormalizationdata.cpp",
396 "core/fpdftext/unicodenormalizationdata.h",
392 "core/include/fpdftext/fpdf_text.h", 397 "core/include/fpdftext/fpdf_text.h",
393 "core/src/fpdftext/fpdf_text_int.cpp",
394 "core/src/fpdftext/text_int.h",
395 "core/src/fpdftext/unicodenormalization.cpp",
396 "core/src/fpdftext/unicodenormalizationdata.cpp",
397 "core/src/fpdftext/unicodenormalizationdata.h",
398 ] 398 ]
399 configs += [ ":pdfium_config" ] 399 configs += [ ":pdfium_config" ]
400 } 400 }
401 401
402 static_library("fxcodec") { 402 static_library("fxcodec") {
403 deps = [ 403 deps = [
404 "third_party:fx_lcms2", 404 "third_party:fx_lcms2",
405 "third_party:fx_libopenjpeg", 405 "third_party:fx_libopenjpeg",
406 "third_party:fx_zlib", 406 "third_party:fx_zlib",
407 407
408 # This is a generic JPEG library dependency. 408 # This is a generic JPEG library dependency.
409 "//third_party:jpeg", 409 "//third_party:jpeg",
410 ] 410 ]
411 sources = [ 411 sources = [
412 "core/fxcodec/codec/codec_int.h",
413 "core/fxcodec/codec/fx_codec.cpp",
414 "core/fxcodec/codec/fx_codec_fax.cpp",
415 "core/fxcodec/codec/fx_codec_flate.cpp",
416 "core/fxcodec/codec/fx_codec_icc.cpp",
417 "core/fxcodec/codec/fx_codec_jbig.cpp",
418 "core/fxcodec/codec/fx_codec_jpeg.cpp",
419 "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
420 "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
421 "core/fxcodec/jbig2/JBig2_ArithDecoder.h",
422 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
423 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
424 "core/fxcodec/jbig2/JBig2_BitStream.cpp",
425 "core/fxcodec/jbig2/JBig2_BitStream.h",
426 "core/fxcodec/jbig2/JBig2_Context.cpp",
427 "core/fxcodec/jbig2/JBig2_Context.h",
428 "core/fxcodec/jbig2/JBig2_Define.h",
429 "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
430 "core/fxcodec/jbig2/JBig2_GrdProc.h",
431 "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
432 "core/fxcodec/jbig2/JBig2_GrrdProc.h",
433 "core/fxcodec/jbig2/JBig2_GsidProc.cpp",
434 "core/fxcodec/jbig2/JBig2_GsidProc.h",
435 "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
436 "core/fxcodec/jbig2/JBig2_HtrdProc.h",
437 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
438 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
439 "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
440 "core/fxcodec/jbig2/JBig2_HuffmanTable.h",
441 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
442 "core/fxcodec/jbig2/JBig2_Image.cpp",
443 "core/fxcodec/jbig2/JBig2_Image.h",
444 "core/fxcodec/jbig2/JBig2_List.h",
445 "core/fxcodec/jbig2/JBig2_Page.h",
446 "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
447 "core/fxcodec/jbig2/JBig2_PatternDict.h",
448 "core/fxcodec/jbig2/JBig2_PddProc.cpp",
449 "core/fxcodec/jbig2/JBig2_PddProc.h",
450 "core/fxcodec/jbig2/JBig2_SddProc.cpp",
451 "core/fxcodec/jbig2/JBig2_SddProc.h",
452 "core/fxcodec/jbig2/JBig2_Segment.cpp",
453 "core/fxcodec/jbig2/JBig2_Segment.h",
454 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
455 "core/fxcodec/jbig2/JBig2_SymbolDict.h",
456 "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
457 "core/fxcodec/jbig2/JBig2_TrdProc.h",
412 "core/include/fxcodec/fx_codec.h", 458 "core/include/fxcodec/fx_codec.h",
413 "core/include/fxcodec/fx_codec_def.h", 459 "core/include/fxcodec/fx_codec_def.h",
414 "core/include/fxcodec/fx_codec_flate.h", 460 "core/include/fxcodec/fx_codec_flate.h",
415 "core/src/fxcodec/codec/codec_int.h",
416 "core/src/fxcodec/codec/fx_codec.cpp",
417 "core/src/fxcodec/codec/fx_codec_fax.cpp",
418 "core/src/fxcodec/codec/fx_codec_flate.cpp",
419 "core/src/fxcodec/codec/fx_codec_icc.cpp",
420 "core/src/fxcodec/codec/fx_codec_jbig.cpp",
421 "core/src/fxcodec/codec/fx_codec_jpeg.cpp",
422 "core/src/fxcodec/codec/fx_codec_jpx_opj.cpp",
423 "core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
424 "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h",
425 "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
426 "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
427 "core/src/fxcodec/jbig2/JBig2_BitStream.cpp",
428 "core/src/fxcodec/jbig2/JBig2_BitStream.h",
429 "core/src/fxcodec/jbig2/JBig2_Context.cpp",
430 "core/src/fxcodec/jbig2/JBig2_Context.h",
431 "core/src/fxcodec/jbig2/JBig2_Define.h",
432 "core/src/fxcodec/jbig2/JBig2_GrdProc.cpp",
433 "core/src/fxcodec/jbig2/JBig2_GrdProc.h",
434 "core/src/fxcodec/jbig2/JBig2_GrrdProc.cpp",
435 "core/src/fxcodec/jbig2/JBig2_GrrdProc.h",
436 "core/src/fxcodec/jbig2/JBig2_GsidProc.cpp",
437 "core/src/fxcodec/jbig2/JBig2_GsidProc.h",
438 "core/src/fxcodec/jbig2/JBig2_HtrdProc.cpp",
439 "core/src/fxcodec/jbig2/JBig2_HtrdProc.h",
440 "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
441 "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
442 "core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
443 "core/src/fxcodec/jbig2/JBig2_HuffmanTable.h",
444 "core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
445 "core/src/fxcodec/jbig2/JBig2_Image.cpp",
446 "core/src/fxcodec/jbig2/JBig2_Image.h",
447 "core/src/fxcodec/jbig2/JBig2_List.h",
448 "core/src/fxcodec/jbig2/JBig2_Page.h",
449 "core/src/fxcodec/jbig2/JBig2_PatternDict.cpp",
450 "core/src/fxcodec/jbig2/JBig2_PatternDict.h",
451 "core/src/fxcodec/jbig2/JBig2_PddProc.cpp",
452 "core/src/fxcodec/jbig2/JBig2_PddProc.h",
453 "core/src/fxcodec/jbig2/JBig2_SddProc.cpp",
454 "core/src/fxcodec/jbig2/JBig2_SddProc.h",
455 "core/src/fxcodec/jbig2/JBig2_Segment.cpp",
456 "core/src/fxcodec/jbig2/JBig2_Segment.h",
457 "core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp",
458 "core/src/fxcodec/jbig2/JBig2_SymbolDict.h",
459 "core/src/fxcodec/jbig2/JBig2_TrdProc.cpp",
460 "core/src/fxcodec/jbig2/JBig2_TrdProc.h",
461 ] 461 ]
462 include_dirs = [] 462 include_dirs = []
463 if (pdf_enable_xfa) { 463 if (pdf_enable_xfa) {
464 sources += [ 464 sources += [
465 "core/src/fxcodec/codec/fx_codec_bmp.cpp", 465 "core/fxcodec/codec/fx_codec_bmp.cpp",
466 "core/src/fxcodec/codec/fx_codec_gif.cpp", 466 "core/fxcodec/codec/fx_codec_gif.cpp",
467 "core/src/fxcodec/codec/fx_codec_png.cpp", 467 "core/fxcodec/codec/fx_codec_png.cpp",
468 "core/src/fxcodec/codec/fx_codec_progress.cpp", 468 "core/fxcodec/codec/fx_codec_progress.cpp",
469 "core/src/fxcodec/codec/fx_codec_progress.h", 469 "core/fxcodec/codec/fx_codec_progress.h",
470 "core/src/fxcodec/codec/fx_codec_tiff.cpp", 470 "core/fxcodec/codec/fx_codec_tiff.cpp",
471 "core/src/fxcodec/lbmp/fx_bmp.cpp", 471 "core/fxcodec/lbmp/fx_bmp.cpp",
472 "core/src/fxcodec/lbmp/fx_bmp.h", 472 "core/fxcodec/lbmp/fx_bmp.h",
473 "core/src/fxcodec/lgif/fx_gif.cpp", 473 "core/fxcodec/lgif/fx_gif.cpp",
474 "core/src/fxcodec/lgif/fx_gif.h", 474 "core/fxcodec/lgif/fx_gif.h",
475 ] 475 ]
476 deps += [ 476 deps += [
477 "third_party:fx_lpng", 477 "third_party:fx_lpng",
478 "third_party:fx_tiff", 478 "third_party:fx_tiff",
479 ] 479 ]
480 } 480 }
481 if (is_posix) { 481 if (is_posix) {
482 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int 482 # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
483 # conversion to check that an address is 16-bit aligned (benign). 483 # conversion to check that an address is 16-bit aligned (benign).
484 cflags_c = [ "-Wno-pointer-to-int-cast" ] 484 cflags_c = [ "-Wno-pointer-to-int-cast" ]
485 } 485 }
486 configs += [ ":pdfium_config" ] 486 configs += [ ":pdfium_config" ]
487 } 487 }
488 488
489 config("fxge_warnings") { 489 config("fxge_warnings") {
490 if (is_clang) { 490 if (is_clang) {
491 cflags = [ 491 cflags = [
492 # http://code.google.com/p/pdfium/issues/detail?id=188 492 # http://code.google.com/p/pdfium/issues/detail?id=188
493 "-Wno-switch", 493 "-Wno-switch",
494 ] 494 ]
495 } 495 }
496 } 496 }
497 497
498 static_library("fxcrt") { 498 static_library("fxcrt") {
499 sources = [ 499 sources = [
500 "core/fxcrt/extension.h",
501 "core/fxcrt/fx_basic_array.cpp",
502 "core/fxcrt/fx_basic_bstring.cpp",
503 "core/fxcrt/fx_basic_buffer.cpp",
504 "core/fxcrt/fx_basic_coords.cpp",
505 "core/fxcrt/fx_basic_gcc.cpp",
506 "core/fxcrt/fx_basic_list.cpp",
507 "core/fxcrt/fx_basic_memmgr.cpp",
508 "core/fxcrt/fx_basic_plex.cpp",
509 "core/fxcrt/fx_basic_utf.cpp",
510 "core/fxcrt/fx_basic_util.cpp",
511 "core/fxcrt/fx_basic_wstring.cpp",
512 "core/fxcrt/fx_bidi.cpp",
513 "core/fxcrt/fx_extension.cpp",
514 "core/fxcrt/fx_ucddata.cpp",
515 "core/fxcrt/fx_unicode.cpp",
516 "core/fxcrt/fx_xml_composer.cpp",
517 "core/fxcrt/fx_xml_parser.cpp",
518 "core/fxcrt/fxcrt_platforms.cpp",
519 "core/fxcrt/fxcrt_platforms.h",
520 "core/fxcrt/fxcrt_posix.cpp",
521 "core/fxcrt/fxcrt_posix.h",
522 "core/fxcrt/fxcrt_stream.cpp",
523 "core/fxcrt/fxcrt_windows.cpp",
524 "core/fxcrt/fxcrt_windows.h",
525 "core/fxcrt/plex.h",
526 "core/fxcrt/xml_int.h",
500 "core/include/fxcrt/fx_basic.h", 527 "core/include/fxcrt/fx_basic.h",
501 "core/include/fxcrt/fx_bidi.h", 528 "core/include/fxcrt/fx_bidi.h",
502 "core/include/fxcrt/fx_coordinates.h", 529 "core/include/fxcrt/fx_coordinates.h",
503 "core/include/fxcrt/fx_ext.h", 530 "core/include/fxcrt/fx_ext.h",
504 "core/include/fxcrt/fx_memory.h", 531 "core/include/fxcrt/fx_memory.h",
505 "core/include/fxcrt/fx_safe_types.h", 532 "core/include/fxcrt/fx_safe_types.h",
506 "core/include/fxcrt/fx_stream.h", 533 "core/include/fxcrt/fx_stream.h",
507 "core/include/fxcrt/fx_string.h", 534 "core/include/fxcrt/fx_string.h",
508 "core/include/fxcrt/fx_system.h", 535 "core/include/fxcrt/fx_system.h",
509 "core/include/fxcrt/fx_ucd.h", 536 "core/include/fxcrt/fx_ucd.h",
510 "core/include/fxcrt/fx_xml.h", 537 "core/include/fxcrt/fx_xml.h",
511 "core/src/fxcrt/extension.h",
512 "core/src/fxcrt/fx_basic_array.cpp",
513 "core/src/fxcrt/fx_basic_bstring.cpp",
514 "core/src/fxcrt/fx_basic_buffer.cpp",
515 "core/src/fxcrt/fx_basic_coords.cpp",
516 "core/src/fxcrt/fx_basic_gcc.cpp",
517 "core/src/fxcrt/fx_basic_list.cpp",
518 "core/src/fxcrt/fx_basic_memmgr.cpp",
519 "core/src/fxcrt/fx_basic_plex.cpp",
520 "core/src/fxcrt/fx_basic_utf.cpp",
521 "core/src/fxcrt/fx_basic_util.cpp",
522 "core/src/fxcrt/fx_basic_wstring.cpp",
523 "core/src/fxcrt/fx_bidi.cpp",
524 "core/src/fxcrt/fx_extension.cpp",
525 "core/src/fxcrt/fx_ucddata.cpp",
526 "core/src/fxcrt/fx_unicode.cpp",
527 "core/src/fxcrt/fx_xml_composer.cpp",
528 "core/src/fxcrt/fx_xml_parser.cpp",
529 "core/src/fxcrt/fxcrt_platforms.cpp",
530 "core/src/fxcrt/fxcrt_platforms.h",
531 "core/src/fxcrt/fxcrt_posix.cpp",
532 "core/src/fxcrt/fxcrt_posix.h",
533 "core/src/fxcrt/fxcrt_stream.cpp",
534 "core/src/fxcrt/fxcrt_windows.cpp",
535 "core/src/fxcrt/fxcrt_windows.h",
536 "core/src/fxcrt/plex.h",
537 "core/src/fxcrt/xml_int.h",
538 ] 538 ]
539 if (pdf_enable_xfa) { 539 if (pdf_enable_xfa) {
540 sources += [ 540 sources += [
541 "core/fxcrt/fx_arabic.cpp",
542 "core/fxcrt/fx_arabic.h",
543 "core/fxcrt/fx_basic_maps.cpp",
541 "core/include/fxcrt/fx_arb.h", 544 "core/include/fxcrt/fx_arb.h",
542 "core/src/fxcrt/fx_arabic.cpp",
543 "core/src/fxcrt/fx_arabic.h",
544 "core/src/fxcrt/fx_basic_maps.cpp",
545 ] 545 ]
546 } 546 }
547 configs += [ ":pdfium_config" ] 547 configs += [ ":pdfium_config" ]
548 } 548 }
549 549
550 static_library("fxge") { 550 static_library("fxge") {
551 deps = [ 551 deps = [
552 "third_party:fx_agg", 552 "third_party:fx_agg",
553 ] 553 ]
554 sources = [ 554 sources = [
555 "core/fxge/agg/fx_agg_driver.cpp",
556 "core/fxge/agg/fx_agg_driver.h",
557 "core/fxge/android/fpf_skiafont.cpp",
558 "core/fxge/android/fpf_skiafont.h",
559 "core/fxge/android/fpf_skiafontmgr.cpp",
560 "core/fxge/android/fpf_skiafontmgr.h",
561 "core/fxge/android/fpf_skiamodule.cpp",
562 "core/fxge/android/fpf_skiamodule.h",
563 "core/fxge/android/fx_android_font.cpp",
564 "core/fxge/android/fx_android_font.h",
565 "core/fxge/android/fx_android_imp.cpp",
566 "core/fxge/apple/apple_int.h",
567 "core/fxge/apple/fx_apple_platform.cpp",
568 "core/fxge/apple/fx_mac_imp.cpp",
569 "core/fxge/apple/fx_quartz_device.cpp",
570 "core/fxge/dib/dib_int.h",
571 "core/fxge/dib/fx_dib_composite.cpp",
572 "core/fxge/dib/fx_dib_convert.cpp",
573 "core/fxge/dib/fx_dib_engine.cpp",
574 "core/fxge/dib/fx_dib_main.cpp",
575 "core/fxge/dib/fx_dib_transform.cpp",
576 "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
577 "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
578 "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
579 "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
580 "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
581 "core/fxge/fontdata/chromefontdata/FoxitSans.cpp",
582 "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
583 "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
584 "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
585 "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
586 "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
587 "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
588 "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
589 "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
590 "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
591 "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
592 "core/fxge/fontdata/chromefontdata/chromefontdata.h",
593 "core/fxge/freetype/fx_freetype.cpp",
594 "core/fxge/ge/fx_ge.cpp",
595 "core/fxge/ge/fx_ge_device.cpp",
596 "core/fxge/ge/fx_ge_font.cpp",
597 "core/fxge/ge/fx_ge_fontmap.cpp",
598 "core/fxge/ge/fx_ge_linux.cpp",
599 "core/fxge/ge/fx_ge_path.cpp",
600 "core/fxge/ge/fx_ge_ps.cpp",
601 "core/fxge/ge/fx_ge_text.cpp",
602 "core/fxge/ge/fx_text_int.h",
555 "core/include/fxge/fpf.h", 603 "core/include/fxge/fpf.h",
556 "core/include/fxge/fx_dib.h", 604 "core/include/fxge/fx_dib.h",
557 "core/include/fxge/fx_font.h", 605 "core/include/fxge/fx_font.h",
558 "core/include/fxge/fx_freetype.h", 606 "core/include/fxge/fx_freetype.h",
559 "core/include/fxge/fx_ge.h", 607 "core/include/fxge/fx_ge.h",
560 "core/include/fxge/fx_ge_apple.h", 608 "core/include/fxge/fx_ge_apple.h",
561 "core/include/fxge/fx_ge_win32.h", 609 "core/include/fxge/fx_ge_win32.h",
562 "core/src/fxge/agg/fx_agg_driver.cpp",
563 "core/src/fxge/agg/fx_agg_driver.h",
564 "core/src/fxge/android/fpf_skiafont.cpp",
565 "core/src/fxge/android/fpf_skiafont.h",
566 "core/src/fxge/android/fpf_skiafontmgr.cpp",
567 "core/src/fxge/android/fpf_skiafontmgr.h",
568 "core/src/fxge/android/fpf_skiamodule.cpp",
569 "core/src/fxge/android/fpf_skiamodule.h",
570 "core/src/fxge/android/fx_android_font.cpp",
571 "core/src/fxge/android/fx_android_font.h",
572 "core/src/fxge/android/fx_android_imp.cpp",
573 "core/src/fxge/apple/apple_int.h",
574 "core/src/fxge/apple/fx_apple_platform.cpp",
575 "core/src/fxge/apple/fx_mac_imp.cpp",
576 "core/src/fxge/apple/fx_quartz_device.cpp",
577 "core/src/fxge/dib/dib_int.h",
578 "core/src/fxge/dib/fx_dib_composite.cpp",
579 "core/src/fxge/dib/fx_dib_convert.cpp",
580 "core/src/fxge/dib/fx_dib_engine.cpp",
581 "core/src/fxge/dib/fx_dib_main.cpp",
582 "core/src/fxge/dib/fx_dib_transform.cpp",
583 "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
584 "core/src/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
585 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
586 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
587 "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
588 "core/src/fxge/fontdata/chromefontdata/FoxitSans.cpp",
589 "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
590 "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
591 "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
592 "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
593 "core/src/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
594 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
595 "core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
596 "core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
597 "core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
598 "core/src/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
599 "core/src/fxge/fontdata/chromefontdata/chromefontdata.h",
600 "core/src/fxge/freetype/fx_freetype.cpp",
601 "core/src/fxge/ge/fx_ge.cpp",
602 "core/src/fxge/ge/fx_ge_device.cpp",
603 "core/src/fxge/ge/fx_ge_font.cpp",
604 "core/src/fxge/ge/fx_ge_fontmap.cpp",
605 "core/src/fxge/ge/fx_ge_linux.cpp",
606 "core/src/fxge/ge/fx_ge_path.cpp",
607 "core/src/fxge/ge/fx_ge_ps.cpp",
608 "core/src/fxge/ge/fx_ge_text.cpp",
609 "core/src/fxge/ge/fx_text_int.h",
610 ] 610 ]
611 611
612 configs += [ 612 configs += [
613 ":fxge_warnings", 613 ":fxge_warnings",
614 ":pdfium_config", 614 ":pdfium_config",
615 ] 615 ]
616 616
617 if (pdf_use_skia) { 617 if (pdf_use_skia) {
618 sources = [ 618 sources = [
619 "core/src/fxge/skia/fx_skia_device.cpp", 619 "core/fxge/skia/fx_skia_device.cpp",
620 ] 620 ]
621 deps = [ 621 deps = [
622 "//skia", 622 "//skia",
623 ] 623 ]
624 } 624 }
625 625
626 if (is_win) { 626 if (is_win) {
627 sources += [ 627 sources += [
628 "core/src/fxge/win32/dwrite_int.h", 628 "core/fxge/win32/dwrite_int.h",
629 "core/src/fxge/win32/fx_win32_device.cpp", 629 "core/fxge/win32/fx_win32_device.cpp",
630 "core/src/fxge/win32/fx_win32_dib.cpp", 630 "core/fxge/win32/fx_win32_dib.cpp",
631 "core/src/fxge/win32/fx_win32_dwrite.cpp", 631 "core/fxge/win32/fx_win32_dwrite.cpp",
632 "core/src/fxge/win32/fx_win32_gdipext.cpp", 632 "core/fxge/win32/fx_win32_gdipext.cpp",
633 "core/src/fxge/win32/fx_win32_print.cpp", 633 "core/fxge/win32/fx_win32_print.cpp",
634 "core/src/fxge/win32/win32_int.h", 634 "core/fxge/win32/win32_int.h",
635 ] 635 ]
636 configs -= [ "//build/config/win:lean_and_mean" ] 636 configs -= [ "//build/config/win:lean_and_mean" ]
637 } 637 }
638 } 638 }
639 639
640 static_library("fxedit") { 640 static_library("fxedit") {
641 sources = [ 641 sources = [
642 "fpdfsdk/include/fxedit/fx_edit.h", 642 "fpdfsdk/include/fxedit/fx_edit.h",
643 "fpdfsdk/include/fxedit/fxet_edit.h", 643 "fpdfsdk/include/fxedit/fxet_edit.h",
644 "fpdfsdk/include/fxedit/fxet_list.h", 644 "fpdfsdk/include/fxedit/fxet_list.h",
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
1438 configs -= [ "//build/config/compiler:chromium_code" ] 1438 configs -= [ "//build/config/compiler:chromium_code" ]
1439 configs += [ 1439 configs += [
1440 ":pdfium_config", 1440 ":pdfium_config",
1441 "//build/config/compiler:no_chromium_code", 1441 "//build/config/compiler:no_chromium_code",
1442 ] 1442 ]
1443 } 1443 }
1444 } 1444 }
1445 1445
1446 test("pdfium_unittests") { 1446 test("pdfium_unittests") {
1447 sources = [ 1447 sources = [
1448 "core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp", 1448 "core/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp",
1449 "core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp", 1449 "core/fpdfapi/fpdf_font/fpdf_font_unittest.cpp",
1450 "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp", 1450 "core/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp",
1451 "core/src/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp", 1451 "core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp",
1452 "core/src/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp", 1452 "core/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp",
1453 "core/src/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp", 1453 "core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp",
1454 "core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp", 1454 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp",
1455 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", 1455 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp",
1456 "core/src/fpdfdoc/doc_basic_unittest.cpp", 1456 "core/fpdfdoc/doc_basic_unittest.cpp",
1457 "core/src/fpdftext/fpdf_text_int_unittest.cpp", 1457 "core/fpdftext/fpdf_text_int_unittest.cpp",
1458 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", 1458 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
1459 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", 1459 "core/fxcrt/fx_basic_bstring_unittest.cpp",
1460 "core/src/fxcrt/fx_basic_gcc_unittest.cpp", 1460 "core/fxcrt/fx_basic_gcc_unittest.cpp",
1461 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", 1461 "core/fxcrt/fx_basic_memmgr_unittest.cpp",
1462 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", 1462 "core/fxcrt/fx_basic_wstring_unittest.cpp",
1463 "core/src/fxcrt/fx_bidi_unittest.cpp", 1463 "core/fxcrt/fx_bidi_unittest.cpp",
1464 "core/src/fxcrt/fx_extension_unittest.cpp", 1464 "core/fxcrt/fx_extension_unittest.cpp",
1465 "core/src/fxcrt/fx_system_unittest.cpp", 1465 "core/fxcrt/fx_system_unittest.cpp",
1466 "fpdfsdk/src/fpdfdoc_unittest.cpp", 1466 "fpdfsdk/src/fpdfdoc_unittest.cpp",
1467 ] 1467 ]
1468 deps = [ 1468 deps = [
1469 ":pdfium", 1469 ":pdfium",
1470 ":test_support", 1470 ":test_support",
1471 "//testing/gtest", 1471 "//testing/gtest",
1472 "//testing/gtest:gtest_main", 1472 "//testing/gtest:gtest_main",
1473 ] 1473 ]
1474 if (pdf_enable_xfa) { 1474 if (pdf_enable_xfa) {
1475 sources += [ 1475 sources += [
1476 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", 1476 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
1477 "xfa/src/fxfa/parser/xfa_utils_imp_unittest.cpp", 1477 "xfa/src/fxfa/parser/xfa_utils_imp_unittest.cpp",
1478 ] 1478 ]
1479 } 1479 }
1480 configs += [ ":pdfium_config" ] 1480 configs += [ ":pdfium_config" ]
1481 } 1481 }
1482 1482
1483 test("pdfium_embeddertests") { 1483 test("pdfium_embeddertests") {
1484 sources = [ 1484 sources = [
1485 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", 1485 "core/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp",
1486 "core/src/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp", 1486 "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp",
1487 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", 1487 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp",
1488 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp", 1488 "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp",
1489 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", 1489 "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
1490 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", 1490 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp",
1491 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", 1491 "fpdfsdk/src/fpdfdoc_embeddertest.cpp",
1492 "fpdfsdk/src/fpdfedit_embeddertest.cpp", 1492 "fpdfsdk/src/fpdfedit_embeddertest.cpp",
1493 "fpdfsdk/src/fpdfext_embeddertest.cpp", 1493 "fpdfsdk/src/fpdfext_embeddertest.cpp",
1494 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", 1494 "fpdfsdk/src/fpdfformfill_embeddertest.cpp",
1495 "fpdfsdk/src/fpdfsave_embeddertest.cpp", 1495 "fpdfsdk/src/fpdfsave_embeddertest.cpp",
1496 "fpdfsdk/src/fpdftext_embeddertest.cpp", 1496 "fpdfsdk/src/fpdftext_embeddertest.cpp",
1497 "fpdfsdk/src/fpdfview_c_api_test.c", 1497 "fpdfsdk/src/fpdfview_c_api_test.c",
1498 "fpdfsdk/src/fpdfview_c_api_test.h", 1498 "fpdfsdk/src/fpdfview_c_api_test.h",
1499 "fpdfsdk/src/fpdfview_embeddertest.cpp", 1499 "fpdfsdk/src/fpdfview_embeddertest.cpp",
(...skipping 23 matching lines...) Expand all
1523 "//v8:v8_libplatform", 1523 "//v8:v8_libplatform",
1524 ] 1524 ]
1525 include_dirs += [ 1525 include_dirs += [
1526 "//v8", 1526 "//v8",
1527 "//v8/include", 1527 "//v8/include",
1528 ] 1528 ]
1529 configs += [ "//v8:external_startup_data" ] 1529 configs += [ "//v8:external_startup_data" ]
1530 } 1530 }
1531 configs += [ ":pdfium_config" ] 1531 configs += [ ":pdfium_config" ]
1532 } 1532 }
OLDNEW
« no previous file with comments | « no previous file | core/fdrm/crypto/fx_crypt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698