1# Copyright 2018 The PDFium 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("../../../pdfium.gni")
6import("../../../testing/test.gni")
7
8assert(pdf_enable_xfa)
9
10source_set("parser") {
11  sources = [
12    "cscript_datawindow.cpp",
13    "cscript_datawindow.h",
14    "cscript_eventpseudomodel.cpp",
15    "cscript_eventpseudomodel.h",
16    "cscript_hostpseudomodel.cpp",
17    "cscript_hostpseudomodel.h",
18    "cscript_layoutpseudomodel.cpp",
19    "cscript_layoutpseudomodel.h",
20    "cscript_logpseudomodel.cpp",
21    "cscript_logpseudomodel.h",
22    "cscript_signaturepseudomodel.cpp",
23    "cscript_signaturepseudomodel.h",
24    "cxfa_accessiblecontent.cpp",
25    "cxfa_accessiblecontent.h",
26    "cxfa_acrobat.cpp",
27    "cxfa_acrobat.h",
28    "cxfa_acrobat7.cpp",
29    "cxfa_acrobat7.h",
30    "cxfa_adbe_jsconsole.cpp",
31    "cxfa_adbe_jsconsole.h",
32    "cxfa_adbe_jsdebugger.cpp",
33    "cxfa_adbe_jsdebugger.h",
34    "cxfa_addsilentprint.cpp",
35    "cxfa_addsilentprint.h",
36    "cxfa_addviewerpreferences.cpp",
37    "cxfa_addviewerpreferences.h",
38    "cxfa_adjustdata.cpp",
39    "cxfa_adjustdata.h",
40    "cxfa_adobeextensionlevel.cpp",
41    "cxfa_adobeextensionlevel.h",
42    "cxfa_agent.cpp",
43    "cxfa_agent.h",
44    "cxfa_alwaysembed.cpp",
45    "cxfa_alwaysembed.h",
46    "cxfa_amd.cpp",
47    "cxfa_amd.h",
48    "cxfa_appearancefilter.cpp",
49    "cxfa_appearancefilter.h",
50    "cxfa_arc.cpp",
51    "cxfa_arc.h",
52    "cxfa_area.cpp",
53    "cxfa_area.h",
54    "cxfa_arraynodelist.cpp",
55    "cxfa_arraynodelist.h",
56    "cxfa_assist.cpp",
57    "cxfa_assist.h",
58    "cxfa_attachnodelist.cpp",
59    "cxfa_attachnodelist.h",
60    "cxfa_attributes.cpp",
61    "cxfa_attributes.h",
62    "cxfa_autosave.cpp",
63    "cxfa_autosave.h",
64    "cxfa_barcode.cpp",
65    "cxfa_barcode.h",
66    "cxfa_base.cpp",
67    "cxfa_base.h",
68    "cxfa_batchoutput.cpp",
69    "cxfa_batchoutput.h",
70    "cxfa_behavioroverride.cpp",
71    "cxfa_behavioroverride.h",
72    "cxfa_bind.cpp",
73    "cxfa_bind.h",
74    "cxfa_binditems.cpp",
75    "cxfa_binditems.h",
76    "cxfa_bookend.cpp",
77    "cxfa_bookend.h",
78    "cxfa_boolean.cpp",
79    "cxfa_boolean.h",
80    "cxfa_border.cpp",
81    "cxfa_border.h",
82    "cxfa_box.cpp",
83    "cxfa_box.h",
84    "cxfa_break.cpp",
85    "cxfa_break.h",
86    "cxfa_breakafter.cpp",
87    "cxfa_breakafter.h",
88    "cxfa_breakbefore.cpp",
89    "cxfa_breakbefore.h",
90    "cxfa_button.cpp",
91    "cxfa_button.h",
92    "cxfa_cache.cpp",
93    "cxfa_cache.h",
94    "cxfa_calculate.cpp",
95    "cxfa_calculate.h",
96    "cxfa_calendarsymbols.cpp",
97    "cxfa_calendarsymbols.h",
98    "cxfa_caption.cpp",
99    "cxfa_caption.h",
100    "cxfa_certificate.cpp",
101    "cxfa_certificate.h",
102    "cxfa_certificates.cpp",
103    "cxfa_certificates.h",
104    "cxfa_change.cpp",
105    "cxfa_change.h",
106    "cxfa_checkbutton.cpp",
107    "cxfa_checkbutton.h",
108    "cxfa_choicelist.cpp",
109    "cxfa_choicelist.h",
110    "cxfa_color.cpp",
111    "cxfa_color.h",
112    "cxfa_comb.cpp",
113    "cxfa_comb.h",
114    "cxfa_command.cpp",
115    "cxfa_command.h",
116    "cxfa_common.cpp",
117    "cxfa_common.h",
118    "cxfa_compress.cpp",
119    "cxfa_compress.h",
120    "cxfa_compression.cpp",
121    "cxfa_compression.h",
122    "cxfa_compresslogicalstructure.cpp",
123    "cxfa_compresslogicalstructure.h",
124    "cxfa_compressobjectstream.cpp",
125    "cxfa_compressobjectstream.h",
126    "cxfa_config.cpp",
127    "cxfa_config.h",
128    "cxfa_conformance.cpp",
129    "cxfa_conformance.h",
130    "cxfa_connect.cpp",
131    "cxfa_connect.h",
132    "cxfa_connectionset.cpp",
133    "cxfa_connectionset.h",
134    "cxfa_connectstring.cpp",
135    "cxfa_connectstring.h",
136    "cxfa_contentarea.cpp",
137    "cxfa_contentarea.h",
138    "cxfa_contentcopy.cpp",
139    "cxfa_contentcopy.h",
140    "cxfa_copies.cpp",
141    "cxfa_copies.h",
142    "cxfa_corner.cpp",
143    "cxfa_corner.h",
144    "cxfa_creator.cpp",
145    "cxfa_creator.h",
146    "cxfa_currencysymbol.cpp",
147    "cxfa_currencysymbol.h",
148    "cxfa_currencysymbols.cpp",
149    "cxfa_currencysymbols.h",
150    "cxfa_currentpage.cpp",
151    "cxfa_currentpage.h",
152    "cxfa_data.cpp",
153    "cxfa_data.h",
154    "cxfa_dataexporter.cpp",
155    "cxfa_dataexporter.h",
156    "cxfa_datagroup.cpp",
157    "cxfa_datagroup.h",
158    "cxfa_datamodel.cpp",
159    "cxfa_datamodel.h",
160    "cxfa_datavalue.cpp",
161    "cxfa_datavalue.h",
162    "cxfa_date.cpp",
163    "cxfa_date.h",
164    "cxfa_datepattern.cpp",
165    "cxfa_datepattern.h",
166    "cxfa_datepatterns.cpp",
167    "cxfa_datepatterns.h",
168    "cxfa_datetime.cpp",
169    "cxfa_datetime.h",
170    "cxfa_datetimeedit.cpp",
171    "cxfa_datetimeedit.h",
172    "cxfa_datetimesymbols.cpp",
173    "cxfa_datetimesymbols.h",
174    "cxfa_day.cpp",
175    "cxfa_day.h",
176    "cxfa_daynames.cpp",
177    "cxfa_daynames.h",
178    "cxfa_debug.cpp",
179    "cxfa_debug.h",
180    "cxfa_decimal.cpp",
181    "cxfa_decimal.h",
182    "cxfa_defaulttypeface.cpp",
183    "cxfa_defaulttypeface.h",
184    "cxfa_defaultui.cpp",
185    "cxfa_defaultui.h",
186    "cxfa_delete.cpp",
187    "cxfa_delete.h",
188    "cxfa_delta.cpp",
189    "cxfa_delta.h",
190    "cxfa_deltas.cpp",
191    "cxfa_deltas.h",
192    "cxfa_desc.cpp",
193    "cxfa_desc.h",
194    "cxfa_destination.cpp",
195    "cxfa_destination.h",
196    "cxfa_digestmethod.cpp",
197    "cxfa_digestmethod.h",
198    "cxfa_digestmethods.cpp",
199    "cxfa_digestmethods.h",
200    "cxfa_document.cpp",
201    "cxfa_document.h",
202    "cxfa_document_parser.cpp",
203    "cxfa_document_parser.h",
204    "cxfa_documentassembly.cpp",
205    "cxfa_documentassembly.h",
206    "cxfa_draw.cpp",
207    "cxfa_draw.h",
208    "cxfa_driver.cpp",
209    "cxfa_driver.h",
210    "cxfa_dsigdata.cpp",
211    "cxfa_dsigdata.h",
212    "cxfa_duplexoption.cpp",
213    "cxfa_duplexoption.h",
214    "cxfa_dynamicrender.cpp",
215    "cxfa_dynamicrender.h",
216    "cxfa_edge.cpp",
217    "cxfa_edge.h",
218    "cxfa_effectiveinputpolicy.cpp",
219    "cxfa_effectiveinputpolicy.h",
220    "cxfa_effectiveoutputpolicy.cpp",
221    "cxfa_effectiveoutputpolicy.h",
222    "cxfa_embed.cpp",
223    "cxfa_embed.h",
224    "cxfa_encoding.cpp",
225    "cxfa_encoding.h",
226    "cxfa_encodings.cpp",
227    "cxfa_encodings.h",
228    "cxfa_encrypt.cpp",
229    "cxfa_encrypt.h",
230    "cxfa_encryption.cpp",
231    "cxfa_encryption.h",
232    "cxfa_encryptionlevel.cpp",
233    "cxfa_encryptionlevel.h",
234    "cxfa_encryptionmethod.cpp",
235    "cxfa_encryptionmethod.h",
236    "cxfa_encryptionmethods.cpp",
237    "cxfa_encryptionmethods.h",
238    "cxfa_enforce.cpp",
239    "cxfa_enforce.h",
240    "cxfa_equate.cpp",
241    "cxfa_equate.h",
242    "cxfa_equaterange.cpp",
243    "cxfa_equaterange.h",
244    "cxfa_era.cpp",
245    "cxfa_era.h",
246    "cxfa_eranames.cpp",
247    "cxfa_eranames.h",
248    "cxfa_event.cpp",
249    "cxfa_event.h",
250    "cxfa_exclgroup.cpp",
251    "cxfa_exclgroup.h",
252    "cxfa_exclude.cpp",
253    "cxfa_exclude.h",
254    "cxfa_excludens.cpp",
255    "cxfa_excludens.h",
256    "cxfa_exdata.cpp",
257    "cxfa_exdata.h",
258    "cxfa_execute.cpp",
259    "cxfa_execute.h",
260    "cxfa_exobject.cpp",
261    "cxfa_exobject.h",
262    "cxfa_extras.cpp",
263    "cxfa_extras.h",
264    "cxfa_field.cpp",
265    "cxfa_field.h",
266    "cxfa_fill.cpp",
267    "cxfa_fill.h",
268    "cxfa_filter.cpp",
269    "cxfa_filter.h",
270    "cxfa_fliplabel.cpp",
271    "cxfa_fliplabel.h",
272    "cxfa_float.cpp",
273    "cxfa_float.h",
274    "cxfa_font.cpp",
275    "cxfa_font.h",
276    "cxfa_fontinfo.cpp",
277    "cxfa_fontinfo.h",
278    "cxfa_form.cpp",
279    "cxfa_form.h",
280    "cxfa_format.cpp",
281    "cxfa_format.h",
282    "cxfa_formfieldfilling.cpp",
283    "cxfa_formfieldfilling.h",
284    "cxfa_groupparent.cpp",
285    "cxfa_groupparent.h",
286    "cxfa_handler.cpp",
287    "cxfa_handler.h",
288    "cxfa_hyphenation.cpp",
289    "cxfa_hyphenation.h",
290    "cxfa_ifempty.cpp",
291    "cxfa_ifempty.h",
292    "cxfa_image.cpp",
293    "cxfa_image.h",
294    "cxfa_imageedit.cpp",
295    "cxfa_imageedit.h",
296    "cxfa_includexdpcontent.cpp",
297    "cxfa_includexdpcontent.h",
298    "cxfa_incrementalload.cpp",
299    "cxfa_incrementalload.h",
300    "cxfa_incrementalmerge.cpp",
301    "cxfa_incrementalmerge.h",
302    "cxfa_insert.cpp",
303    "cxfa_insert.h",
304    "cxfa_instancemanager.cpp",
305    "cxfa_instancemanager.h",
306    "cxfa_integer.cpp",
307    "cxfa_integer.h",
308    "cxfa_interactive.cpp",
309    "cxfa_interactive.h",
310    "cxfa_issuers.cpp",
311    "cxfa_issuers.h",
312    "cxfa_items.cpp",
313    "cxfa_items.h",
314    "cxfa_jog.cpp",
315    "cxfa_jog.h",
316    "cxfa_keep.cpp",
317    "cxfa_keep.h",
318    "cxfa_keyusage.cpp",
319    "cxfa_keyusage.h",
320    "cxfa_labelprinter.cpp",
321    "cxfa_labelprinter.h",
322    "cxfa_layout.cpp",
323    "cxfa_layout.h",
324    "cxfa_level.cpp",
325    "cxfa_level.h",
326    "cxfa_line.cpp",
327    "cxfa_line.h",
328    "cxfa_linear.cpp",
329    "cxfa_linear.h",
330    "cxfa_linearized.cpp",
331    "cxfa_linearized.h",
332    "cxfa_list.cpp",
333    "cxfa_list.h",
334    "cxfa_locale.cpp",
335    "cxfa_locale.h",
336    "cxfa_localemgr.cpp",
337    "cxfa_localemgr.h",
338    "cxfa_localeset.cpp",
339    "cxfa_localeset.h",
340    "cxfa_localevalue.cpp",
341    "cxfa_localevalue.h",
342    "cxfa_lockdocument.cpp",
343    "cxfa_lockdocument.h",
344    "cxfa_log.cpp",
345    "cxfa_log.h",
346    "cxfa_manifest.cpp",
347    "cxfa_manifest.h",
348    "cxfa_map.cpp",
349    "cxfa_map.h",
350    "cxfa_margin.cpp",
351    "cxfa_margin.h",
352    "cxfa_mdp.cpp",
353    "cxfa_mdp.h",
354    "cxfa_measurement.cpp",
355    "cxfa_measurement.h",
356    "cxfa_medium.cpp",
357    "cxfa_medium.h",
358    "cxfa_mediuminfo.cpp",
359    "cxfa_mediuminfo.h",
360    "cxfa_meridiem.cpp",
361    "cxfa_meridiem.h",
362    "cxfa_meridiemnames.cpp",
363    "cxfa_meridiemnames.h",
364    "cxfa_message.cpp",
365    "cxfa_message.h",
366    "cxfa_messaging.cpp",
367    "cxfa_messaging.h",
368    "cxfa_mode.cpp",
369    "cxfa_mode.h",
370    "cxfa_modifyannots.cpp",
371    "cxfa_modifyannots.h",
372    "cxfa_month.cpp",
373    "cxfa_month.h",
374    "cxfa_monthnames.cpp",
375    "cxfa_monthnames.h",
376    "cxfa_msgid.cpp",
377    "cxfa_msgid.h",
378    "cxfa_nameattr.cpp",
379    "cxfa_nameattr.h",
380    "cxfa_neverembed.cpp",
381    "cxfa_neverembed.h",
382    "cxfa_node.cpp",
383    "cxfa_node.h",
384    "cxfa_nodehelper.cpp",
385    "cxfa_nodehelper.h",
386    "cxfa_nodeiteratortemplate.h",
387    "cxfa_nodelocale.cpp",
388    "cxfa_nodelocale.h",
389    "cxfa_nodeowner.cpp",
390    "cxfa_nodeowner.h",
391    "cxfa_numberofcopies.cpp",
392    "cxfa_numberofcopies.h",
393    "cxfa_numberpattern.cpp",
394    "cxfa_numberpattern.h",
395    "cxfa_numberpatterns.cpp",
396    "cxfa_numberpatterns.h",
397    "cxfa_numbersymbol.cpp",
398    "cxfa_numbersymbol.h",
399    "cxfa_numbersymbols.cpp",
400    "cxfa_numbersymbols.h",
401    "cxfa_numericedit.cpp",
402    "cxfa_numericedit.h",
403    "cxfa_object.cpp",
404    "cxfa_object.h",
405    "cxfa_occur.cpp",
406    "cxfa_occur.h",
407    "cxfa_oid.cpp",
408    "cxfa_oid.h",
409    "cxfa_oids.cpp",
410    "cxfa_oids.h",
411    "cxfa_openaction.cpp",
412    "cxfa_openaction.h",
413    "cxfa_operation.cpp",
414    "cxfa_operation.h",
415    "cxfa_output.cpp",
416    "cxfa_output.h",
417    "cxfa_outputbin.cpp",
418    "cxfa_outputbin.h",
419    "cxfa_outputxsl.cpp",
420    "cxfa_outputxsl.h",
421    "cxfa_overflow.cpp",
422    "cxfa_overflow.h",
423    "cxfa_overprint.cpp",
424    "cxfa_overprint.h",
425    "cxfa_packet.cpp",
426    "cxfa_packet.h",
427    "cxfa_packets.cpp",
428    "cxfa_packets.h",
429    "cxfa_pagearea.cpp",
430    "cxfa_pagearea.h",
431    "cxfa_pageoffset.cpp",
432    "cxfa_pageoffset.h",
433    "cxfa_pagerange.cpp",
434    "cxfa_pagerange.h",
435    "cxfa_pageset.cpp",
436    "cxfa_pageset.h",
437    "cxfa_pagination.cpp",
438    "cxfa_pagination.h",
439    "cxfa_paginationoverride.cpp",
440    "cxfa_paginationoverride.h",
441    "cxfa_para.cpp",
442    "cxfa_para.h",
443    "cxfa_part.cpp",
444    "cxfa_part.h",
445    "cxfa_password.cpp",
446    "cxfa_password.h",
447    "cxfa_passwordedit.cpp",
448    "cxfa_passwordedit.h",
449    "cxfa_pattern.cpp",
450    "cxfa_pattern.h",
451    "cxfa_pcl.cpp",
452    "cxfa_pcl.h",
453    "cxfa_pdf.cpp",
454    "cxfa_pdf.h",
455    "cxfa_pdfa.cpp",
456    "cxfa_pdfa.h",
457    "cxfa_permissions.cpp",
458    "cxfa_permissions.h",
459    "cxfa_picktraybypdfsize.cpp",
460    "cxfa_picktraybypdfsize.h",
461    "cxfa_picture.cpp",
462    "cxfa_picture.h",
463    "cxfa_plaintextmetadata.cpp",
464    "cxfa_plaintextmetadata.h",
465    "cxfa_presence.cpp",
466    "cxfa_presence.h",
467    "cxfa_present.cpp",
468    "cxfa_present.h",
469    "cxfa_print.cpp",
470    "cxfa_print.h",
471    "cxfa_printername.cpp",
472    "cxfa_printername.h",
473    "cxfa_printhighquality.cpp",
474    "cxfa_printhighquality.h",
475    "cxfa_printscaling.cpp",
476    "cxfa_printscaling.h",
477    "cxfa_producer.cpp",
478    "cxfa_producer.h",
479    "cxfa_proto.cpp",
480    "cxfa_proto.h",
481    "cxfa_ps.cpp",
482    "cxfa_ps.h",
483    "cxfa_psmap.cpp",
484    "cxfa_psmap.h",
485    "cxfa_query.cpp",
486    "cxfa_query.h",
487    "cxfa_radial.cpp",
488    "cxfa_radial.h",
489    "cxfa_range.cpp",
490    "cxfa_range.h",
491    "cxfa_reason.cpp",
492    "cxfa_reason.h",
493    "cxfa_reasons.cpp",
494    "cxfa_reasons.h",
495    "cxfa_record.cpp",
496    "cxfa_record.h",
497    "cxfa_recordset.cpp",
498    "cxfa_recordset.h",
499    "cxfa_rectangle.cpp",
500    "cxfa_rectangle.h",
501    "cxfa_ref.cpp",
502    "cxfa_ref.h",
503    "cxfa_relevant.cpp",
504    "cxfa_relevant.h",
505    "cxfa_rename.cpp",
506    "cxfa_rename.h",
507    "cxfa_renderpolicy.cpp",
508    "cxfa_renderpolicy.h",
509    "cxfa_rootelement.cpp",
510    "cxfa_rootelement.h",
511    "cxfa_runscripts.cpp",
512    "cxfa_runscripts.h",
513    "cxfa_script.cpp",
514    "cxfa_script.h",
515    "cxfa_scriptmodel.cpp",
516    "cxfa_scriptmodel.h",
517    "cxfa_select.cpp",
518    "cxfa_select.h",
519    "cxfa_setproperty.cpp",
520    "cxfa_setproperty.h",
521    "cxfa_severity.cpp",
522    "cxfa_severity.h",
523    "cxfa_sharptext.cpp",
524    "cxfa_sharptext.h",
525    "cxfa_sharpxhtml.cpp",
526    "cxfa_sharpxhtml.h",
527    "cxfa_sharpxml.cpp",
528    "cxfa_sharpxml.h",
529    "cxfa_signature.cpp",
530    "cxfa_signature.h",
531    "cxfa_signatureproperties.cpp",
532    "cxfa_signatureproperties.h",
533    "cxfa_signdata.cpp",
534    "cxfa_signdata.h",
535    "cxfa_signing.cpp",
536    "cxfa_signing.h",
537    "cxfa_silentprint.cpp",
538    "cxfa_silentprint.h",
539    "cxfa_soapaction.cpp",
540    "cxfa_soapaction.h",
541    "cxfa_soapaddress.cpp",
542    "cxfa_soapaddress.h",
543    "cxfa_solid.cpp",
544    "cxfa_solid.h",
545    "cxfa_source.cpp",
546    "cxfa_source.h",
547    "cxfa_sourceset.cpp",
548    "cxfa_sourceset.h",
549    "cxfa_speak.cpp",
550    "cxfa_speak.h",
551    "cxfa_staple.cpp",
552    "cxfa_staple.h",
553    "cxfa_startnode.cpp",
554    "cxfa_startnode.h",
555    "cxfa_startpage.cpp",
556    "cxfa_startpage.h",
557    "cxfa_stipple.cpp",
558    "cxfa_stipple.h",
559    "cxfa_stroke.cpp",
560    "cxfa_stroke.h",
561    "cxfa_subform.cpp",
562    "cxfa_subform.h",
563    "cxfa_subformset.cpp",
564    "cxfa_subformset.h",
565    "cxfa_subjectdn.cpp",
566    "cxfa_subjectdn.h",
567    "cxfa_subjectdns.cpp",
568    "cxfa_subjectdns.h",
569    "cxfa_submit.cpp",
570    "cxfa_submit.h",
571    "cxfa_submitformat.cpp",
572    "cxfa_submitformat.h",
573    "cxfa_submiturl.cpp",
574    "cxfa_submiturl.h",
575    "cxfa_subsetbelow.cpp",
576    "cxfa_subsetbelow.h",
577    "cxfa_suppressbanner.cpp",
578    "cxfa_suppressbanner.h",
579    "cxfa_tagged.cpp",
580    "cxfa_tagged.h",
581    "cxfa_template.cpp",
582    "cxfa_template.h",
583    "cxfa_templatecache.cpp",
584    "cxfa_templatecache.h",
585    "cxfa_text.cpp",
586    "cxfa_text.h",
587    "cxfa_textedit.cpp",
588    "cxfa_textedit.h",
589    "cxfa_thisproxy.cpp",
590    "cxfa_thisproxy.h",
591    "cxfa_threshold.cpp",
592    "cxfa_threshold.h",
593    "cxfa_time.cpp",
594    "cxfa_time.h",
595    "cxfa_timepattern.cpp",
596    "cxfa_timepattern.h",
597    "cxfa_timepatterns.cpp",
598    "cxfa_timepatterns.h",
599    "cxfa_timestamp.cpp",
600    "cxfa_timestamp.h",
601    "cxfa_timezoneprovider.cpp",
602    "cxfa_timezoneprovider.h",
603    "cxfa_to.cpp",
604    "cxfa_to.h",
605    "cxfa_tooltip.cpp",
606    "cxfa_tooltip.h",
607    "cxfa_trace.cpp",
608    "cxfa_trace.h",
609    "cxfa_transform.cpp",
610    "cxfa_transform.h",
611    "cxfa_traversal.cpp",
612    "cxfa_traversal.h",
613    "cxfa_traverse.cpp",
614    "cxfa_traverse.h",
615    "cxfa_traversestrategy_xfacontainernode.h",
616    "cxfa_traversestrategy_xfanode.h",
617    "cxfa_treelist.cpp",
618    "cxfa_treelist.h",
619    "cxfa_type.cpp",
620    "cxfa_type.h",
621    "cxfa_typeface.cpp",
622    "cxfa_typeface.h",
623    "cxfa_typefaces.cpp",
624    "cxfa_typefaces.h",
625    "cxfa_ui.cpp",
626    "cxfa_ui.h",
627    "cxfa_update.cpp",
628    "cxfa_update.h",
629    "cxfa_uri.cpp",
630    "cxfa_uri.h",
631    "cxfa_user.cpp",
632    "cxfa_user.h",
633    "cxfa_validate.cpp",
634    "cxfa_validate.h",
635    "cxfa_validateapprovalsignatures.cpp",
636    "cxfa_validateapprovalsignatures.h",
637    "cxfa_validationmessaging.cpp",
638    "cxfa_validationmessaging.h",
639    "cxfa_value.cpp",
640    "cxfa_value.h",
641    "cxfa_variables.cpp",
642    "cxfa_variables.h",
643    "cxfa_version.cpp",
644    "cxfa_version.h",
645    "cxfa_versioncontrol.cpp",
646    "cxfa_versioncontrol.h",
647    "cxfa_viewerpreferences.cpp",
648    "cxfa_viewerpreferences.h",
649    "cxfa_webclient.cpp",
650    "cxfa_webclient.h",
651    "cxfa_whitespace.cpp",
652    "cxfa_whitespace.h",
653    "cxfa_window.cpp",
654    "cxfa_window.h",
655    "cxfa_wsdladdress.cpp",
656    "cxfa_wsdladdress.h",
657    "cxfa_wsdlconnection.cpp",
658    "cxfa_wsdlconnection.h",
659    "cxfa_xdc.cpp",
660    "cxfa_xdc.h",
661    "cxfa_xdp.cpp",
662    "cxfa_xdp.h",
663    "cxfa_xfa.cpp",
664    "cxfa_xfa.h",
665    "cxfa_xmlconnection.cpp",
666    "cxfa_xmlconnection.h",
667    "cxfa_xmllocale.cpp",
668    "cxfa_xmllocale.h",
669    "cxfa_xsdconnection.cpp",
670    "cxfa_xsdconnection.h",
671    "cxfa_xsl.cpp",
672    "cxfa_xsl.h",
673    "cxfa_zpl.cpp",
674    "cxfa_zpl.h",
675    "xfa_basic_data.cpp",
676    "xfa_basic_data.h",
677    "xfa_document_datamerger_imp.cpp",
678    "xfa_document_datamerger_imp.h",
679    "xfa_resolvenode_rs.h",
680    "xfa_utils.cpp",
681    "xfa_utils.h",
682  ]
683  deps = [
684    "../../../core/fxcodec",
685    "../../../core/fxcrt",
686    "../../../core/fxge",
687    "../../../fxjs",
688    "../../fde",
689    "../../fgas",
690    "../../fxgraphics",
691  ]
692  allow_circular_includes_from = [ "../../../fxjs" ]
693  configs += [
694    "../../../:pdfium_core_config",
695    "../../:xfa_warnings",
696  ]
697  visibility = [ "../../../*" ]
698}
699
700pdfium_unittest_source_set("unittests") {
701  sources = [
702    "cxfa_document_parser_unittest.cpp",
703    "cxfa_localevalue_unittest.cpp",
704    "cxfa_measurement_unittest.cpp",
705    "cxfa_node_unittest.cpp",
706    "cxfa_nodeiteratortemplate_unittest.cpp",
707    "cxfa_xmllocale_unittest.cpp",
708    "xfa_basic_data_unittest.cpp",
709    "xfa_utils_unittest.cpp",
710  ]
711  deps = [
712    ":parser",
713    "../../../fxjs",
714  ]
715  pdfium_root_dir = "../../../"
716}
717
718pdfium_embeddertest_source_set("embeddertests") {
719  sources = [ "cxfa_document_parser_embeddertest.cpp" ]
720  pdfium_root_dir = "../../../"
721}
722