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