1# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build_overrides/v8.gni")
6import("//testing/test.gni")
7import("pdfium.gni")
8
9config("pdfium_config") {
10  cflags = []
11  include_dirs = [
12    ".",
13    "third_party/freetype/include",
14    "third_party/freetype/include/freetype",
15  ]
16  defines = [
17    "OPJ_STATIC",
18    "PNG_PREFIX",
19    "PNGPREFIX_H",
20    "PNG_USE_READ_MACROS",
21    "V8_DEPRECATION_WARNINGS",
22    "_CRT_SECURE_NO_WARNINGS",
23  ]
24
25  if (pdf_use_skia) {
26    defines += [ "_SKIA_SUPPORT_" ]
27  }
28
29  if (pdf_enable_v8) {
30    defines += [ "PDF_ENABLE_V8" ]
31  }
32
33  if (pdf_enable_xfa) {
34    defines += [ "PDF_ENABLE_XFA" ]
35  }
36
37  if (is_linux) {
38    if (current_cpu == "x64") {
39      defines += [ "_FX_CPU_=_FX_X64_" ]
40      cflags += [ "-fPIC" ]
41    } else if (current_cpu == "x86") {
42      defines += [ "_FX_CPU_=_FX_X86_" ]
43    }
44  }
45
46  if (is_win) {
47    cflags += [
48      "/wd4005",
49      "/wd4018",
50      "/wd4146",
51      "/wd4333",
52      "/wd4345",
53      "/wd4267",
54
55      # TODO(thestig): Fix all instances, remove this, pdfium:29
56      "/wd4245",
57      "/wd4310",
58      "/wd4389",
59      "/wd4701",
60      "/wd4702",
61      "/wd4706",
62      "/wd4800",
63    ]
64  }
65
66  if (is_clang) {
67    # TODO(thestig): Fix all instances, remove this, pdfium:29
68    cflags += [ "-Wno-sign-compare" ]
69  }
70}
71
72static_library("pdfium") {
73  sources = [
74    "fpdfsdk/include/fsdk_actionhandler.h",
75    "fpdfsdk/include/fsdk_annothandler.h",
76    "fpdfsdk/include/fsdk_baseannot.h",
77    "fpdfsdk/include/fsdk_baseform.h",
78    "fpdfsdk/src/fpdf_dataavail.cpp",
79    "fpdfsdk/src/fpdf_ext.cpp",
80    "fpdfsdk/src/fpdf_flatten.cpp",
81    "fpdfsdk/src/fpdf_progressive.cpp",
82    "fpdfsdk/src/fpdf_searchex.cpp",
83    "fpdfsdk/src/fpdf_sysfontinfo.cpp",
84    "fpdfsdk/src/fpdf_transformpage.cpp",
85    "fpdfsdk/src/fpdfdoc.cpp",
86    "fpdfsdk/src/fpdfeditimg.cpp",
87    "fpdfsdk/src/fpdfeditpage.cpp",
88    "fpdfsdk/src/fpdfformfill.cpp",
89    "fpdfsdk/src/fpdfppo.cpp",
90    "fpdfsdk/src/fpdfsave.cpp",
91    "fpdfsdk/src/fpdftext.cpp",
92    "fpdfsdk/src/fpdfview.cpp",
93    "fpdfsdk/src/fsdk_actionhandler.cpp",
94    "fpdfsdk/src/fsdk_annothandler.cpp",
95    "fpdfsdk/src/fsdk_baseannot.cpp",
96    "fpdfsdk/src/fsdk_baseform.cpp",
97    "fpdfsdk/src/fsdk_mgr.cpp",
98    "fpdfsdk/src/fsdk_rendercontext.cpp",
99    "public/fpdf_dataavail.h",
100    "public/fpdf_doc.h",
101    "public/fpdf_edit.h",
102    "public/fpdf_ext.h",
103    "public/fpdf_flatten.h",
104    "public/fpdf_formfill.h",
105    "public/fpdf_fwlevent.h",
106    "public/fpdf_ppo.h",
107    "public/fpdf_progressive.h",
108    "public/fpdf_save.h",
109    "public/fpdf_searchex.h",
110    "public/fpdf_sysfontinfo.h",
111    "public/fpdf_text.h",
112    "public/fpdf_transformpage.h",
113    "public/fpdfview.h",
114  ]
115
116  libs = []
117  configs += [ ":pdfium_config" ]
118
119  deps = [
120    "third_party:bigint",
121    "third_party:pdfium_base",
122    ":fdrm",
123    ":formfiller",
124    ":fpdfapi",
125    ":fpdfdoc",
126    ":fpdftext",
127    ":fxcodec",
128    ":fxcrt",
129    ":fxedit",
130    ":fxge",
131    ":javascript",
132    ":pdfwindow",
133  ]
134
135  if (pdf_enable_xfa) {
136    deps += [
137      ":fpdfxfa",
138    ]
139  }
140
141  if (is_win) {
142    libs += [
143      "advapi32.lib",
144      "gdi32.lib",
145      "user32.lib",
146    ]
147  }
148
149  if (is_mac) {
150    libs += [
151      "AppKit.framework",
152      "CoreFoundation.framework",
153    ]
154  }
155
156  if (pdfium_bundle_freetype) {
157    deps += [ "third_party:fx_freetype" ]
158  } else {
159    libs += [ "freetype" ]
160  }
161}
162
163source_set("test_support") {
164  testonly = true
165  sources = [
166    "testing/fx_string_testhelpers.cpp",
167    "testing/fx_string_testhelpers.h",
168    "testing/test_support.cpp",
169    "testing/test_support.h",
170    "testing/utils/path_service.cpp",
171  ]
172  deps = [
173    "//testing/gmock",
174    "//testing/gtest",
175    ":pdfium",
176  ]
177  include_dirs = []
178  if (pdf_enable_v8) {
179    deps += [
180      "//v8",
181      "//v8:v8_libplatform",
182    ]
183    include_dirs += [
184      "//v8",
185      "//v8/include",
186    ]
187    configs += [ "//v8:external_startup_data" ]
188  }
189  configs += [ ":pdfium_config" ]
190}
191
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).
194visibility = [
195  ":*",
196  "//:gn_visibility",
197]
198
199static_library("fdrm") {
200  sources = [
201    "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  ]
206  configs += [ ":pdfium_config" ]
207}
208
209static_library("fpdfdoc") {
210  sources = [
211    "core/include/fpdfdoc/fpdf_ap.h",
212    "core/include/fpdfdoc/fpdf_doc.h",
213    "core/include/fpdfdoc/fpdf_tagged.h",
214    "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  ]
235  configs += [ ":pdfium_config" ]
236}
237
238static_library("fpdfapi") {
239  sources = [
240    "core/include/fpdfapi/fpdf_module.h",
241    "core/include/fpdfapi/fpdf_objects.h",
242    "core/include/fpdfapi/fpdf_page.h",
243    "core/include/fpdfapi/fpdf_pageobj.h",
244    "core/include/fpdfapi/fpdf_parser.h",
245    "core/include/fpdfapi/fpdf_render.h",
246    "core/include/fpdfapi/fpdf_resource.h",
247    "core/include/fpdfapi/fpdf_serial.h",
248    "core/src/fpdfapi/fpdf_basic_module.cpp",
249    "core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
250    "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp",
251    "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp",
252    "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp",
253    "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp",
254    "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp",
255    "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp",
256    "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp",
257    "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp",
258    "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp",
259    "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp",
260    "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
261    "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
262    "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
263    "core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp",
264    "core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
265    "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp",
266    "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp",
267    "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp",
268    "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp",
269    "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp",
270    "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp",
271    "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp",
272    "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp",
273    "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp",
274    "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp",
275    "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp",
276    "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp",
277    "core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp",
278    "core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp",
279    "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp",
280    "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp",
281    "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp",
282    "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp",
283    "core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp",
284    "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp",
285    "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp",
286    "core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
287    "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp",
288    "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp",
289    "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp",
290    "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp",
291    "core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp",
292    "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
293    "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
294    "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
295    "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
296    "core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp",
297    "core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp",
298    "core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
299    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp",
300    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp",
301    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
302    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
303    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp",
304    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp",
305    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp",
306    "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp",
307    "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp",
308    "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp",
309    "core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp",
310    "core/src/fpdfapi/fpdf_cmaps/cmap_int.h",
311    "core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp",
312    "core/src/fpdfapi/fpdf_edit/editint.h",
313    "core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp",
314    "core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp",
315    "core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp",
316    "core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp",
317    "core/src/fpdfapi/fpdf_font/font_int.h",
318    "core/src/fpdfapi/fpdf_font/fpdf_font.cpp",
319    "core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp",
320    "core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp",
321    "core/src/fpdfapi/fpdf_font/ttgsubtable.cpp",
322    "core/src/fpdfapi/fpdf_font/ttgsubtable.h",
323    "core/src/fpdfapi/fpdf_page/fpdf_page.cpp",
324    "core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp",
325    "core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp",
326    "core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp",
327    "core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp",
328    "core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp",
329    "core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp",
330    "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp",
331    "core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp",
332    "core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp",
333    "core/src/fpdfapi/fpdf_page/pageint.h",
334    "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp",
335    "core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp",
336    "core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp",
337    "core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp",
338    "core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp",
339    "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp",
340    "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp",
341    "core/src/fpdfapi/fpdf_parser/parser_int.h",
342    "core/src/fpdfapi/fpdf_render/fpdf_render.cpp",
343    "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp",
344    "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp",
345    "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp",
346    "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp",
347    "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp",
348    "core/src/fpdfapi/fpdf_render/render_int.h",
349  ]
350  configs += [ ":pdfium_config" ]
351}
352
353static_library("fpdftext") {
354  sources = [
355    "core/include/fpdftext/fpdf_text.h",
356    "core/src/fpdftext/fpdf_text.cpp",
357    "core/src/fpdftext/fpdf_text_int.cpp",
358    "core/src/fpdftext/fpdf_text_search.cpp",
359    "core/src/fpdftext/text_int.h",
360    "core/src/fpdftext/txtproc.h",
361    "core/src/fpdftext/unicodenormalization.cpp",
362    "core/src/fpdftext/unicodenormalizationdata.cpp",
363    "core/src/fpdftext/unicodenormalizationdata.h",
364  ]
365  configs += [ ":pdfium_config" ]
366}
367
368static_library("fxcodec") {
369  deps = [
370    "third_party:fx_lcms2",
371    "third_party:fx_libopenjpeg",
372    "third_party:fx_zlib",
373
374    # This is a generic JPEG library dependency.
375    "//third_party:jpeg",
376  ]
377  sources = [
378    "core/include/fxcodec/fx_codec.h",
379    "core/include/fxcodec/fx_codec_def.h",
380    "core/include/fxcodec/fx_codec_flate.h",
381    "core/src/fxcodec/codec/codec_int.h",
382    "core/src/fxcodec/codec/fx_codec.cpp",
383    "core/src/fxcodec/codec/fx_codec_fax.cpp",
384    "core/src/fxcodec/codec/fx_codec_flate.cpp",
385    "core/src/fxcodec/codec/fx_codec_icc.cpp",
386    "core/src/fxcodec/codec/fx_codec_jbig.cpp",
387    "core/src/fxcodec/codec/fx_codec_jpeg.cpp",
388    "core/src/fxcodec/codec/fx_codec_jpx_opj.cpp",
389    "core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
390    "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h",
391    "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
392    "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
393    "core/src/fxcodec/jbig2/JBig2_BitStream.cpp",
394    "core/src/fxcodec/jbig2/JBig2_BitStream.h",
395    "core/src/fxcodec/jbig2/JBig2_Context.cpp",
396    "core/src/fxcodec/jbig2/JBig2_Context.h",
397    "core/src/fxcodec/jbig2/JBig2_Define.h",
398    "core/src/fxcodec/jbig2/JBig2_GrdProc.cpp",
399    "core/src/fxcodec/jbig2/JBig2_GrdProc.h",
400    "core/src/fxcodec/jbig2/JBig2_GrrdProc.cpp",
401    "core/src/fxcodec/jbig2/JBig2_GrrdProc.h",
402    "core/src/fxcodec/jbig2/JBig2_GsidProc.cpp",
403    "core/src/fxcodec/jbig2/JBig2_GsidProc.h",
404    "core/src/fxcodec/jbig2/JBig2_HtrdProc.cpp",
405    "core/src/fxcodec/jbig2/JBig2_HtrdProc.h",
406    "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
407    "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
408    "core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
409    "core/src/fxcodec/jbig2/JBig2_HuffmanTable.h",
410    "core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
411    "core/src/fxcodec/jbig2/JBig2_Image.cpp",
412    "core/src/fxcodec/jbig2/JBig2_Image.h",
413    "core/src/fxcodec/jbig2/JBig2_List.h",
414    "core/src/fxcodec/jbig2/JBig2_Page.h",
415    "core/src/fxcodec/jbig2/JBig2_PatternDict.cpp",
416    "core/src/fxcodec/jbig2/JBig2_PatternDict.h",
417    "core/src/fxcodec/jbig2/JBig2_PddProc.cpp",
418    "core/src/fxcodec/jbig2/JBig2_PddProc.h",
419    "core/src/fxcodec/jbig2/JBig2_SddProc.cpp",
420    "core/src/fxcodec/jbig2/JBig2_SddProc.h",
421    "core/src/fxcodec/jbig2/JBig2_Segment.cpp",
422    "core/src/fxcodec/jbig2/JBig2_Segment.h",
423    "core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp",
424    "core/src/fxcodec/jbig2/JBig2_SymbolDict.h",
425    "core/src/fxcodec/jbig2/JBig2_TrdProc.cpp",
426    "core/src/fxcodec/jbig2/JBig2_TrdProc.h",
427  ]
428  include_dirs = []
429  if (pdf_enable_xfa) {
430    sources += [
431      "core/src/fxcodec/codec/fx_codec_bmp.cpp",
432      "core/src/fxcodec/codec/fx_codec_gif.cpp",
433      "core/src/fxcodec/codec/fx_codec_png.cpp",
434      "core/src/fxcodec/codec/fx_codec_progress.cpp",
435      "core/src/fxcodec/codec/fx_codec_progress.h",
436      "core/src/fxcodec/codec/fx_codec_tiff.cpp",
437      "core/src/fxcodec/lbmp/fx_bmp.cpp",
438      "core/src/fxcodec/lbmp/fx_bmp.h",
439      "core/src/fxcodec/lgif/fx_gif.cpp",
440      "core/src/fxcodec/lgif/fx_gif.h",
441    ]
442    deps += [
443      "third_party:fx_lpng",
444      "third_party:fx_tiff",
445    ]
446  }
447  if (is_posix) {
448    # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
449    # conversion to check that an address is 16-bit aligned (benign).
450    cflags_c = [ "-Wno-pointer-to-int-cast" ]
451  }
452  configs += [ ":pdfium_config" ]
453}
454
455config("fxge_warnings") {
456  if (is_clang) {
457    cflags = [
458      # http://code.google.com/p/pdfium/issues/detail?id=188
459      "-Wno-switch",
460    ]
461  }
462}
463
464static_library("fxcrt") {
465  sources = [
466    "core/include/fxcrt/fx_basic.h",
467    "core/include/fxcrt/fx_bidi.h",
468    "core/include/fxcrt/fx_coordinates.h",
469    "core/include/fxcrt/fx_ext.h",
470    "core/include/fxcrt/fx_memory.h",
471    "core/include/fxcrt/fx_safe_types.h",
472    "core/include/fxcrt/fx_stream.h",
473    "core/include/fxcrt/fx_string.h",
474    "core/include/fxcrt/fx_system.h",
475    "core/include/fxcrt/fx_ucd.h",
476    "core/include/fxcrt/fx_xml.h",
477    "core/src/fxcrt/extension.h",
478    "core/src/fxcrt/fx_basic_array.cpp",
479    "core/src/fxcrt/fx_basic_bstring.cpp",
480    "core/src/fxcrt/fx_basic_buffer.cpp",
481    "core/src/fxcrt/fx_basic_coords.cpp",
482    "core/src/fxcrt/fx_basic_gcc.cpp",
483    "core/src/fxcrt/fx_basic_list.cpp",
484    "core/src/fxcrt/fx_basic_maps.cpp",
485    "core/src/fxcrt/fx_basic_memmgr.cpp",
486    "core/src/fxcrt/fx_basic_plex.cpp",
487    "core/src/fxcrt/fx_basic_utf.cpp",
488    "core/src/fxcrt/fx_basic_util.cpp",
489    "core/src/fxcrt/fx_basic_wstring.cpp",
490    "core/src/fxcrt/fx_bidi.cpp",
491    "core/src/fxcrt/fx_extension.cpp",
492    "core/src/fxcrt/fx_ucddata.cpp",
493    "core/src/fxcrt/fx_unicode.cpp",
494    "core/src/fxcrt/fx_xml_composer.cpp",
495    "core/src/fxcrt/fx_xml_parser.cpp",
496    "core/src/fxcrt/fxcrt_platforms.cpp",
497    "core/src/fxcrt/fxcrt_platforms.h",
498    "core/src/fxcrt/fxcrt_posix.cpp",
499    "core/src/fxcrt/fxcrt_posix.h",
500    "core/src/fxcrt/fxcrt_windows.cpp",
501    "core/src/fxcrt/fxcrt_windows.h",
502    "core/src/fxcrt/plex.h",
503    "core/src/fxcrt/xml_int.h",
504  ]
505  if (pdf_enable_xfa) {
506    sources += [
507      "core/include/fxcrt/fx_arb.h",
508      "core/src/fxcrt/fx_arabic.cpp",
509      "core/src/fxcrt/fx_arabic.h",
510    ]
511  }
512  configs += [ ":pdfium_config" ]
513}
514
515static_library("fxge") {
516  deps = [
517    "third_party:fx_agg",
518  ]
519  sources = [
520    "core/include/fxge/fpf.h",
521    "core/include/fxge/fx_dib.h",
522    "core/include/fxge/fx_font.h",
523    "core/include/fxge/fx_freetype.h",
524    "core/include/fxge/fx_ge.h",
525    "core/include/fxge/fx_ge_apple.h",
526    "core/include/fxge/fx_ge_win32.h",
527    "core/src/fxge/agg/include/fx_agg_driver.h",
528    "core/src/fxge/agg/src/fx_agg_driver.cpp",
529    "core/src/fxge/android/fpf_skiafont.cpp",
530    "core/src/fxge/android/fpf_skiafont.h",
531    "core/src/fxge/android/fpf_skiafontmgr.cpp",
532    "core/src/fxge/android/fpf_skiafontmgr.h",
533    "core/src/fxge/android/fpf_skiamodule.cpp",
534    "core/src/fxge/android/fpf_skiamodule.h",
535    "core/src/fxge/android/fx_android_font.cpp",
536    "core/src/fxge/android/fx_android_font.h",
537    "core/src/fxge/android/fx_android_imp.cpp",
538    "core/src/fxge/android/fx_fpf.h",
539    "core/src/fxge/apple/apple_int.h",
540    "core/src/fxge/apple/fx_apple_platform.cpp",
541    "core/src/fxge/apple/fx_mac_imp.cpp",
542    "core/src/fxge/apple/fx_quartz_device.cpp",
543    "core/src/fxge/dib/dib_int.h",
544    "core/src/fxge/dib/fx_dib_composite.cpp",
545    "core/src/fxge/dib/fx_dib_convert.cpp",
546    "core/src/fxge/dib/fx_dib_engine.cpp",
547    "core/src/fxge/dib/fx_dib_main.cpp",
548    "core/src/fxge/dib/fx_dib_transform.cpp",
549    "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c",
550    "core/src/fxge/fontdata/chromefontdata/FoxitFixed.c",
551    "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c",
552    "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c",
553    "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c",
554    "core/src/fxge/fontdata/chromefontdata/FoxitSans.c",
555    "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c",
556    "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c",
557    "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c",
558    "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c",
559    "core/src/fxge/fontdata/chromefontdata/FoxitSerif.c",
560    "core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c",
561    "core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c",
562    "core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c",
563    "core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c",
564    "core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c",
565    "core/src/fxge/fontdata/chromefontdata/chromefontdata.h",
566    "core/src/fxge/freetype/fx_freetype.c",
567    "core/src/fxge/ge/fx_ge.cpp",
568    "core/src/fxge/ge/fx_ge_device.cpp",
569    "core/src/fxge/ge/fx_ge_font.cpp",
570    "core/src/fxge/ge/fx_ge_fontmap.cpp",
571    "core/src/fxge/ge/fx_ge_linux.cpp",
572    "core/src/fxge/ge/fx_ge_path.cpp",
573    "core/src/fxge/ge/fx_ge_ps.cpp",
574    "core/src/fxge/ge/fx_ge_text.cpp",
575    "core/src/fxge/ge/text_int.h",
576  ]
577
578  configs += [
579    ":fxge_warnings",
580    ":pdfium_config",
581  ]
582
583  if (pdf_use_skia) {
584    sources = [
585      "core/src/fxge/skia/fx_skia_blitter_new.cpp",
586      "core/src/fxge/skia/fx_skia_device.cpp",
587    ]
588    include_dirs = [
589      "//third_party/skia/include/config",
590      "//third_party/skia/include/core",
591      "//third_party/skia/include/effects",
592      "//third_party/skia/include/images",
593      "//third_party/skia/include/lazy",
594      "//third_party/skia/include/pathops",
595      "//third_party/skia/include/utils",
596      "//third_party/skia/src/core",
597    ]
598    deps = [
599      "//skia",
600    ]
601  }
602
603  if (is_win) {
604    sources += [
605      "core/src/fxge/win32/dwrite_int.h",
606      "core/src/fxge/win32/fx_win32_device.cpp",
607      "core/src/fxge/win32/fx_win32_dib.cpp",
608      "core/src/fxge/win32/fx_win32_dwrite.cpp",
609      "core/src/fxge/win32/fx_win32_gdipext.cpp",
610      "core/src/fxge/win32/fx_win32_print.cpp",
611      "core/src/fxge/win32/win32_int.h",
612    ]
613    configs -= [ "//build/config/win:lean_and_mean" ]
614  }
615}
616
617static_library("fxedit") {
618  sources = [
619    "fpdfsdk/include/fxedit/fx_edit.h",
620    "fpdfsdk/include/fxedit/fxet_edit.h",
621    "fpdfsdk/include/fxedit/fxet_list.h",
622    "fpdfsdk/src/fxedit/fxet_ap.cpp",
623    "fpdfsdk/src/fxedit/fxet_edit.cpp",
624    "fpdfsdk/src/fxedit/fxet_list.cpp",
625    "fpdfsdk/src/fxedit/fxet_module.cpp",
626    "fpdfsdk/src/fxedit/fxet_pageobjs.cpp",
627  ]
628  configs += [ ":pdfium_config" ]
629}
630
631static_library("pdfwindow") {
632  sources = [
633    "fpdfsdk/include/pdfwindow/PWL_Button.h",
634    "fpdfsdk/include/pdfwindow/PWL_Caret.h",
635    "fpdfsdk/include/pdfwindow/PWL_ComboBox.h",
636    "fpdfsdk/include/pdfwindow/PWL_Edit.h",
637    "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h",
638    "fpdfsdk/include/pdfwindow/PWL_FontMap.h",
639    "fpdfsdk/include/pdfwindow/PWL_Icon.h",
640    "fpdfsdk/include/pdfwindow/PWL_IconList.h",
641    "fpdfsdk/include/pdfwindow/PWL_Label.h",
642    "fpdfsdk/include/pdfwindow/PWL_ListBox.h",
643    "fpdfsdk/include/pdfwindow/PWL_ListCtrl.h",
644    "fpdfsdk/include/pdfwindow/PWL_Note.h",
645    "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h",
646    "fpdfsdk/include/pdfwindow/PWL_Signature.h",
647    "fpdfsdk/include/pdfwindow/PWL_SpecialButton.h",
648    "fpdfsdk/include/pdfwindow/PWL_Utils.h",
649    "fpdfsdk/include/pdfwindow/PWL_Wnd.h",
650    "fpdfsdk/src/pdfwindow/PWL_Button.cpp",
651    "fpdfsdk/src/pdfwindow/PWL_Caret.cpp",
652    "fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp",
653    "fpdfsdk/src/pdfwindow/PWL_Edit.cpp",
654    "fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp",
655    "fpdfsdk/src/pdfwindow/PWL_FontMap.cpp",
656    "fpdfsdk/src/pdfwindow/PWL_Icon.cpp",
657    "fpdfsdk/src/pdfwindow/PWL_IconList.cpp",
658    "fpdfsdk/src/pdfwindow/PWL_Label.cpp",
659    "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp",
660    "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp",
661    "fpdfsdk/src/pdfwindow/PWL_Note.cpp",
662    "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp",
663    "fpdfsdk/src/pdfwindow/PWL_Signature.cpp",
664    "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp",
665    "fpdfsdk/src/pdfwindow/PWL_Utils.cpp",
666    "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp",
667  ]
668  configs += [ ":pdfium_config" ]
669}
670
671static_library("javascript") {
672  sources = [
673    "fpdfsdk/include/javascript/IJavaScript.h",
674  ]
675  if (pdf_enable_v8) {
676    sources += [
677      "fpdfsdk/include/jsapi/fxjs_v8.h",
678      "fpdfsdk/src/javascript/Consts.cpp",
679      "fpdfsdk/src/javascript/Consts.h",
680      "fpdfsdk/src/javascript/Document.cpp",
681      "fpdfsdk/src/javascript/Document.h",
682      "fpdfsdk/src/javascript/Field.cpp",
683      "fpdfsdk/src/javascript/Field.h",
684      "fpdfsdk/src/javascript/Icon.cpp",
685      "fpdfsdk/src/javascript/Icon.h",
686      "fpdfsdk/src/javascript/JS_Context.cpp",
687      "fpdfsdk/src/javascript/JS_Context.h",
688      "fpdfsdk/src/javascript/JS_Define.h",
689      "fpdfsdk/src/javascript/JS_EventHandler.cpp",
690      "fpdfsdk/src/javascript/JS_EventHandler.h",
691      "fpdfsdk/src/javascript/JS_GlobalData.cpp",
692      "fpdfsdk/src/javascript/JS_GlobalData.h",
693      "fpdfsdk/src/javascript/JS_Object.cpp",
694      "fpdfsdk/src/javascript/JS_Object.h",
695      "fpdfsdk/src/javascript/JS_Runtime.cpp",
696      "fpdfsdk/src/javascript/JS_Runtime.h",
697      "fpdfsdk/src/javascript/JS_Value.cpp",
698      "fpdfsdk/src/javascript/JS_Value.h",
699      "fpdfsdk/src/javascript/PublicMethods.cpp",
700      "fpdfsdk/src/javascript/PublicMethods.h",
701      "fpdfsdk/src/javascript/app.cpp",
702      "fpdfsdk/src/javascript/app.h",
703      "fpdfsdk/src/javascript/color.cpp",
704      "fpdfsdk/src/javascript/color.h",
705      "fpdfsdk/src/javascript/console.cpp",
706      "fpdfsdk/src/javascript/console.h",
707      "fpdfsdk/src/javascript/event.cpp",
708      "fpdfsdk/src/javascript/event.h",
709      "fpdfsdk/src/javascript/global.cpp",
710      "fpdfsdk/src/javascript/global.h",
711      "fpdfsdk/src/javascript/report.cpp",
712      "fpdfsdk/src/javascript/report.h",
713      "fpdfsdk/src/javascript/resource.cpp",
714      "fpdfsdk/src/javascript/resource.h",
715      "fpdfsdk/src/javascript/util.cpp",
716      "fpdfsdk/src/javascript/util.h",
717      "fpdfsdk/src/jsapi/fxjs_v8.cpp",
718    ]
719    include_dirs = [
720      "//v8",
721      "//v8/include",
722    ]
723    public_deps = [
724      "//v8",
725    ]
726    configs += [ "//v8:external_startup_data" ]
727  } else {
728    sources += [ "fpdfsdk/src/javascript/JS_Runtime_Stub.cpp" ]
729  }
730  configs += [ ":pdfium_config" ]
731}
732
733static_library("formfiller") {
734  sources = [
735    "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h",
736    "fpdfsdk/include/formfiller/FFL_CheckBox.h",
737    "fpdfsdk/include/formfiller/FFL_ComboBox.h",
738    "fpdfsdk/include/formfiller/FFL_FormFiller.h",
739    "fpdfsdk/include/formfiller/FFL_IFormFiller.h",
740    "fpdfsdk/include/formfiller/FFL_ListBox.h",
741    "fpdfsdk/include/formfiller/FFL_PushButton.h",
742    "fpdfsdk/include/formfiller/FFL_RadioButton.h",
743    "fpdfsdk/include/formfiller/FFL_TextField.h",
744    "fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp",
745    "fpdfsdk/src/formfiller/FFL_CheckBox.cpp",
746    "fpdfsdk/src/formfiller/FFL_ComboBox.cpp",
747    "fpdfsdk/src/formfiller/FFL_FormFiller.cpp",
748    "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp",
749    "fpdfsdk/src/formfiller/FFL_ListBox.cpp",
750    "fpdfsdk/src/formfiller/FFL_PushButton.cpp",
751    "fpdfsdk/src/formfiller/FFL_RadioButton.cpp",
752    "fpdfsdk/src/formfiller/FFL_TextField.cpp",
753  ]
754  configs += [ ":pdfium_config" ]
755}
756
757if (pdf_enable_xfa) {
758  static_library("fpdfxfa") {
759    sources = [
760      "fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp",
761      "fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp",
762      "fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp",
763      "fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp",
764      "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h",
765      "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h",
766      "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h",
767      "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h",
768    ]
769    deps = [
770      ":xfa",
771    ]
772    configs -= [ "//build/config/compiler:chromium_code" ]
773    configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
774  }
775
776  static_library("xfa") {
777    sources = [
778      "xfa/include/foxitxfa.h",
779      "xfa/include/fwl/adapter/fwl_adapterclipboardmgr.h",
780      "xfa/include/fwl/adapter/fwl_adaptercursormgr.h",
781      "xfa/include/fwl/adapter/fwl_adaptermonitormgr.h",
782      "xfa/include/fwl/adapter/fwl_adapternative.h",
783      "xfa/include/fwl/adapter/fwl_adapterthreadmgr.h",
784      "xfa/include/fwl/adapter/fwl_adaptertimermgr.h",
785      "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h",
786      "xfa/include/fwl/adapter/fwl_sdadapterimp.h",
787      "xfa/include/fwl/basewidget/fwl_barcode.h",
788      "xfa/include/fwl/basewidget/fwl_caret.h",
789      "xfa/include/fwl/basewidget/fwl_checkbox.h",
790      "xfa/include/fwl/basewidget/fwl_combobox.h",
791      "xfa/include/fwl/basewidget/fwl_datetimepicker.h",
792      "xfa/include/fwl/basewidget/fwl_edit.h",
793      "xfa/include/fwl/basewidget/fwl_listbox.h",
794      "xfa/include/fwl/basewidget/fwl_menu.h",
795      "xfa/include/fwl/basewidget/fwl_monthcalendar.h",
796      "xfa/include/fwl/basewidget/fwl_picturebox.h",
797      "xfa/include/fwl/basewidget/fwl_pushbutton.h",
798      "xfa/include/fwl/basewidget/fwl_scrollbar.h",
799      "xfa/include/fwl/basewidget/fwl_spinbutton.h",
800      "xfa/include/fwl/basewidget/fwl_tooltipctrl.h",
801      "xfa/include/fwl/basewidget/fxmath_barcode.h",
802      "xfa/include/fwl/core/fwl_app.h",
803      "xfa/include/fwl/core/fwl_content.h",
804      "xfa/include/fwl/core/fwl_error.h",
805      "xfa/include/fwl/core/fwl_form.h",
806      "xfa/include/fwl/core/fwl_grid.h",
807      "xfa/include/fwl/core/fwl_note.h",
808      "xfa/include/fwl/core/fwl_panel.h",
809      "xfa/include/fwl/core/fwl_target.h",
810      "xfa/include/fwl/core/fwl_theme.h",
811      "xfa/include/fwl/core/fwl_thread.h",
812      "xfa/include/fwl/core/fwl_timer.h",
813      "xfa/include/fwl/core/fwl_widget.h",
814      "xfa/include/fwl/core/fwl_widgetdef.h",
815      "xfa/include/fwl/core/fwl_widgetmgr.h",
816      "xfa/include/fwl/fwl.h",
817      "xfa/include/fwl/lightwidget/app.h",
818      "xfa/include/fwl/lightwidget/barcode.h",
819      "xfa/include/fwl/lightwidget/caret.h",
820      "xfa/include/fwl/lightwidget/checkbox.h",
821      "xfa/include/fwl/lightwidget/combobox.h",
822      "xfa/include/fwl/lightwidget/datetimepicker.h",
823      "xfa/include/fwl/lightwidget/edit.h",
824      "xfa/include/fwl/lightwidget/listbox.h",
825      "xfa/include/fwl/lightwidget/picturebox.h",
826      "xfa/include/fwl/lightwidget/pushbutton.h",
827      "xfa/include/fwl/lightwidget/scrollbar.h",
828      "xfa/include/fwl/lightwidget/theme.h",
829      "xfa/include/fwl/lightwidget/tooltipctrl.h",
830      "xfa/include/fwl/lightwidget/widget.h",
831      "xfa/include/fwl/theme/barcodetp.h",
832      "xfa/include/fwl/theme/carettp.h",
833      "xfa/include/fwl/theme/checkboxtp.h",
834      "xfa/include/fwl/theme/comboboxtp.h",
835      "xfa/include/fwl/theme/datetimepickertp.h",
836      "xfa/include/fwl/theme/edittp.h",
837      "xfa/include/fwl/theme/formtp.h",
838      "xfa/include/fwl/theme/listboxtp.h",
839      "xfa/include/fwl/theme/monthcalendartp.h",
840      "xfa/include/fwl/theme/pictureboxtp.h",
841      "xfa/include/fwl/theme/pushbuttontp.h",
842      "xfa/include/fwl/theme/scrollbartp.h",
843      "xfa/include/fwl/theme/utils.h",
844      "xfa/include/fwl/theme/widgettp.h",
845      "xfa/include/fxbarcode/BC_BarCode.h",
846      "xfa/include/fxfa/fxfa.h",
847      "xfa/include/fxfa/fxfa_basic.h",
848      "xfa/include/fxfa/fxfa_objectacc.h",
849      "xfa/include/fxfa/fxfa_widget.h",
850      "xfa/include/fxgraphics/fx_graphics.h",
851      "xfa/include/fxjse/fxjse.h",
852      "xfa/src/fdp/include/fde.h",
853      "xfa/src/fdp/include/fde_brs.h",
854      "xfa/src/fdp/include/fde_css.h",
855      "xfa/src/fdp/include/fde_img.h",
856      "xfa/src/fdp/include/fde_mem.h",
857      "xfa/src/fdp/include/fde_pen.h",
858      "xfa/src/fdp/include/fde_psr.h",
859      "xfa/src/fdp/include/fde_pth.h",
860      "xfa/src/fdp/include/fde_rdr.h",
861      "xfa/src/fdp/include/fde_rdv.h",
862      "xfa/src/fdp/include/fde_tto.h",
863      "xfa/src/fdp/include/fde_xml.h",
864      "xfa/src/fdp/src/css/fde_csscache.cpp",
865      "xfa/src/fdp/src/css/fde_csscache.h",
866      "xfa/src/fdp/src/css/fde_cssdatatable.cpp",
867      "xfa/src/fdp/src/css/fde_cssdatatable.h",
868      "xfa/src/fdp/src/css/fde_cssdeclaration.cpp",
869      "xfa/src/fdp/src/css/fde_cssdeclaration.h",
870      "xfa/src/fdp/src/css/fde_cssstyleselector.cpp",
871      "xfa/src/fdp/src/css/fde_cssstyleselector.h",
872      "xfa/src/fdp/src/css/fde_cssstylesheet.cpp",
873      "xfa/src/fdp/src/css/fde_cssstylesheet.h",
874      "xfa/src/fdp/src/css/fde_csssyntax.cpp",
875      "xfa/src/fdp/src/css/fde_csssyntax.h",
876      "xfa/src/fdp/src/fde/fde_devbasic.cpp",
877      "xfa/src/fdp/src/fde/fde_devbasic.h",
878      "xfa/src/fdp/src/fde/fde_gedevice.cpp",
879      "xfa/src/fdp/src/fde/fde_gedevice.h",
880      "xfa/src/fdp/src/fde/fde_geobject.cpp",
881      "xfa/src/fdp/src/fde/fde_geobject.h",
882      "xfa/src/fdp/src/fde/fde_iterator.cpp",
883      "xfa/src/fdp/src/fde/fde_iterator.h",
884      "xfa/src/fdp/src/fde/fde_object.cpp",
885      "xfa/src/fdp/src/fde/fde_object.h",
886      "xfa/src/fdp/src/fde/fde_render.cpp",
887      "xfa/src/fdp/src/fde/fde_render.h",
888      "xfa/src/fdp/src/tto/fde_textout.cpp",
889      "xfa/src/fdp/src/tto/fde_textout.h",
890      "xfa/src/fdp/src/xml/fde_xml.cpp",
891      "xfa/src/fdp/src/xml/fde_xml.h",
892      "xfa/src/fee/include/fx_wordbreak.h",
893      "xfa/src/fee/include/ifde_txtedtbuf.h",
894      "xfa/src/fee/include/ifde_txtedtengine.h",
895      "xfa/src/fee/include/ifde_txtedtpage.h",
896      "xfa/src/fee/src/fee/fde_txtedtblock.cpp",
897      "xfa/src/fee/src/fee/fde_txtedtblock.h",
898      "xfa/src/fee/src/fee/fde_txtedtbuf.cpp",
899      "xfa/src/fee/src/fee/fde_txtedtbuf.h",
900      "xfa/src/fee/src/fee/fde_txtedtengine.cpp",
901      "xfa/src/fee/src/fee/fde_txtedtengine.h",
902      "xfa/src/fee/src/fee/fde_txtedtpage.cpp",
903      "xfa/src/fee/src/fee/fde_txtedtpage.h",
904      "xfa/src/fee/src/fee/fde_txtedtparag.cpp",
905      "xfa/src/fee/src/fee/fde_txtedtparag.h",
906      "xfa/src/fee/src/fx_wordbreak/fx_wordbreakdata.cpp",
907      "xfa/src/fee/src/fx_wordbreak/fx_wordbreak_impl.cpp",
908      "xfa/src/fee/src/fx_wordbreak/fx_wordbreak_impl.h",
909      "xfa/src/fgas/include/fgas.h",
910      "xfa/src/fgas/include/fx_alg.h",
911      "xfa/src/fgas/include/fx_cpg.h",
912      "xfa/src/fgas/include/fx_datetime.h",
913      "xfa/src/fgas/include/fx_fnt.h",
914      "xfa/src/fgas/include/fx_lbk.h",
915      "xfa/src/fgas/include/fx_lgg.h",
916      "xfa/src/fgas/include/fx_locale.h",
917      "xfa/src/fgas/include/fx_mem.h",
918      "xfa/src/fgas/include/fx_rbk.h",
919      "xfa/src/fgas/include/fx_sax.h",
920      "xfa/src/fgas/include/fx_stm.h",
921      "xfa/src/fgas/include/fx_sys.h",
922      "xfa/src/fgas/include/fx_tbk.h",
923      "xfa/src/fgas/include/fx_ucd.h",
924      "xfa/src/fgas/include/fx_utl.h",
925      "xfa/src/fgas/src/crt/fx_algorithm.cpp",
926      "xfa/src/fgas/src/crt/fx_codepage.cpp",
927      "xfa/src/fgas/src/crt/fx_encode.cpp",
928      "xfa/src/fgas/src/crt/fx_memory.cpp",
929      "xfa/src/fgas/src/crt/fx_memory.h",
930      "xfa/src/fgas/src/crt/fx_stream.cpp",
931      "xfa/src/fgas/src/crt/fx_stream.h",
932      "xfa/src/fgas/src/crt/fx_system.cpp",
933      "xfa/src/fgas/src/crt/fx_utils.cpp",
934      "xfa/src/fgas/src/crt/fx_utils.h",
935      "xfa/src/fgas/src/fgas_base.h",
936      "xfa/src/fgas/src/font/fx_fontutils.cpp",
937      "xfa/src/fgas/src/font/fx_fontutils.h",
938      "xfa/src/fgas/src/font/fx_gefont.cpp",
939      "xfa/src/fgas/src/font/fx_gefont.h",
940      "xfa/src/fgas/src/font/fx_stdfontmgr.cpp",
941      "xfa/src/fgas/src/font/fx_stdfontmgr.h",
942      "xfa/src/fgas/src/layout/fx_linebreak.cpp",
943      "xfa/src/fgas/src/layout/fx_rtfbreak.cpp",
944      "xfa/src/fgas/src/layout/fx_rtfbreak.h",
945      "xfa/src/fgas/src/layout/fx_textbreak.cpp",
946      "xfa/src/fgas/src/layout/fx_textbreak.h",
947      "xfa/src/fgas/src/layout/fx_unicode.cpp",
948      "xfa/src/fgas/src/layout/fx_unicode.h",
949      "xfa/src/fgas/src/localization/fx_datetime.cpp",
950      "xfa/src/fgas/src/localization/fx_locale.cpp",
951      "xfa/src/fgas/src/localization/fx_localeimp.h",
952      "xfa/src/fgas/src/localization/fx_localemgr.cpp",
953      "xfa/src/fgas/src/localization/fx_localemgr.h",
954      "xfa/src/fgas/src/xml/fx_sax_imp.cpp",
955      "xfa/src/fgas/src/xml/fx_sax_imp.h",
956      "xfa/src/foxitlib.h",
957      "xfa/src/fwl/src/basewidget/fwl_barcodeimp.cpp",
958      "xfa/src/fwl/src/basewidget/fwl_caretimp.cpp",
959      "xfa/src/fwl/src/basewidget/fwl_checkboximp.cpp",
960      "xfa/src/fwl/src/basewidget/fwl_comboboximp.cpp",
961      "xfa/src/fwl/src/basewidget/fwl_datetimepickerimp.cpp",
962      "xfa/src/fwl/src/basewidget/fwl_editimp.cpp",
963      "xfa/src/fwl/src/basewidget/fwl_formproxyimp.cpp",
964      "xfa/src/fwl/src/basewidget/fwl_listboximp.cpp",
965      "xfa/src/fwl/src/basewidget/fwl_monthcalendarimp.cpp",
966      "xfa/src/fwl/src/basewidget/fwl_pictureboximp.cpp",
967      "xfa/src/fwl/src/basewidget/fwl_pushbuttonimp.cpp",
968      "xfa/src/fwl/src/basewidget/fwl_scrollbarimp.cpp",
969      "xfa/src/fwl/src/basewidget/fwl_spinbuttonimp.cpp",
970      "xfa/src/fwl/src/basewidget/fwl_tooltipctrlimp.cpp",
971      "xfa/src/fwl/src/basewidget/fxmath_barcodeimp.cpp",
972      "xfa/src/fwl/src/basewidget/include/fwl_barcodeimp.h",
973      "xfa/src/fwl/src/basewidget/include/fwl_caretimp.h",
974      "xfa/src/fwl/src/basewidget/include/fwl_checkboximp.h",
975      "xfa/src/fwl/src/basewidget/include/fwl_comboboximp.h",
976      "xfa/src/fwl/src/basewidget/include/fwl_datetimepickerimp.h",
977      "xfa/src/fwl/src/basewidget/include/fwl_editimp.h",
978      "xfa/src/fwl/src/basewidget/include/fwl_formproxyimp.h",
979      "xfa/src/fwl/src/basewidget/include/fwl_listboximp.h",
980      "xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h",
981      "xfa/src/fwl/src/basewidget/include/fwl_pictureboximp.h",
982      "xfa/src/fwl/src/basewidget/include/fwl_pushbuttonimp.h",
983      "xfa/src/fwl/src/basewidget/include/fwl_scrollbarimp.h",
984      "xfa/src/fwl/src/basewidget/include/fwl_spinbuttonimp.h",
985      "xfa/src/fwl/src/basewidget/include/fwl_tooltipctrlimp.h",
986      "xfa/src/fwl/src/basewidget/include/fxmath_barcodeimp.h",
987      "xfa/src/fwl/src/core/fwl_appimp.cpp",
988      "xfa/src/fwl/src/core/fwl_contentimp.cpp",
989      "xfa/src/fwl/src/core/fwl_formimp.cpp",
990      "xfa/src/fwl/src/core/fwl_gridimp.cpp",
991      "xfa/src/fwl/src/core/fwl_noteimp.cpp",
992      "xfa/src/fwl/src/core/fwl_panelimp.cpp",
993      "xfa/src/fwl/src/core/fwl_sdadapterimp.cpp",
994      "xfa/src/fwl/src/core/fwl_targetimp.cpp",
995      "xfa/src/fwl/src/core/fwl_threadimp.cpp",
996      "xfa/src/fwl/src/core/fwl_timerimp.cpp",
997      "xfa/src/fwl/src/core/fwl_widgetimp.cpp",
998      "xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp",
999      "xfa/src/fwl/src/core/include/fwl_appimp.h",
1000      "xfa/src/fwl/src/core/include/fwl_contentimp.h",
1001      "xfa/src/fwl/src/core/include/fwl_formimp.h",
1002      "xfa/src/fwl/src/core/include/fwl_gridimp.h",
1003      "xfa/src/fwl/src/core/include/fwl_noteimp.h",
1004      "xfa/src/fwl/src/core/include/fwl_panelimp.h",
1005      "xfa/src/fwl/src/core/include/fwl_targetimp.h",
1006      "xfa/src/fwl/src/core/include/fwl_threadimp.h",
1007      "xfa/src/fwl/src/core/include/fwl_widgetimp.h",
1008      "xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h",
1009      "xfa/src/fwl/src/lightwidget/app.cpp",
1010      "xfa/src/fwl/src/lightwidget/barcode.cpp",
1011      "xfa/src/fwl/src/lightwidget/caret.cpp",
1012      "xfa/src/fwl/src/lightwidget/checkbox.cpp",
1013      "xfa/src/fwl/src/lightwidget/combobox.cpp",
1014      "xfa/src/fwl/src/lightwidget/datetimepicker.cpp",
1015      "xfa/src/fwl/src/lightwidget/edit.cpp",
1016      "xfa/src/fwl/src/lightwidget/listbox.cpp",
1017      "xfa/src/fwl/src/lightwidget/picturebox.cpp",
1018      "xfa/src/fwl/src/lightwidget/pushbutton.cpp",
1019      "xfa/src/fwl/src/lightwidget/scrollbar.cpp",
1020      "xfa/src/fwl/src/lightwidget/theme.cpp",
1021      "xfa/src/fwl/src/lightwidget/tooltipctrl.cpp",
1022      "xfa/src/fwl/src/lightwidget/widget.cpp",
1023      "xfa/src/fwl/src/theme/barcodetp.cpp",
1024      "xfa/src/fwl/src/theme/carettp.cpp",
1025      "xfa/src/fwl/src/theme/checkboxtp.cpp",
1026      "xfa/src/fwl/src/theme/comboboxtp.cpp",
1027      "xfa/src/fwl/src/theme/datetimepickertp.cpp",
1028      "xfa/src/fwl/src/theme/edittp.cpp",
1029      "xfa/src/fwl/src/theme/formtp.cpp",
1030      "xfa/src/fwl/src/theme/listboxtp.cpp",
1031      "xfa/src/fwl/src/theme/monthcalendartp.cpp",
1032      "xfa/src/fwl/src/theme/pictureboxtp.cpp",
1033      "xfa/src/fwl/src/theme/pushbuttontp.cpp",
1034      "xfa/src/fwl/src/theme/scrollbartp.cpp",
1035      "xfa/src/fwl/src/theme/widgettp.cpp",
1036      "xfa/src/fxbarcode/common/BC_CommonBitArray.cpp",
1037      "xfa/src/fxbarcode/common/BC_CommonBitMatrix.cpp",
1038      "xfa/src/fxbarcode/common/BC_CommonBitSource.cpp",
1039      "xfa/src/fxbarcode/common/BC_CommonByteArray.cpp",
1040      "xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp",
1041      "xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.cpp",
1042      "xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp",
1043      "xfa/src/fxbarcode/common/BC_CommonECI.cpp",
1044      "xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.cpp",
1045      "xfa/src/fxbarcode/common/BC_CommonBitArray.h",
1046      "xfa/src/fxbarcode/common/BC_CommonBitMatrix.h",
1047      "xfa/src/fxbarcode/common/BC_CommonBitSource.h",
1048      "xfa/src/fxbarcode/common/BC_CommonByteArray.h",
1049      "xfa/src/fxbarcode/common/BC_CommonByteMatrix.h",
1050      "xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h",
1051      "xfa/src/fxbarcode/common/BC_CommonDecoderResult.h",
1052      "xfa/src/fxbarcode/common/BC_CommonECI.h",
1053      "xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h",
1054      "xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp",
1055      "xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h",
1056      "xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.cpp",
1057      "xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h",
1058      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
1059      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.cpp",
1060      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
1061      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
1062      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
1063      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h",
1064      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
1065      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
1066      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.cpp",
1067      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp",
1068      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.cpp",
1069      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.cpp",
1070      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.cpp",
1071      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.cpp",
1072      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
1073      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp",
1074      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
1075      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h",
1076      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h",
1077      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h",
1078      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h",
1079      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h",
1080      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.h",
1081      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
1082      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h",
1083      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.h",
1084      "xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
1085      "xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp",
1086      "xfa/src/fxbarcode/datamatrix/BC_C40Encoder.cpp",
1087      "xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
1088      "xfa/src/fxbarcode/datamatrix/BC_EncoderContext.cpp",
1089      "xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
1090      "xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.cpp",
1091      "xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp",
1092      "xfa/src/fxbarcode/datamatrix/BC_TextEncoder.cpp",
1093      "xfa/src/fxbarcode/datamatrix/BC_X12Encoder.cpp",
1094      "xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
1095      "xfa/src/fxbarcode/datamatrix/BC_Encoder.cpp",
1096      "xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
1097      "xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.h",
1098      "xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.h",
1099      "xfa/src/fxbarcode/datamatrix/BC_C40Encoder.h",
1100      "xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h",
1101      "xfa/src/fxbarcode/datamatrix/BC_EncoderContext.h",
1102      "xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.h",
1103      "xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.h",
1104      "xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.h",
1105      "xfa/src/fxbarcode/datamatrix/BC_TextEncoder.h",
1106      "xfa/src/fxbarcode/datamatrix/BC_X12Encoder.h",
1107      "xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h",
1108      "xfa/src/fxbarcode/datamatrix/BC_Encoder.h",
1109      "xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h",
1110      "xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.cpp",
1111      "xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
1112      "xfa/src/fxbarcode/oned/BC_OnedCode128Reader.cpp",
1113      "xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp",
1114      "xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp",
1115      "xfa/src/fxbarcode/oned/BC_OnedCode39Writer.cpp",
1116      "xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.cpp",
1117      "xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp",
1118      "xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.cpp",
1119      "xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.cpp",
1120      "xfa/src/fxbarcode/oned/BC_OneDimReader.cpp",
1121      "xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp",
1122      "xfa/src/fxbarcode/oned/BC_OneDReader.cpp",
1123      "xfa/src/fxbarcode/oned/BC_OnedUPCAReader.cpp",
1124      "xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.cpp",
1125      "xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h",
1126      "xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h",
1127      "xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h",
1128      "xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h",
1129      "xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h",
1130      "xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h",
1131      "xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h",
1132      "xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.h",
1133      "xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.h",
1134      "xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.h",
1135      "xfa/src/fxbarcode/oned/BC_OneDimReader.h",
1136      "xfa/src/fxbarcode/oned/BC_OneDimWriter.h",
1137      "xfa/src/fxbarcode/oned/BC_OneDReader.h",
1138      "xfa/src/fxbarcode/oned/BC_OnedUPCAReader.h",
1139      "xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h",
1140      "xfa/src/fxbarcode/pdf417/BC_PDF417.cpp",
1141      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
1142      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.cpp",
1143      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
1144      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.cpp",
1145      "xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp",
1146      "xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.cpp",
1147      "xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp",
1148      "xfa/src/fxbarcode/pdf417/BC_PDF417Common.cpp",
1149      "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.cpp",
1150      "xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.cpp",
1151      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.cpp",
1152      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.cpp",
1153      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp",
1154      "xfa/src/fxbarcode/pdf417/BC_PDF417Detector.cpp",
1155      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.cpp",
1156      "xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp",
1157      "xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.cpp",
1158      "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.cpp",
1159      "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.cpp",
1160      "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
1161      "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
1162      "xfa/src/fxbarcode/pdf417/BC_PDF417Reader.cpp",
1163      "xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.cpp",
1164      "xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.cpp",
1165      "xfa/src/fxbarcode/pdf417/BC_PDF417Writer.cpp",
1166      "xfa/src/fxbarcode/pdf417/BC_PDF417.h",
1167      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
1168      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h",
1169      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
1170      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h",
1171      "xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h",
1172      "xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h",
1173      "xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h",
1174      "xfa/src/fxbarcode/pdf417/BC_PDF417Common.h",
1175      "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h",
1176      "xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h",
1177      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h",
1178      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h",
1179      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h",
1180      "xfa/src/fxbarcode/pdf417/BC_PDF417Detector.h",
1181      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.h",
1182      "xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.h",
1183      "xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h",
1184      "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h",
1185      "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h",
1186      "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
1187      "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
1188      "xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h",
1189      "xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h",
1190      "xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h",
1191      "xfa/src/fxbarcode/pdf417/BC_PDF417Writer.h",
1192      "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.cpp",
1193      "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp",
1194      "xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.cpp",
1195      "xfa/src/fxbarcode/qrcode/BC_QRCoder.cpp",
1196      "xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
1197      "xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
1198      "xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.cpp",
1199      "xfa/src/fxbarcode/qrcode/BC_QRCodeReader.cpp",
1200      "xfa/src/fxbarcode/qrcode/BC_QRCoderECB.cpp",
1201      "xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
1202      "xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
1203      "xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
1204      "xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp",
1205      "xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
1206      "xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
1207      "xfa/src/fxbarcode/qrcode/BC_QRCoderMode.cpp",
1208      "xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.cpp",
1209      "xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.cpp",
1210      "xfa/src/fxbarcode/qrcode/BC_QRDataBlock.cpp",
1211      "xfa/src/fxbarcode/qrcode/BC_QRDataMask.cpp",
1212      "xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.cpp",
1213      "xfa/src/fxbarcode/qrcode/BC_QRDetector.cpp",
1214      "xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp",
1215      "xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.cpp",
1216      "xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.cpp",
1217      "xfa/src/fxbarcode/qrcode/BC_QRGridSampler.cpp",
1218      "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h",
1219      "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h",
1220      "xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h",
1221      "xfa/src/fxbarcode/qrcode/BC_QRCoder.h",
1222      "xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h",
1223      "xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h",
1224      "xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.h",
1225      "xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h",
1226      "xfa/src/fxbarcode/qrcode/BC_QRCoderECB.h",
1227      "xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.h",
1228      "xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h",
1229      "xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
1230      "xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h",
1231      "xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
1232      "xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
1233      "xfa/src/fxbarcode/qrcode/BC_QRCoderMode.h",
1234      "xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h",
1235      "xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h",
1236      "xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h",
1237      "xfa/src/fxbarcode/qrcode/BC_QRDataMask.h",
1238      "xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h",
1239      "xfa/src/fxbarcode/qrcode/BC_QRDetector.h",
1240      "xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h",
1241      "xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.h",
1242      "xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h",
1243      "xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h",
1244      "xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp",
1245      "xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.h",
1246      "xfa/src/fxbarcode/BC_BarCode.cpp",
1247      "xfa/src/fxbarcode/BC_Binarizer.cpp",
1248      "xfa/src/fxbarcode/BC_BinaryBitmap.cpp",
1249      "xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp",
1250      "xfa/src/fxbarcode/BC_Dimension.cpp",
1251      "xfa/src/fxbarcode/BC_Library.cpp",
1252      "xfa/src/fxbarcode/BC_LuminanceSource.cpp",
1253      "xfa/src/fxbarcode/BC_Reader.cpp",
1254      "xfa/src/fxbarcode/BC_ResultPoint.cpp",
1255      "xfa/src/fxbarcode/BC_TwoDimWriter.cpp",
1256      "xfa/src/fxbarcode/BC_UtilCodingConvert.cpp",
1257      "xfa/src/fxbarcode/BC_UtilRSS.cpp",
1258      "xfa/src/fxbarcode/BC_Utils.cpp",
1259      "xfa/src/fxbarcode/BC_Writer.cpp",
1260      "xfa/src/fxbarcode/BC_Binarizer.h",
1261      "xfa/src/fxbarcode/BC_BinaryBitmap.h",
1262      "xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h",
1263      "xfa/src/fxbarcode/BC_DecoderResult.h",
1264      "xfa/src/fxbarcode/BC_Dimension.h",
1265      "xfa/src/fxbarcode/BC_LuminanceSource.h",
1266      "xfa/src/fxbarcode/BC_Reader.h",
1267      "xfa/src/fxbarcode/BC_ResultPoint.h",
1268      "xfa/src/fxbarcode/BC_TwoDimWriter.h",
1269      "xfa/src/fxbarcode/BC_UtilCodingConvert.h",
1270      "xfa/src/fxbarcode/BC_UtilRSS.h",
1271      "xfa/src/fxbarcode/BC_Writer.h",
1272      "xfa/src/fxbarcode/barcode.h",
1273      "xfa/src/fxbarcode/utils.h",
1274      "xfa/src/fxfa/src/app/xfa_checksum.cpp",
1275      "xfa/src/fxfa/src/app/xfa_checksum.h",
1276      "xfa/src/fxfa/src/app/xfa_ffapp.cpp",
1277      "xfa/src/fxfa/src/app/xfa_ffapp.h",
1278      "xfa/src/fxfa/src/app/xfa_ffbarcode.cpp",
1279      "xfa/src/fxfa/src/app/xfa_ffbarcode.h",
1280      "xfa/src/fxfa/src/app/xfa_ffcheckbutton.cpp",
1281      "xfa/src/fxfa/src/app/xfa_ffcheckbutton.h",
1282      "xfa/src/fxfa/src/app/xfa_ffchoicelist.cpp",
1283      "xfa/src/fxfa/src/app/xfa_ffchoicelist.h",
1284      "xfa/src/fxfa/src/app/xfa_ffConfigAcc.cpp",
1285      "xfa/src/fxfa/src/app/xfa_ffConfigAcc.h",
1286      "xfa/src/fxfa/src/app/xfa_ffdoc.cpp",
1287      "xfa/src/fxfa/src/app/xfa_ffdoc.h",
1288      "xfa/src/fxfa/src/app/xfa_ffdochandler.cpp",
1289      "xfa/src/fxfa/src/app/xfa_ffdochandler.h",
1290      "xfa/src/fxfa/src/app/xfa_ffdocview.cpp",
1291      "xfa/src/fxfa/src/app/xfa_ffdocview.h",
1292      "xfa/src/fxfa/src/app/xfa_ffdraw.cpp",
1293      "xfa/src/fxfa/src/app/xfa_ffdraw.h",
1294      "xfa/src/fxfa/src/app/xfa_ffexclgroup.cpp",
1295      "xfa/src/fxfa/src/app/xfa_ffexclgroup.h",
1296      "xfa/src/fxfa/src/app/xfa_fffield.cpp",
1297      "xfa/src/fxfa/src/app/xfa_fffield.h",
1298      "xfa/src/fxfa/src/app/xfa_ffimage.cpp",
1299      "xfa/src/fxfa/src/app/xfa_ffimage.h",
1300      "xfa/src/fxfa/src/app/xfa_ffimageedit.cpp",
1301      "xfa/src/fxfa/src/app/xfa_ffimageedit.h",
1302      "xfa/src/fxfa/src/app/xfa_ffnotify.cpp",
1303      "xfa/src/fxfa/src/app/xfa_ffnotify.h",
1304      "xfa/src/fxfa/src/app/xfa_ffpageview.cpp",
1305      "xfa/src/fxfa/src/app/xfa_ffpageview.h",
1306      "xfa/src/fxfa/src/app/xfa_ffpath.cpp",
1307      "xfa/src/fxfa/src/app/xfa_ffpath.h",
1308      "xfa/src/fxfa/src/app/xfa_ffpushbutton.cpp",
1309      "xfa/src/fxfa/src/app/xfa_ffpushbutton.h",
1310      "xfa/src/fxfa/src/app/xfa_ffsignature.cpp",
1311      "xfa/src/fxfa/src/app/xfa_ffsignature.h",
1312      "xfa/src/fxfa/src/app/xfa_ffsubform.cpp",
1313      "xfa/src/fxfa/src/app/xfa_ffsubform.h",
1314      "xfa/src/fxfa/src/app/xfa_fftext.cpp",
1315      "xfa/src/fxfa/src/app/xfa_fftext.h",
1316      "xfa/src/fxfa/src/app/xfa_fftextedit.cpp",
1317      "xfa/src/fxfa/src/app/xfa_fftextedit.h",
1318      "xfa/src/fxfa/src/app/xfa_ffwidget.cpp",
1319      "xfa/src/fxfa/src/app/xfa_ffwidget.h",
1320      "xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp",
1321      "xfa/src/fxfa/src/app/xfa_ffwidgetacc.h",
1322      "xfa/src/fxfa/src/app/xfa_ffwidgethandler.cpp",
1323      "xfa/src/fxfa/src/app/xfa_ffwidgethandler.h",
1324      "xfa/src/fxfa/src/app/xfa_fontmgr.cpp",
1325      "xfa/src/fxfa/src/app/xfa_fontmgr.h",
1326      "xfa/src/fxfa/src/app/xfa_fwladapter.cpp",
1327      "xfa/src/fxfa/src/app/xfa_fwladapter.h",
1328      "xfa/src/fxfa/src/app/xfa_fwltheme.cpp",
1329      "xfa/src/fxfa/src/app/xfa_fwltheme.h",
1330      "xfa/src/fxfa/src/app/xfa_rendercontext.cpp",
1331      "xfa/src/fxfa/src/app/xfa_rendercontext.h",
1332      "xfa/src/fxfa/src/app/xfa_textlayout.cpp",
1333      "xfa/src/fxfa/src/app/xfa_textlayout.h",
1334      "xfa/src/fxfa/src/common/fxfa_localevalue.h",
1335      "xfa/src/fxfa/src/common/xfa_common.h",
1336      "xfa/src/fxfa/src/common/xfa_docdata.h",
1337      "xfa/src/fxfa/src/common/xfa_doclayout.h",
1338      "xfa/src/fxfa/src/common/xfa_document.h",
1339      "xfa/src/fxfa/src/common/xfa_fm2jsapi.h",
1340      "xfa/src/fxfa/src/common/xfa_localemgr.h",
1341      "xfa/src/fxfa/src/common/xfa_object.h",
1342      "xfa/src/fxfa/src/common/xfa_parser.h",
1343      "xfa/src/fxfa/src/common/xfa_script.h",
1344      "xfa/src/fxfa/src/common/xfa_utils.h",
1345      "xfa/src/fxfa/src/fm2js/xfa_error.cpp",
1346      "xfa/src/fxfa/src/fm2js/xfa_error.h",
1347      "xfa/src/fxfa/src/fm2js/xfa_expression.cpp",
1348      "xfa/src/fxfa/src/fm2js/xfa_expression.h",
1349      "xfa/src/fxfa/src/fm2js/xfa_fm2js.h",
1350      "xfa/src/fxfa/src/fm2js/xfa_fm2jsapi.cpp",
1351      "xfa/src/fxfa/src/fm2js/xfa_fm2jscontext.cpp",
1352      "xfa/src/fxfa/src/fm2js/xfa_fm2jscontext.h",
1353      "xfa/src/fxfa/src/fm2js/xfa_fmparse.cpp",
1354      "xfa/src/fxfa/src/fm2js/xfa_fmparse.h",
1355      "xfa/src/fxfa/src/fm2js/xfa_lexer.cpp",
1356      "xfa/src/fxfa/src/fm2js/xfa_lexer.h",
1357      "xfa/src/fxfa/src/fm2js/xfa_program.cpp",
1358      "xfa/src/fxfa/src/fm2js/xfa_program.h",
1359      "xfa/src/fxfa/src/fm2js/xfa_simpleexpression.cpp",
1360      "xfa/src/fxfa/src/fm2js/xfa_simpleexpression.h",
1361      "xfa/src/fxfa/src/parser/xfa_basic_data.cpp",
1362      "xfa/src/fxfa/src/parser/xfa_basic_imp.cpp",
1363      "xfa/src/fxfa/src/parser/xfa_basic_imp.h",
1364      "xfa/src/fxfa/src/parser/xfa_document_datadescription_imp.cpp",
1365      "xfa/src/fxfa/src/parser/xfa_document_datadescription_imp.h",
1366      "xfa/src/fxfa/src/parser/xfa_document_datamerger_imp.cpp",
1367      "xfa/src/fxfa/src/parser/xfa_document_datamerger_imp.h",
1368      "xfa/src/fxfa/src/parser/xfa_document_imp.cpp",
1369      "xfa/src/fxfa/src/parser/xfa_document_layout_imp.cpp",
1370      "xfa/src/fxfa/src/parser/xfa_document_layout_imp.h",
1371      "xfa/src/fxfa/src/parser/xfa_document_serialize.cpp",
1372      "xfa/src/fxfa/src/parser/xfa_document_serialize.h",
1373      "xfa/src/fxfa/src/parser/xfa_layout_appadapter.cpp",
1374      "xfa/src/fxfa/src/parser/xfa_layout_appadapter.h",
1375      "xfa/src/fxfa/src/parser/xfa_layout_itemlayout.cpp",
1376      "xfa/src/fxfa/src/parser/xfa_layout_itemlayout.h",
1377      "xfa/src/fxfa/src/parser/xfa_layout_pagemgr_new.cpp",
1378      "xfa/src/fxfa/src/parser/xfa_layout_pagemgr_new.h",
1379      "xfa/src/fxfa/src/parser/xfa_locale.cpp",
1380      "xfa/src/fxfa/src/parser/xfa_locale.h",
1381      "xfa/src/fxfa/src/parser/xfa_localemgr.cpp",
1382      "xfa/src/fxfa/src/parser/xfa_localevalue.cpp",
1383      "xfa/src/fxfa/src/parser/xfa_objectacc_imp.cpp",
1384      "xfa/src/fxfa/src/parser/xfa_object_imp.cpp",
1385      "xfa/src/fxfa/src/parser/xfa_parser_imp.cpp",
1386      "xfa/src/fxfa/src/parser/xfa_parser_imp.h",
1387      "xfa/src/fxfa/src/parser/xfa_script_datawindow.cpp",
1388      "xfa/src/fxfa/src/parser/xfa_script_datawindow.h",
1389      "xfa/src/fxfa/src/parser/xfa_script_eventpseudomodel.cpp",
1390      "xfa/src/fxfa/src/parser/xfa_script_eventpseudomodel.h",
1391      "xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.cpp",
1392      "xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.h",
1393      "xfa/src/fxfa/src/parser/xfa_script_imp.cpp",
1394      "xfa/src/fxfa/src/parser/xfa_script_imp.h",
1395      "xfa/src/fxfa/src/parser/xfa_script_layoutpseudomodel.cpp",
1396      "xfa/src/fxfa/src/parser/xfa_script_layoutpseudomodel.h",
1397      "xfa/src/fxfa/src/parser/xfa_script_logpseudomodel.cpp",
1398      "xfa/src/fxfa/src/parser/xfa_script_logpseudomodel.h",
1399      "xfa/src/fxfa/src/parser/xfa_script_nodehelper.cpp",
1400      "xfa/src/fxfa/src/parser/xfa_script_nodehelper.h",
1401      "xfa/src/fxfa/src/parser/xfa_script_resolveprocessor.cpp",
1402      "xfa/src/fxfa/src/parser/xfa_script_resolveprocessor.h",
1403      "xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp",
1404      "xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.h",
1405      "xfa/src/fxfa/src/parser/xfa_utils_imp.cpp",
1406      "xfa/src/fxgraphics/src/fx_graphics.cpp",
1407      "xfa/src/fxgraphics/src/fx_path_generator.cpp",
1408      "xfa/src/fxgraphics/src/fx_path_generator.h",
1409      "xfa/src/fxgraphics/src/pre.h",
1410    ]
1411    include_dirs = [
1412      ".",
1413    ]
1414    if (pdf_enable_v8) {
1415      sources += [
1416        "xfa/src/fxjse/src/class.cpp",
1417        "xfa/src/fxjse/src/class.h",
1418        "xfa/src/fxjse/src/context.cpp",
1419        "xfa/src/fxjse/src/context.h",
1420        "xfa/src/fxjse/src/dynprop.cpp",
1421        "xfa/src/fxjse/src/runtime.cpp",
1422        "xfa/src/fxjse/src/runtime.h",
1423        "xfa/src/fxjse/src/scope_inline.h",
1424        "xfa/src/fxjse/src/util_inline.h",
1425        "xfa/src/fxjse/src/value.cpp",
1426        "xfa/src/fxjse/src/value.h"
1427      ]
1428      include_dirs += [
1429        "//v8",
1430        "//v8/include",
1431      ]
1432      public_deps = [
1433        "//v8",
1434      ]
1435      deps = [
1436        "//v8:v8_libplatform",
1437      ]
1438    }
1439    configs -= [ "//build/config/compiler:chromium_code" ]
1440    configs += [
1441      ":pdfium_config",
1442      "//build/config/compiler:no_chromium_code",
1443    ]
1444  }
1445}
1446
1447test("pdfium_unittests") {
1448  sources = [
1449    "core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp",
1450    "core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp",
1451    "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp",
1452    "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp",
1453    "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp",
1454    "core/src/fpdftext/fpdf_text_int_unittest.cpp",
1455    "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp",
1456    "core/src/fxcrt/fx_basic_bstring_unittest.cpp",
1457    "core/src/fxcrt/fx_basic_memmgr_unittest.cpp",
1458    "core/src/fxcrt/fx_basic_wstring_unittest.cpp",
1459    "core/src/fxcrt/fx_bidi_unittest.cpp",
1460    "core/src/fxcrt/fx_extension_unittest.cpp",
1461    "core/src/fxcrt/fx_system_unittest.cpp",
1462  ]
1463  deps = [
1464    "//testing/gtest",
1465    "//testing/gtest:gtest_main",
1466    ":pdfium",
1467    ":test_support",
1468  ]
1469  if (pdf_enable_xfa) {
1470    sources += [
1471      "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
1472      "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp",
1473    ]
1474  }
1475  configs += [ ":pdfium_config" ]
1476}
1477
1478test("pdfium_embeddertests") {
1479  sources = [
1480    "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp",
1481    "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp",
1482    "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp",
1483    "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp",
1484    "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
1485    "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp",
1486    "fpdfsdk/src/fpdfdoc_embeddertest.cpp",
1487    "fpdfsdk/src/fpdfedit_embeddertest.cpp",
1488    "fpdfsdk/src/fpdfext_embeddertest.cpp",
1489    "fpdfsdk/src/fpdfformfill_embeddertest.cpp",
1490    "fpdfsdk/src/fpdfsave_embeddertest.cpp",
1491    "fpdfsdk/src/fpdftext_embeddertest.cpp",
1492    "fpdfsdk/src/fpdfview_c_api_test.c",
1493    "fpdfsdk/src/fpdfview_c_api_test.h",
1494    "fpdfsdk/src/fpdfview_embeddertest.cpp",
1495    "testing/embedder_test.cpp",
1496    "testing/embedder_test.h",
1497    "testing/embedder_test_mock_delegate.h",
1498    "testing/embedder_test_timer_handling_delegate.h",
1499    "xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp",
1500  ]
1501  deps = [
1502    "//testing/gmock",
1503    "//testing/gtest",
1504    ":pdfium",
1505    ":test_support",
1506  ]
1507  include_dirs = []
1508  if (pdf_enable_v8) {
1509    sources += [
1510      "fpdfsdk/src/javascript/public_methods_embeddertest.cpp",
1511      "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp",
1512      "testing/js_embedder_test.cpp",
1513      "testing/js_embedder_test.h",
1514    ]
1515    deps += [
1516      "//v8",
1517      "//v8:v8_libplatform",
1518    ]
1519    include_dirs += [
1520      "//v8",
1521      "//v8/include",
1522    ]
1523    configs += [ "//v8:external_startup_data" ]
1524  }
1525  configs += [ ":pdfium_config" ]
1526}
1527