summaryrefslogtreecommitdiff
path: root/BUILD.gn
blob: 20a53e2f349183cb10bad485df421272a67ab311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build_overrides/v8.gni")
import("//testing/test.gni")
import("pdfium.gni")

config("pdfium_config") {
  cflags = []
  include_dirs = [
    ".",
    "third_party/freetype/include",
    "third_party/freetype/include/freetype",
  ]
  defines = [
    "OPJ_STATIC",
    "PNG_PREFIX",
    "PNG_USE_READ_MACROS",
    "V8_DEPRECATION_WARNINGS",
    "_CRT_SECURE_NO_WARNINGS",
  ]

  if (pdf_use_skia) {
    defines += [ "_SKIA_SUPPORT_" ]
  }

  if (pdf_enable_v8) {
    defines += [ "PDF_ENABLE_V8" ]
  }

  if (pdf_enable_xfa) {
    defines += [ "PDF_ENABLE_XFA" ]
  }

  if (is_linux) {
    if (current_cpu == "x64") {
      defines += [ "_FX_CPU_=_FX_X64_" ]
      cflags += [ "-fPIC" ]
    } else if (current_cpu == "x86") {
      defines += [ "_FX_CPU_=_FX_X86_" ]
    }
  }

  if (is_win) {
    cflags += [
      "/wd4005",
      "/wd4018",
      "/wd4146",
      "/wd4333",
      "/wd4345",
      "/wd4267",

      # TODO(ochang): Investigate if this can be fixed properly.
      "/wd4201",

      # TODO(thestig): Fix all instances, remove this, pdfium:29
      "/wd4245",
      "/wd4310",
      "/wd4389",
      "/wd4701",
      "/wd4702",
      "/wd4706",
      "/wd4800",
    ]
  }

  if (is_clang) {
    # TODO(thestig): Fix all instances, remove this, pdfium:29
    cflags += [ "-Wno-sign-compare" ]
  }
}

static_library("pdfium") {
  sources = [
    "fpdfsdk/include/fsdk_actionhandler.h",
    "fpdfsdk/include/fsdk_annothandler.h",
    "fpdfsdk/include/fsdk_baseannot.h",
    "fpdfsdk/include/fsdk_baseform.h",
    "fpdfsdk/src/fpdf_dataavail.cpp",
    "fpdfsdk/src/fpdf_ext.cpp",
    "fpdfsdk/src/fpdf_flatten.cpp",
    "fpdfsdk/src/fpdf_progressive.cpp",
    "fpdfsdk/src/fpdf_searchex.cpp",
    "fpdfsdk/src/fpdf_sysfontinfo.cpp",
    "fpdfsdk/src/fpdf_transformpage.cpp",
    "fpdfsdk/src/fpdfdoc.cpp",
    "fpdfsdk/src/fpdfeditimg.cpp",
    "fpdfsdk/src/fpdfeditpage.cpp",
    "fpdfsdk/src/fpdfformfill.cpp",
    "fpdfsdk/src/fpdfppo.cpp",
    "fpdfsdk/src/fpdfsave.cpp",
    "fpdfsdk/src/fpdftext.cpp",
    "fpdfsdk/src/fpdfview.cpp",
    "fpdfsdk/src/fsdk_actionhandler.cpp",
    "fpdfsdk/src/fsdk_annothandler.cpp",
    "fpdfsdk/src/fsdk_baseannot.cpp",
    "fpdfsdk/src/fsdk_baseform.cpp",
    "fpdfsdk/src/fsdk_mgr.cpp",
    "fpdfsdk/src/fsdk_rendercontext.cpp",
    "public/fpdf_dataavail.h",
    "public/fpdf_doc.h",
    "public/fpdf_edit.h",
    "public/fpdf_ext.h",
    "public/fpdf_flatten.h",
    "public/fpdf_formfill.h",
    "public/fpdf_fwlevent.h",
    "public/fpdf_ppo.h",
    "public/fpdf_progressive.h",
    "public/fpdf_save.h",
    "public/fpdf_searchex.h",
    "public/fpdf_sysfontinfo.h",
    "public/fpdf_text.h",
    "public/fpdf_transformpage.h",
    "public/fpdfview.h",
  ]

  libs = []
  configs += [ ":pdfium_config" ]

  deps = [
    ":fdrm",
    ":formfiller",
    ":fpdfapi",
    ":fpdfdoc",
    ":fpdftext",
    ":fxcodec",
    ":fxcrt",
    ":fxedit",
    ":fxge",
    ":javascript",
    ":pdfwindow",
    "third_party:bigint",
    "third_party:pdfium_base",
  ]

  if (pdf_enable_xfa) {
    deps += [ ":fpdfxfa" ]
  }

  if (is_win) {
    libs += [
      "advapi32.lib",
      "gdi32.lib",
      "user32.lib",
    ]
  }

  if (is_mac) {
    libs += [
      "AppKit.framework",
      "CoreFoundation.framework",
    ]
  }

  if (pdfium_bundle_freetype) {
    deps += [ "third_party:fx_freetype" ]
  } else {
    libs += [ "freetype" ]
  }
}

source_set("test_support") {
  testonly = true
  sources = [
    "testing/fx_string_testhelpers.cpp",
    "testing/fx_string_testhelpers.h",
    "testing/test_support.cpp",
    "testing/test_support.h",
    "testing/utils/path_service.cpp",
  ]
  deps = [
    ":pdfium",
    "//testing/gmock",
    "//testing/gtest",
  ]
  include_dirs = []
  if (pdf_enable_v8) {
    deps += [
      "//v8",
      "//v8:v8_libplatform",
    ]
    include_dirs += [
      "//v8",
      "//v8/include",
    ]
    configs += [ "//v8:external_startup_data" ]
  }
  configs += [ ":pdfium_config" ]
}

# Targets below this are only visible within this file (and to the
# top-level gn_visibility target used to help gn_all build everything).
visibility = [
  ":*",
  "//:gn_visibility",
]

static_library("fdrm") {
  sources = [
    "core/include/fdrm/fx_crypt.h",
    "core/src/fdrm/crypto/fx_crypt.cpp",
    "core/src/fdrm/crypto/fx_crypt_aes.cpp",
    "core/src/fdrm/crypto/fx_crypt_sha.cpp",
  ]
  configs += [ ":pdfium_config" ]
}

static_library("fpdfdoc") {
  sources = [
    "core/include/fpdfdoc/fpdf_ap.h",
    "core/include/fpdfdoc/fpdf_doc.h",
    "core/include/fpdfdoc/fpdf_tagged.h",
    "core/include/fpdfdoc/fpdf_vt.h",
    "core/src/fpdfdoc/doc_action.cpp",
    "core/src/fpdfdoc/doc_annot.cpp",
    "core/src/fpdfdoc/doc_ap.cpp",
    "core/src/fpdfdoc/doc_basic.cpp",
    "core/src/fpdfdoc/doc_bookmark.cpp",
    "core/src/fpdfdoc/doc_form.cpp",
    "core/src/fpdfdoc/doc_formcontrol.cpp",
    "core/src/fpdfdoc/doc_formfield.cpp",
    "core/src/fpdfdoc/doc_link.cpp",
    "core/src/fpdfdoc/doc_metadata.cpp",
    "core/src/fpdfdoc/doc_ocg.cpp",
    "core/src/fpdfdoc/doc_tagged.cpp",
    "core/src/fpdfdoc/doc_utils.cpp",
    "core/src/fpdfdoc/doc_utils.h",
    "core/src/fpdfdoc/doc_viewerPreferences.cpp",
    "core/src/fpdfdoc/doc_vt.cpp",
    "core/src/fpdfdoc/doc_vtmodule.cpp",
    "core/src/fpdfdoc/pdf_vt.h",
    "core/src/fpdfdoc/tagged_int.h",
  ]
  configs += [ ":pdfium_config" ]
}

static_library("fpdfapi") {
  sources = [
    "core/include/fpdfapi/fpdf_module.h",
    "core/include/fpdfapi/fpdf_objects.h",
    "core/include/fpdfapi/fpdf_page.h",
    "core/include/fpdfapi/fpdf_pageobj.h",
    "core/include/fpdfapi/fpdf_parser.h",
    "core/include/fpdfapi/fpdf_render.h",
    "core/include/fpdfapi/fpdf_resource.h",
    "core/include/fpdfapi/fpdf_serial.h",
    "core/src/fpdfapi/fpdf_basic_module.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp",
    "core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp",
    "core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp",
    "core/src/fpdfapi/fpdf_cmaps/cmap_int.h",
    "core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp",
    "core/src/fpdfapi/fpdf_edit/editint.h",
    "core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp",
    "core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp",
    "core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp",
    "core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp",
    "core/src/fpdfapi/fpdf_font/font_int.h",
    "core/src/fpdfapi/fpdf_font/fpdf_font.cpp",
    "core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp",
    "core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp",
    "core/src/fpdfapi/fpdf_font/ttgsubtable.cpp",
    "core/src/fpdfapi/fpdf_font/ttgsubtable.h",
    "core/src/fpdfapi/fpdf_page/fpdf_page.cpp",
    "core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp",
    "core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp",
    "core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp",
    "core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp",
    "core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp",
    "core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp",
    "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp",
    "core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp",
    "core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp",
    "core/src/fpdfapi/fpdf_page/pageint.h",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp",
    "core/src/fpdfapi/fpdf_parser/parser_int.h",
    "core/src/fpdfapi/fpdf_render/fpdf_render.cpp",
    "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp",
    "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp",
    "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp",
    "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp",
    "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp",
    "core/src/fpdfapi/fpdf_render/render_int.h",
  ]
  configs += [ ":pdfium_config" ]
}

static_library("fpdftext") {
  sources = [
    "core/include/fpdftext/fpdf_text.h",
    "core/src/fpdftext/fpdf_text_int.cpp",
    "core/src/fpdftext/text_int.h",
    "core/src/fpdftext/unicodenormalization.cpp",
    "core/src/fpdftext/unicodenormalizationdata.cpp",
    "core/src/fpdftext/unicodenormalizationdata.h",
  ]
  configs += [ ":pdfium_config" ]
}

static_library("fxcodec") {
  deps = [
    "third_party:fx_lcms2",
    "third_party:fx_libopenjpeg",
    "third_party:fx_zlib",

    # This is a generic JPEG library dependency.
    "//third_party:jpeg",
  ]
  sources = [
    "core/include/fxcodec/fx_codec.h",
    "core/include/fxcodec/fx_codec_def.h",
    "core/include/fxcodec/fx_codec_flate.h",
    "core/src/fxcodec/codec/codec_int.h",
    "core/src/fxcodec/codec/fx_codec.cpp",
    "core/src/fxcodec/codec/fx_codec_fax.cpp",
    "core/src/fxcodec/codec/fx_codec_flate.cpp",
    "core/src/fxcodec/codec/fx_codec_icc.cpp",
    "core/src/fxcodec/codec/fx_codec_jbig.cpp",
    "core/src/fxcodec/codec/fx_codec_jpeg.cpp",
    "core/src/fxcodec/codec/fx_codec_jpx_opj.cpp",
    "core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
    "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h",
    "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
    "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h",
    "core/src/fxcodec/jbig2/JBig2_BitStream.cpp",
    "core/src/fxcodec/jbig2/JBig2_BitStream.h",
    "core/src/fxcodec/jbig2/JBig2_Context.cpp",
    "core/src/fxcodec/jbig2/JBig2_Context.h",
    "core/src/fxcodec/jbig2/JBig2_Define.h",
    "core/src/fxcodec/jbig2/JBig2_GrdProc.cpp",
    "core/src/fxcodec/jbig2/JBig2_GrdProc.h",
    "core/src/fxcodec/jbig2/JBig2_GrrdProc.cpp",
    "core/src/fxcodec/jbig2/JBig2_GrrdProc.h",
    "core/src/fxcodec/jbig2/JBig2_GsidProc.cpp",
    "core/src/fxcodec/jbig2/JBig2_GsidProc.h",
    "core/src/fxcodec/jbig2/JBig2_HtrdProc.cpp",
    "core/src/fxcodec/jbig2/JBig2_HtrdProc.h",
    "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
    "core/src/fxcodec/jbig2/JBig2_HuffmanDecoder.h",
    "core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
    "core/src/fxcodec/jbig2/JBig2_HuffmanTable.h",
    "core/src/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h",
    "core/src/fxcodec/jbig2/JBig2_Image.cpp",
    "core/src/fxcodec/jbig2/JBig2_Image.h",
    "core/src/fxcodec/jbig2/JBig2_List.h",
    "core/src/fxcodec/jbig2/JBig2_Page.h",
    "core/src/fxcodec/jbig2/JBig2_PatternDict.cpp",
    "core/src/fxcodec/jbig2/JBig2_PatternDict.h",
    "core/src/fxcodec/jbig2/JBig2_PddProc.cpp",
    "core/src/fxcodec/jbig2/JBig2_PddProc.h",
    "core/src/fxcodec/jbig2/JBig2_SddProc.cpp",
    "core/src/fxcodec/jbig2/JBig2_SddProc.h",
    "core/src/fxcodec/jbig2/JBig2_Segment.cpp",
    "core/src/fxcodec/jbig2/JBig2_Segment.h",
    "core/src/fxcodec/jbig2/JBig2_SymbolDict.cpp",
    "core/src/fxcodec/jbig2/JBig2_SymbolDict.h",
    "core/src/fxcodec/jbig2/JBig2_TrdProc.cpp",
    "core/src/fxcodec/jbig2/JBig2_TrdProc.h",
  ]
  include_dirs = []
  if (pdf_enable_xfa) {
    sources += [
      "core/src/fxcodec/codec/fx_codec_bmp.cpp",
      "core/src/fxcodec/codec/fx_codec_gif.cpp",
      "core/src/fxcodec/codec/fx_codec_png.cpp",
      "core/src/fxcodec/codec/fx_codec_progress.cpp",
      "core/src/fxcodec/codec/fx_codec_progress.h",
      "core/src/fxcodec/codec/fx_codec_tiff.cpp",
      "core/src/fxcodec/lbmp/fx_bmp.cpp",
      "core/src/fxcodec/lbmp/fx_bmp.h",
      "core/src/fxcodec/lgif/fx_gif.cpp",
      "core/src/fxcodec/lgif/fx_gif.h",
    ]
    deps += [
      "third_party:fx_lpng",
      "third_party:fx_tiff",
    ]
  }
  if (is_posix) {
    # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
    # conversion to check that an address is 16-bit aligned (benign).
    cflags_c = [ "-Wno-pointer-to-int-cast" ]
  }
  configs += [ ":pdfium_config" ]
}

config("fxge_warnings") {
  if (is_clang) {
    cflags = [
      # http://code.google.com/p/pdfium/issues/detail?id=188
      "-Wno-switch",
    ]
  }
}

static_library("fxcrt") {
  sources = [
    "core/include/fxcrt/fx_basic.h",
    "core/include/fxcrt/fx_bidi.h",
    "core/include/fxcrt/fx_coordinates.h",
    "core/include/fxcrt/fx_ext.h",
    "core/include/fxcrt/fx_memory.h",
    "core/include/fxcrt/fx_safe_types.h",
    "core/include/fxcrt/fx_stream.h",
    "core/include/fxcrt/fx_string.h",
    "core/include/fxcrt/fx_system.h",
    "core/include/fxcrt/fx_ucd.h",
    "core/include/fxcrt/fx_xml.h",
    "core/src/fxcrt/extension.h",
    "core/src/fxcrt/fx_basic_array.cpp",
    "core/src/fxcrt/fx_basic_bstring.cpp",
    "core/src/fxcrt/fx_basic_buffer.cpp",
    "core/src/fxcrt/fx_basic_coords.cpp",
    "core/src/fxcrt/fx_basic_gcc.cpp",
    "core/src/fxcrt/fx_basic_list.cpp",
    "core/src/fxcrt/fx_basic_memmgr.cpp",
    "core/src/fxcrt/fx_basic_plex.cpp",
    "core/src/fxcrt/fx_basic_utf.cpp",
    "core/src/fxcrt/fx_basic_util.cpp",
    "core/src/fxcrt/fx_basic_wstring.cpp",
    "core/src/fxcrt/fx_bidi.cpp",
    "core/src/fxcrt/fx_extension.cpp",
    "core/src/fxcrt/fx_ucddata.cpp",
    "core/src/fxcrt/fx_unicode.cpp",
    "core/src/fxcrt/fx_xml_composer.cpp",
    "core/src/fxcrt/fx_xml_parser.cpp",
    "core/src/fxcrt/fxcrt_platforms.cpp",
    "core/src/fxcrt/fxcrt_platforms.h",
    "core/src/fxcrt/fxcrt_posix.cpp",
    "core/src/fxcrt/fxcrt_posix.h",
    "core/src/fxcrt/fxcrt_windows.cpp",
    "core/src/fxcrt/fxcrt_windows.h",
    "core/src/fxcrt/plex.h",
    "core/src/fxcrt/xml_int.h",
  ]
  if (pdf_enable_xfa) {
    sources += [
      "core/include/fxcrt/fx_arb.h",
      "core/src/fxcrt/fx_arabic.cpp",
      "core/src/fxcrt/fx_arabic.h",
      "core/src/fxcrt/fx_basic_maps.cpp",
    ]
  }
  configs += [ ":pdfium_config" ]
}

static_library("fxge") {
  deps = [
    "third_party:fx_agg",
  ]
  sources = [
    "core/include/fxge/fpf.h",
    "core/include/fxge/fx_dib.h",
    "core/include/fxge/fx_font.h",
    "core/include/fxge/fx_freetype.h",
    "core/include/fxge/fx_ge.h",
    "core/include/fxge/fx_ge_apple.h",
    "core/include/fxge/fx_ge_win32.h",
    "core/src/fxge/agg/fx_agg_driver.cpp",
    "core/src/fxge/agg/fx_agg_driver.h",
    "core/src/fxge/android/fpf_skiafont.cpp",
    "core/src/fxge/android/fpf_skiafont.h",
    "core/src/fxge/android/fpf_skiafontmgr.cpp",
    "core/src/fxge/android/fpf_skiafontmgr.h",
    "core/src/fxge/android/fpf_skiamodule.cpp",
    "core/src/fxge/android/fpf_skiamodule.h",
    "core/src/fxge/android/fx_android_font.cpp",
    "core/src/fxge/android/fx_android_font.h",
    "core/src/fxge/android/fx_android_imp.cpp",
    "core/src/fxge/apple/apple_int.h",
    "core/src/fxge/apple/fx_apple_platform.cpp",
    "core/src/fxge/apple/fx_mac_imp.cpp",
    "core/src/fxge/apple/fx_quartz_device.cpp",
    "core/src/fxge/dib/dib_int.h",
    "core/src/fxge/dib/fx_dib_composite.cpp",
    "core/src/fxge/dib/fx_dib_convert.cpp",
    "core/src/fxge/dib/fx_dib_engine.cpp",
    "core/src/fxge/dib/fx_dib_main.cpp",
    "core/src/fxge/dib/fx_dib_transform.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitFixed.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSans.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSerif.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp",
    "core/src/fxge/fontdata/chromefontdata/FoxitSymbol.cpp",
    "core/src/fxge/fontdata/chromefontdata/chromefontdata.h",
    "core/src/fxge/freetype/fx_freetype.cpp",
    "core/src/fxge/ge/fx_ge.cpp",
    "core/src/fxge/ge/fx_ge_device.cpp",
    "core/src/fxge/ge/fx_ge_font.cpp",
    "core/src/fxge/ge/fx_ge_fontmap.cpp",
    "core/src/fxge/ge/fx_ge_linux.cpp",
    "core/src/fxge/ge/fx_ge_path.cpp",
    "core/src/fxge/ge/fx_ge_ps.cpp",
    "core/src/fxge/ge/fx_ge_text.cpp",
    "core/src/fxge/ge/fx_text_int.h",
  ]

  configs += [
    ":fxge_warnings",
    ":pdfium_config",
  ]

  if (pdf_use_skia) {
    sources = [
      "core/src/fxge/skia/fx_skia_device.cpp",
    ]
    deps = [
      "//skia",
    ]
  }

  if (is_win) {
    sources += [
      "core/src/fxge/win32/dwrite_int.h",
      "core/src/fxge/win32/fx_win32_device.cpp",
      "core/src/fxge/win32/fx_win32_dib.cpp",
      "core/src/fxge/win32/fx_win32_dwrite.cpp",
      "core/src/fxge/win32/fx_win32_gdipext.cpp",
      "core/src/fxge/win32/fx_win32_print.cpp",
      "core/src/fxge/win32/win32_int.h",
    ]
    configs -= [ "//build/config/win:lean_and_mean" ]
  }
}

static_library("fxedit") {
  sources = [
    "fpdfsdk/include/fxedit/fx_edit.h",
    "fpdfsdk/include/fxedit/fxet_edit.h",
    "fpdfsdk/include/fxedit/fxet_list.h",
    "fpdfsdk/src/fxedit/fxet_ap.cpp",
    "fpdfsdk/src/fxedit/fxet_edit.cpp",
    "fpdfsdk/src/fxedit/fxet_list.cpp",
    "fpdfsdk/src/fxedit/fxet_module.cpp",
    "fpdfsdk/src/fxedit/fxet_pageobjs.cpp",
  ]
  configs += [ ":pdfium_config" ]
}

static_library("pdfwindow") {
  sources = [
    "fpdfsdk/include/pdfwindow/PWL_Button.h",
    "fpdfsdk/include/pdfwindow/PWL_Caret.h",
    "fpdfsdk/include/pdfwindow/PWL_ComboBox.h",
    "fpdfsdk/include/pdfwindow/PWL_Edit.h",
    "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h",
    "fpdfsdk/include/pdfwindow/PWL_FontMap.h",
    "fpdfsdk/include/pdfwindow/PWL_Icon.h",
    "fpdfsdk/include/pdfwindow/PWL_IconList.h",
    "fpdfsdk/include/pdfwindow/PWL_Label.h",
    "fpdfsdk/include/pdfwindow/PWL_ListBox.h",
    "fpdfsdk/include/pdfwindow/PWL_ListCtrl.h",
    "fpdfsdk/include/pdfwindow/PWL_Note.h",
    "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h",
    "fpdfsdk/include/pdfwindow/PWL_Signature.h",
    "fpdfsdk/include/pdfwindow/PWL_SpecialButton.h",
    "fpdfsdk/include/pdfwindow/PWL_Utils.h",
    "fpdfsdk/include/pdfwindow/PWL_Wnd.h",
    "fpdfsdk/src/pdfwindow/PWL_Button.cpp",
    "fpdfsdk/src/pdfwindow/PWL_Caret.cpp",
    "fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp",
    "fpdfsdk/src/pdfwindow/PWL_Edit.cpp",
    "fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp",
    "fpdfsdk/src/pdfwindow/PWL_FontMap.cpp",
    "fpdfsdk/src/pdfwindow/PWL_Icon.cpp",
    "fpdfsdk/src/pdfwindow/PWL_IconList.cpp",
    "fpdfsdk/src/pdfwindow/PWL_Label.cpp",
    "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp",
    "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp",
    "fpdfsdk/src/pdfwindow/PWL_Note.cpp",
    "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp",
    "fpdfsdk/src/pdfwindow/PWL_Signature.cpp",
    "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp",
    "fpdfsdk/src/pdfwindow/PWL_Utils.cpp",
    "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp",
  ]
  configs += [ ":pdfium_config" ]
}

static_library("javascript") {
  sources = [
    "fpdfsdk/include/javascript/IJavaScript.h",
  ]
  if (pdf_enable_v8) {
    sources += [
      "fpdfsdk/include/jsapi/fxjs_v8.h",
      "fpdfsdk/src/javascript/Consts.cpp",
      "fpdfsdk/src/javascript/Consts.h",
      "fpdfsdk/src/javascript/Document.cpp",
      "fpdfsdk/src/javascript/Document.h",
      "fpdfsdk/src/javascript/Field.cpp",
      "fpdfsdk/src/javascript/Field.h",
      "fpdfsdk/src/javascript/Icon.cpp",
      "fpdfsdk/src/javascript/Icon.h",
      "fpdfsdk/src/javascript/JS_Context.cpp",
      "fpdfsdk/src/javascript/JS_Context.h",
      "fpdfsdk/src/javascript/JS_Define.h",
      "fpdfsdk/src/javascript/JS_EventHandler.cpp",
      "fpdfsdk/src/javascript/JS_EventHandler.h",
      "fpdfsdk/src/javascript/JS_GlobalData.cpp",
      "fpdfsdk/src/javascript/JS_GlobalData.h",
      "fpdfsdk/src/javascript/JS_Object.cpp",
      "fpdfsdk/src/javascript/JS_Object.h",
      "fpdfsdk/src/javascript/JS_Runtime.cpp",
      "fpdfsdk/src/javascript/JS_Runtime.h",
      "fpdfsdk/src/javascript/JS_Value.cpp",
      "fpdfsdk/src/javascript/JS_Value.h",
      "fpdfsdk/src/javascript/PublicMethods.cpp",
      "fpdfsdk/src/javascript/PublicMethods.h",
      "fpdfsdk/src/javascript/app.cpp",
      "fpdfsdk/src/javascript/app.h",
      "fpdfsdk/src/javascript/color.cpp",
      "fpdfsdk/src/javascript/color.h",
      "fpdfsdk/src/javascript/console.cpp",
      "fpdfsdk/src/javascript/console.h",
      "fpdfsdk/src/javascript/event.cpp",
      "fpdfsdk/src/javascript/event.h",
      "fpdfsdk/src/javascript/global.cpp",
      "fpdfsdk/src/javascript/global.h",
      "fpdfsdk/src/javascript/report.cpp",
      "fpdfsdk/src/javascript/report.h",
      "fpdfsdk/src/javascript/resource.cpp",
      "fpdfsdk/src/javascript/resource.h",
      "fpdfsdk/src/javascript/util.cpp",
      "fpdfsdk/src/javascript/util.h",
      "fpdfsdk/src/jsapi/fxjs_v8.cpp",
    ]
    include_dirs = [
      "//v8",
      "//v8/include",
    ]
    public_deps = [
      "//v8",
    ]
    configs += [ "//v8:external_startup_data" ]
  } else {
    sources += [ "fpdfsdk/src/javascript/JS_Runtime_Stub.cpp" ]
  }
  configs += [ ":pdfium_config" ]
}

static_library("formfiller") {
  sources = [
    "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h",
    "fpdfsdk/include/formfiller/FFL_CheckBox.h",
    "fpdfsdk/include/formfiller/FFL_ComboBox.h",
    "fpdfsdk/include/formfiller/FFL_FormFiller.h",
    "fpdfsdk/include/formfiller/FFL_IFormFiller.h",
    "fpdfsdk/include/formfiller/FFL_ListBox.h",
    "fpdfsdk/include/formfiller/FFL_PushButton.h",
    "fpdfsdk/include/formfiller/FFL_RadioButton.h",
    "fpdfsdk/include/formfiller/FFL_TextField.h",
    "fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp",
    "fpdfsdk/src/formfiller/FFL_CheckBox.cpp",
    "fpdfsdk/src/formfiller/FFL_ComboBox.cpp",
    "fpdfsdk/src/formfiller/FFL_FormFiller.cpp",
    "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp",
    "fpdfsdk/src/formfiller/FFL_ListBox.cpp",
    "fpdfsdk/src/formfiller/FFL_PushButton.cpp",
    "fpdfsdk/src/formfiller/FFL_RadioButton.cpp",
    "fpdfsdk/src/formfiller/FFL_TextField.cpp",
  ]
  configs += [ ":pdfium_config" ]
}

if (pdf_enable_xfa) {
  static_library("fpdfxfa") {
    sources = [
      "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h",
      "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h",
      "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h",
      "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h",
      "fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp",
      "fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp",
      "fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp",
      "fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp",
    ]
    deps = [
      ":xfa",
    ]
    configs -= [ "//build/config/compiler:chromium_code" ]
    configs += [
      ":pdfium_config",
      "//build/config/compiler:no_chromium_code",
    ]
  }

  static_library("xfa") {
    sources = [
      "xfa/include/fwl/adapter/fwl_adapternative.h",
      "xfa/include/fwl/adapter/fwl_adapterthreadmgr.h",
      "xfa/include/fwl/adapter/fwl_adaptertimermgr.h",
      "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h",
      "xfa/include/fwl/adapter/fwl_sdadapterimp.h",
      "xfa/include/fwl/basewidget/fwl_barcode.h",
      "xfa/include/fwl/basewidget/fwl_caret.h",
      "xfa/include/fwl/basewidget/fwl_checkbox.h",
      "xfa/include/fwl/basewidget/fwl_combobox.h",
      "xfa/include/fwl/basewidget/fwl_datetimepicker.h",
      "xfa/include/fwl/basewidget/fwl_edit.h",
      "xfa/include/fwl/basewidget/fwl_listbox.h",
      "xfa/include/fwl/basewidget/fwl_menu.h",
      "xfa/include/fwl/basewidget/fwl_monthcalendar.h",
      "xfa/include/fwl/basewidget/fwl_picturebox.h",
      "xfa/include/fwl/basewidget/fwl_pushbutton.h",
      "xfa/include/fwl/basewidget/fwl_scrollbar.h",
      "xfa/include/fwl/basewidget/fwl_spinbutton.h",
      "xfa/include/fwl/basewidget/fwl_tooltipctrl.h",
      "xfa/include/fwl/basewidget/fxmath_barcode.h",
      "xfa/include/fwl/core/fwl_app.h",
      "xfa/include/fwl/core/fwl_content.h",
      "xfa/include/fwl/core/fwl_error.h",
      "xfa/include/fwl/core/fwl_form.h",
      "xfa/include/fwl/core/fwl_grid.h",
      "xfa/include/fwl/core/fwl_note.h",
      "xfa/include/fwl/core/fwl_panel.h",
      "xfa/include/fwl/core/fwl_target.h",
      "xfa/include/fwl/core/fwl_theme.h",
      "xfa/include/fwl/core/fwl_thread.h",
      "xfa/include/fwl/core/fwl_timer.h",
      "xfa/include/fwl/core/fwl_widget.h",
      "xfa/include/fwl/core/fwl_widgetdef.h",
      "xfa/include/fwl/core/fwl_widgetmgr.h",
      "xfa/include/fwl/lightwidget/app.h",
      "xfa/include/fwl/lightwidget/barcode.h",
      "xfa/include/fwl/lightwidget/caret.h",
      "xfa/include/fwl/lightwidget/checkbox.h",
      "xfa/include/fwl/lightwidget/combobox.h",
      "xfa/include/fwl/lightwidget/datetimepicker.h",
      "xfa/include/fwl/lightwidget/edit.h",
      "xfa/include/fwl/lightwidget/listbox.h",
      "xfa/include/fwl/lightwidget/picturebox.h",
      "xfa/include/fwl/lightwidget/pushbutton.h",
      "xfa/include/fwl/lightwidget/scrollbar.h",
      "xfa/include/fwl/lightwidget/theme.h",
      "xfa/include/fwl/lightwidget/tooltipctrl.h",
      "xfa/include/fwl/lightwidget/widget.h",
      "xfa/include/fwl/theme/barcodetp.h",
      "xfa/include/fwl/theme/carettp.h",
      "xfa/include/fwl/theme/checkboxtp.h",
      "xfa/include/fwl/theme/comboboxtp.h",
      "xfa/include/fwl/theme/datetimepickertp.h",
      "xfa/include/fwl/theme/edittp.h",
      "xfa/include/fwl/theme/formtp.h",
      "xfa/include/fwl/theme/listboxtp.h",
      "xfa/include/fwl/theme/monthcalendartp.h",
      "xfa/include/fwl/theme/pictureboxtp.h",
      "xfa/include/fwl/theme/pushbuttontp.h",
      "xfa/include/fwl/theme/scrollbartp.h",
      "xfa/include/fwl/theme/utils.h",
      "xfa/include/fwl/theme/widgettp.h",
      "xfa/include/fxbarcode/BC_BarCode.h",
      "xfa/include/fxfa/fxfa.h",
      "xfa/include/fxfa/fxfa_basic.h",
      "xfa/include/fxfa/fxfa_objectacc.h",
      "xfa/include/fxfa/fxfa_widget.h",
      "xfa/include/fxgraphics/fx_graphics.h",
      "xfa/include/fxjse/fxjse.h",
      "xfa/src/fdp/include/fde_brs.h",
      "xfa/src/fdp/include/fde_css.h",
      "xfa/src/fdp/include/fde_img.h",
      "xfa/src/fdp/include/fde_pen.h",
      "xfa/src/fdp/include/fde_psr.h",
      "xfa/src/fdp/include/fde_pth.h",
      "xfa/src/fdp/include/fde_rdr.h",
      "xfa/src/fdp/include/fde_rdv.h",
      "xfa/src/fdp/include/fde_tto.h",
      "xfa/src/fdp/include/fde_xml.h",
      "xfa/src/fdp/src/css/fde_csscache.cpp",
      "xfa/src/fdp/src/css/fde_csscache.h",
      "xfa/src/fdp/src/css/fde_cssdatatable.cpp",
      "xfa/src/fdp/src/css/fde_cssdatatable.h",
      "xfa/src/fdp/src/css/fde_cssdeclaration.cpp",
      "xfa/src/fdp/src/css/fde_cssdeclaration.h",
      "xfa/src/fdp/src/css/fde_cssstyleselector.cpp",
      "xfa/src/fdp/src/css/fde_cssstyleselector.h",
      "xfa/src/fdp/src/css/fde_cssstylesheet.cpp",
      "xfa/src/fdp/src/css/fde_cssstylesheet.h",
      "xfa/src/fdp/src/css/fde_csssyntax.cpp",
      "xfa/src/fdp/src/css/fde_csssyntax.h",
      "xfa/src/fdp/src/fde/fde_devbasic.cpp",
      "xfa/src/fdp/src/fde/fde_devbasic.h",
      "xfa/src/fdp/src/fde/fde_gedevice.cpp",
      "xfa/src/fdp/src/fde/fde_gedevice.h",
      "xfa/src/fdp/src/fde/fde_geobject.cpp",
      "xfa/src/fdp/src/fde/fde_geobject.h",
      "xfa/src/fdp/src/fde/fde_iterator.cpp",
      "xfa/src/fdp/src/fde/fde_iterator.h",
      "xfa/src/fdp/src/fde/fde_object.cpp",
      "xfa/src/fdp/src/fde/fde_object.h",
      "xfa/src/fdp/src/fde/fde_render.cpp",
      "xfa/src/fdp/src/fde/fde_render.h",
      "xfa/src/fdp/src/tto/fde_textout.cpp",
      "xfa/src/fdp/src/tto/fde_textout.h",
      "xfa/src/fdp/src/xml/fde_xml_imp.cpp",
      "xfa/src/fdp/src/xml/fde_xml_imp.h",
      "xfa/src/fee/include/fx_wordbreak.h",
      "xfa/src/fee/include/ifde_txtedtbuf.h",
      "xfa/src/fee/include/ifde_txtedtengine.h",
      "xfa/src/fee/include/ifde_txtedtpage.h",
      "xfa/src/fee/src/fee/fde_txtedtbuf.cpp",
      "xfa/src/fee/src/fee/fde_txtedtbuf.h",
      "xfa/src/fee/src/fee/fde_txtedtengine.cpp",
      "xfa/src/fee/src/fee/fde_txtedtengine.h",
      "xfa/src/fee/src/fee/fde_txtedtpage.cpp",
      "xfa/src/fee/src/fee/fde_txtedtpage.h",
      "xfa/src/fee/src/fee/fde_txtedtparag.cpp",
      "xfa/src/fee/src/fee/fde_txtedtparag.h",
      "xfa/src/fee/src/fx_wordbreak/fx_wordbreak_impl.cpp",
      "xfa/src/fee/src/fx_wordbreak/fx_wordbreak_impl.h",
      "xfa/src/fee/src/fx_wordbreak/fx_wordbreakdata.cpp",
      "xfa/src/fgas/include/fx_alg.h",
      "xfa/src/fgas/include/fx_cpg.h",
      "xfa/src/fgas/include/fx_datetime.h",
      "xfa/src/fgas/include/fx_fnt.h",
      "xfa/src/fgas/include/fx_lbk.h",
      "xfa/src/fgas/include/fx_lgg.h",
      "xfa/src/fgas/include/fx_locale.h",
      "xfa/src/fgas/include/fx_mem.h",
      "xfa/src/fgas/include/fx_rbk.h",
      "xfa/src/fgas/include/fx_sax.h",
      "xfa/src/fgas/include/fx_stm.h",
      "xfa/src/fgas/include/fx_sys.h",
      "xfa/src/fgas/include/fx_tbk.h",
      "xfa/src/fgas/include/fx_ucd.h",
      "xfa/src/fgas/include/fx_utl.h",
      "xfa/src/fgas/src/crt/fx_algorithm.cpp",
      "xfa/src/fgas/src/crt/fx_codepage.cpp",
      "xfa/src/fgas/src/crt/fx_encode.cpp",
      "xfa/src/fgas/src/crt/fx_memory.cpp",
      "xfa/src/fgas/src/crt/fx_memory.h",
      "xfa/src/fgas/src/crt/fx_stream.cpp",
      "xfa/src/fgas/src/crt/fx_stream.h",
      "xfa/src/fgas/src/crt/fx_system.cpp",
      "xfa/src/fgas/src/crt/fx_utils.cpp",
      "xfa/src/fgas/src/crt/fx_utils.h",
      "xfa/src/fgas/src/font/fx_fontutils.cpp",
      "xfa/src/fgas/src/font/fx_fontutils.h",
      "xfa/src/fgas/src/font/fx_gefont.cpp",
      "xfa/src/fgas/src/font/fx_gefont.h",
      "xfa/src/fgas/src/font/fx_stdfontmgr.cpp",
      "xfa/src/fgas/src/font/fx_stdfontmgr.h",
      "xfa/src/fgas/src/layout/fx_linebreak.cpp",
      "xfa/src/fgas/src/layout/fx_rtfbreak.cpp",
      "xfa/src/fgas/src/layout/fx_rtfbreak.h",
      "xfa/src/fgas/src/layout/fx_textbreak.cpp",
      "xfa/src/fgas/src/layout/fx_textbreak.h",
      "xfa/src/fgas/src/layout/fx_unicode.cpp",
      "xfa/src/fgas/src/layout/fx_unicode.h",
      "xfa/src/fgas/src/localization/fx_datetime.cpp",
      "xfa/src/fgas/src/localization/fx_locale.cpp",
      "xfa/src/fgas/src/localization/fx_localeimp.h",
      "xfa/src/fgas/src/localization/fx_localemgr.cpp",
      "xfa/src/fgas/src/localization/fx_localemgr.h",
      "xfa/src/fgas/src/xml/fx_sax_imp.cpp",
      "xfa/src/fgas/src/xml/fx_sax_imp.h",
      "xfa/src/fwl/basewidget/fwl_barcodeimp.cpp",
      "xfa/src/fwl/basewidget/fwl_barcodeimp.h",
      "xfa/src/fwl/basewidget/fwl_caretimp.cpp",
      "xfa/src/fwl/basewidget/fwl_caretimp.h",
      "xfa/src/fwl/basewidget/fwl_checkboximp.cpp",
      "xfa/src/fwl/basewidget/fwl_checkboximp.h",
      "xfa/src/fwl/basewidget/fwl_comboboximp.cpp",
      "xfa/src/fwl/basewidget/fwl_comboboximp.h",
      "xfa/src/fwl/basewidget/fwl_datetimepickerimp.cpp",
      "xfa/src/fwl/basewidget/fwl_datetimepickerimp.h",
      "xfa/src/fwl/basewidget/fwl_editimp.cpp",
      "xfa/src/fwl/basewidget/fwl_editimp.h",
      "xfa/src/fwl/basewidget/fwl_formproxyimp.cpp",
      "xfa/src/fwl/basewidget/fwl_formproxyimp.h",
      "xfa/src/fwl/basewidget/fwl_listboximp.cpp",
      "xfa/src/fwl/basewidget/fwl_listboximp.h",
      "xfa/src/fwl/basewidget/fwl_monthcalendarimp.cpp",
      "xfa/src/fwl/basewidget/fwl_monthcalendarimp.h",
      "xfa/src/fwl/basewidget/fwl_pictureboximp.cpp",
      "xfa/src/fwl/basewidget/fwl_pictureboximp.h",
      "xfa/src/fwl/basewidget/fwl_pushbuttonimp.cpp",
      "xfa/src/fwl/basewidget/fwl_pushbuttonimp.h",
      "xfa/src/fwl/basewidget/fwl_scrollbarimp.cpp",
      "xfa/src/fwl/basewidget/fwl_scrollbarimp.h",
      "xfa/src/fwl/basewidget/fwl_spinbuttonimp.cpp",
      "xfa/src/fwl/basewidget/fwl_spinbuttonimp.h",
      "xfa/src/fwl/basewidget/fwl_tooltipctrlimp.cpp",
      "xfa/src/fwl/basewidget/fwl_tooltipctrlimp.h",
      "xfa/src/fwl/basewidget/fxmath_barcodeimp.cpp",
      "xfa/src/fwl/basewidget/fxmath_barcodeimp.h",
      "xfa/src/fwl/core/fwl_appimp.cpp",
      "xfa/src/fwl/core/fwl_appimp.h",
      "xfa/src/fwl/core/fwl_contentimp.cpp",
      "xfa/src/fwl/core/fwl_contentimp.h",
      "xfa/src/fwl/core/fwl_formimp.cpp",
      "xfa/src/fwl/core/fwl_formimp.h",
      "xfa/src/fwl/core/fwl_gridimp.cpp",
      "xfa/src/fwl/core/fwl_gridimp.h",
      "xfa/src/fwl/core/fwl_noteimp.cpp",
      "xfa/src/fwl/core/fwl_noteimp.h",
      "xfa/src/fwl/core/fwl_panelimp.cpp",
      "xfa/src/fwl/core/fwl_panelimp.h",
      "xfa/src/fwl/core/fwl_sdadapterimp.cpp",
      "xfa/src/fwl/core/fwl_targetimp.cpp",
      "xfa/src/fwl/core/fwl_targetimp.h",
      "xfa/src/fwl/core/fwl_threadimp.cpp",
      "xfa/src/fwl/core/fwl_threadimp.h",
      "xfa/src/fwl/core/fwl_timerimp.cpp",
      "xfa/src/fwl/core/fwl_widgetimp.cpp",
      "xfa/src/fwl/core/fwl_widgetimp.h",
      "xfa/src/fwl/core/fwl_widgetmgrimp.cpp",
      "xfa/src/fwl/core/fwl_widgetmgrimp.h",
      "xfa/src/fwl/lightwidget/app.cpp",
      "xfa/src/fwl/lightwidget/barcode.cpp",
      "xfa/src/fwl/lightwidget/caret.cpp",
      "xfa/src/fwl/lightwidget/checkbox.cpp",
      "xfa/src/fwl/lightwidget/combobox.cpp",
      "xfa/src/fwl/lightwidget/datetimepicker.cpp",
      "xfa/src/fwl/lightwidget/edit.cpp",
      "xfa/src/fwl/lightwidget/listbox.cpp",
      "xfa/src/fwl/lightwidget/picturebox.cpp",
      "xfa/src/fwl/lightwidget/pushbutton.cpp",
      "xfa/src/fwl/lightwidget/scrollbar.cpp",
      "xfa/src/fwl/lightwidget/theme.cpp",
      "xfa/src/fwl/lightwidget/tooltipctrl.cpp",
      "xfa/src/fwl/lightwidget/widget.cpp",
      "xfa/src/fwl/theme/barcodetp.cpp",
      "xfa/src/fwl/theme/carettp.cpp",
      "xfa/src/fwl/theme/checkboxtp.cpp",
      "xfa/src/fwl/theme/comboboxtp.cpp",
      "xfa/src/fwl/theme/datetimepickertp.cpp",
      "xfa/src/fwl/theme/edittp.cpp",
      "xfa/src/fwl/theme/formtp.cpp",
      "xfa/src/fwl/theme/listboxtp.cpp",
      "xfa/src/fwl/theme/monthcalendartp.cpp",
      "xfa/src/fwl/theme/pictureboxtp.cpp",
      "xfa/src/fwl/theme/pushbuttontp.cpp",
      "xfa/src/fwl/theme/scrollbartp.cpp",
      "xfa/src/fwl/theme/widgettp.cpp",
      "xfa/src/fxbarcode/BC_BarCode.cpp",
      "xfa/src/fxbarcode/BC_Binarizer.cpp",
      "xfa/src/fxbarcode/BC_Binarizer.h",
      "xfa/src/fxbarcode/BC_BinaryBitmap.cpp",
      "xfa/src/fxbarcode/BC_BinaryBitmap.h",
      "xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp",
      "xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h",
      "xfa/src/fxbarcode/BC_DecoderResult.h",
      "xfa/src/fxbarcode/BC_Dimension.cpp",
      "xfa/src/fxbarcode/BC_Dimension.h",
      "xfa/src/fxbarcode/BC_Library.cpp",
      "xfa/src/fxbarcode/BC_LuminanceSource.cpp",
      "xfa/src/fxbarcode/BC_LuminanceSource.h",
      "xfa/src/fxbarcode/BC_Reader.cpp",
      "xfa/src/fxbarcode/BC_Reader.h",
      "xfa/src/fxbarcode/BC_ResultPoint.cpp",
      "xfa/src/fxbarcode/BC_ResultPoint.h",
      "xfa/src/fxbarcode/BC_TwoDimWriter.cpp",
      "xfa/src/fxbarcode/BC_TwoDimWriter.h",
      "xfa/src/fxbarcode/BC_UtilCodingConvert.cpp",
      "xfa/src/fxbarcode/BC_UtilCodingConvert.h",
      "xfa/src/fxbarcode/BC_UtilRSS.cpp",
      "xfa/src/fxbarcode/BC_UtilRSS.h",
      "xfa/src/fxbarcode/BC_Utils.cpp",
      "xfa/src/fxbarcode/BC_Writer.cpp",
      "xfa/src/fxbarcode/BC_Writer.h",
      "xfa/src/fxbarcode/common/BC_CommonBitArray.cpp",
      "xfa/src/fxbarcode/common/BC_CommonBitArray.h",
      "xfa/src/fxbarcode/common/BC_CommonBitMatrix.cpp",
      "xfa/src/fxbarcode/common/BC_CommonBitMatrix.h",
      "xfa/src/fxbarcode/common/BC_CommonBitSource.cpp",
      "xfa/src/fxbarcode/common/BC_CommonBitSource.h",
      "xfa/src/fxbarcode/common/BC_CommonByteArray.cpp",
      "xfa/src/fxbarcode/common/BC_CommonByteArray.h",
      "xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp",
      "xfa/src/fxbarcode/common/BC_CommonByteMatrix.h",
      "xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.cpp",
      "xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h",
      "xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp",
      "xfa/src/fxbarcode/common/BC_CommonDecoderResult.h",
      "xfa/src/fxbarcode/common/BC_CommonECI.cpp",
      "xfa/src/fxbarcode/common/BC_CommonECI.h",
      "xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.cpp",
      "xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h",
      "xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.cpp",
      "xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h",
      "xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp",
      "xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h",
      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.cpp",
      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h",
      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
      "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
      "xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.h",
      "xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.h",
      "xfa/src/fxbarcode/datamatrix/BC_C40Encoder.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_C40Encoder.h",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.h",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.h",
      "xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h",
      "xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h",
      "xfa/src/fxbarcode/datamatrix/BC_Encoder.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_Encoder.h",
      "xfa/src/fxbarcode/datamatrix/BC_EncoderContext.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_EncoderContext.h",
      "xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.h",
      "xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h",
      "xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.h",
      "xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.h",
      "xfa/src/fxbarcode/datamatrix/BC_TextEncoder.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_TextEncoder.h",
      "xfa/src/fxbarcode/datamatrix/BC_X12Encoder.cpp",
      "xfa/src/fxbarcode/datamatrix/BC_X12Encoder.h",
      "xfa/src/fxbarcode/oned/BC_OneDReader.cpp",
      "xfa/src/fxbarcode/oned/BC_OneDReader.h",
      "xfa/src/fxbarcode/oned/BC_OneDimReader.cpp",
      "xfa/src/fxbarcode/oned/BC_OneDimReader.h",
      "xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp",
      "xfa/src/fxbarcode/oned/BC_OneDimWriter.h",
      "xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h",
      "xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h",
      "xfa/src/fxbarcode/oned/BC_OnedCode128Reader.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h",
      "xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h",
      "xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h",
      "xfa/src/fxbarcode/oned/BC_OnedCode39Writer.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h",
      "xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h",
      "xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.h",
      "xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.h",
      "xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.h",
      "xfa/src/fxbarcode/oned/BC_OnedUPCAReader.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedUPCAReader.h",
      "xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.cpp",
      "xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Common.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Common.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Detector.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Detector.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Reader.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Writer.cpp",
      "xfa/src/fxbarcode/pdf417/BC_PDF417Writer.h",
      "xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp",
      "xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.h",
      "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h",
      "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h",
      "xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCodeReader.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoder.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoder.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderECB.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderECB.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderMode.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderMode.h",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h",
      "xfa/src/fxbarcode/qrcode/BC_QRDataBlock.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h",
      "xfa/src/fxbarcode/qrcode/BC_QRDataMask.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRDataMask.h",
      "xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h",
      "xfa/src/fxbarcode/qrcode/BC_QRDetector.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRDetector.h",
      "xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h",
      "xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.h",
      "xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h",
      "xfa/src/fxbarcode/qrcode/BC_QRGridSampler.cpp",
      "xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h",
      "xfa/src/fxbarcode/utils.h",
      "xfa/src/fxfa/app/xfa_checksum.cpp",
      "xfa/src/fxfa/app/xfa_checksum.h",
      "xfa/src/fxfa/app/xfa_ffapp.cpp",
      "xfa/src/fxfa/app/xfa_ffapp.h",
      "xfa/src/fxfa/app/xfa_ffbarcode.cpp",
      "xfa/src/fxfa/app/xfa_ffbarcode.h",
      "xfa/src/fxfa/app/xfa_ffcheckbutton.cpp",
      "xfa/src/fxfa/app/xfa_ffcheckbutton.h",
      "xfa/src/fxfa/app/xfa_ffchoicelist.cpp",
      "xfa/src/fxfa/app/xfa_ffchoicelist.h",
      "xfa/src/fxfa/app/xfa_ffdoc.cpp",
      "xfa/src/fxfa/app/xfa_ffdoc.h",
      "xfa/src/fxfa/app/xfa_ffdochandler.cpp",
      "xfa/src/fxfa/app/xfa_ffdochandler.h",
      "xfa/src/fxfa/app/xfa_ffdocview.cpp",
      "xfa/src/fxfa/app/xfa_ffdocview.h",
      "xfa/src/fxfa/app/xfa_ffdraw.cpp",
      "xfa/src/fxfa/app/xfa_ffdraw.h",
      "xfa/src/fxfa/app/xfa_ffexclgroup.cpp",
      "xfa/src/fxfa/app/xfa_ffexclgroup.h",
      "xfa/src/fxfa/app/xfa_fffield.cpp",
      "xfa/src/fxfa/app/xfa_fffield.h",
      "xfa/src/fxfa/app/xfa_ffimage.cpp",
      "xfa/src/fxfa/app/xfa_ffimage.h",
      "xfa/src/fxfa/app/xfa_ffimageedit.cpp",
      "xfa/src/fxfa/app/xfa_ffimageedit.h",
      "xfa/src/fxfa/app/xfa_ffnotify.cpp",
      "xfa/src/fxfa/app/xfa_ffnotify.h",
      "xfa/src/fxfa/app/xfa_ffpageview.cpp",
      "xfa/src/fxfa/app/xfa_ffpageview.h",
      "xfa/src/fxfa/app/xfa_ffpath.cpp",
      "xfa/src/fxfa/app/xfa_ffpath.h",
      "xfa/src/fxfa/app/xfa_ffpushbutton.cpp",
      "xfa/src/fxfa/app/xfa_ffpushbutton.h",
      "xfa/src/fxfa/app/xfa_ffsignature.cpp",
      "xfa/src/fxfa/app/xfa_ffsignature.h",
      "xfa/src/fxfa/app/xfa_ffsubform.cpp",
      "xfa/src/fxfa/app/xfa_ffsubform.h",
      "xfa/src/fxfa/app/xfa_fftext.cpp",
      "xfa/src/fxfa/app/xfa_fftext.h",
      "xfa/src/fxfa/app/xfa_fftextedit.cpp",
      "xfa/src/fxfa/app/xfa_fftextedit.h",
      "xfa/src/fxfa/app/xfa_ffwidget.cpp",
      "xfa/src/fxfa/app/xfa_ffwidget.h",
      "xfa/src/fxfa/app/xfa_ffwidgetacc.cpp",
      "xfa/src/fxfa/app/xfa_ffwidgetacc.h",
      "xfa/src/fxfa/app/xfa_ffwidgethandler.cpp",
      "xfa/src/fxfa/app/xfa_ffwidgethandler.h",
      "xfa/src/fxfa/app/xfa_fontmgr.cpp",
      "xfa/src/fxfa/app/xfa_fontmgr.h",
      "xfa/src/fxfa/app/xfa_fwladapter.cpp",
      "xfa/src/fxfa/app/xfa_fwladapter.h",
      "xfa/src/fxfa/app/xfa_fwltheme.cpp",
      "xfa/src/fxfa/app/xfa_fwltheme.h",
      "xfa/src/fxfa/app/xfa_rendercontext.cpp",
      "xfa/src/fxfa/app/xfa_rendercontext.h",
      "xfa/src/fxfa/app/xfa_textlayout.cpp",
      "xfa/src/fxfa/app/xfa_textlayout.h",
      "xfa/src/fxfa/fm2js/xfa_error.cpp",
      "xfa/src/fxfa/fm2js/xfa_error.h",
      "xfa/src/fxfa/fm2js/xfa_expression.cpp",
      "xfa/src/fxfa/fm2js/xfa_expression.h",
      "xfa/src/fxfa/fm2js/xfa_fm2jsapi.cpp",
      "xfa/src/fxfa/fm2js/xfa_fm2jsapi.h",
      "xfa/src/fxfa/fm2js/xfa_fm2jscontext.cpp",
      "xfa/src/fxfa/fm2js/xfa_fm2jscontext.h",
      "xfa/src/fxfa/fm2js/xfa_fmparse.cpp",
      "xfa/src/fxfa/fm2js/xfa_fmparse.h",
      "xfa/src/fxfa/fm2js/xfa_lexer.cpp",
      "xfa/src/fxfa/fm2js/xfa_lexer.h",
      "xfa/src/fxfa/fm2js/xfa_program.cpp",
      "xfa/src/fxfa/fm2js/xfa_program.h",
      "xfa/src/fxfa/fm2js/xfa_simpleexpression.cpp",
      "xfa/src/fxfa/fm2js/xfa_simpleexpression.h",
      "xfa/src/fxfa/parser/xfa_basic_data.cpp",
      "xfa/src/fxfa/parser/xfa_basic_data.h",
      "xfa/src/fxfa/parser/xfa_basic_imp.cpp",
      "xfa/src/fxfa/parser/xfa_basic_imp.h",
      "xfa/src/fxfa/parser/xfa_docdata.h",
      "xfa/src/fxfa/parser/xfa_doclayout.h",
      "xfa/src/fxfa/parser/xfa_document.h",
      "xfa/src/fxfa/parser/xfa_document_datadescription_imp.cpp",
      "xfa/src/fxfa/parser/xfa_document_datadescription_imp.h",
      "xfa/src/fxfa/parser/xfa_document_datamerger_imp.cpp",
      "xfa/src/fxfa/parser/xfa_document_datamerger_imp.h",
      "xfa/src/fxfa/parser/xfa_document_imp.cpp",
      "xfa/src/fxfa/parser/xfa_document_layout_imp.cpp",
      "xfa/src/fxfa/parser/xfa_document_layout_imp.h",
      "xfa/src/fxfa/parser/xfa_document_serialize.cpp",
      "xfa/src/fxfa/parser/xfa_document_serialize.h",
      "xfa/src/fxfa/parser/xfa_layout_appadapter.cpp",
      "xfa/src/fxfa/parser/xfa_layout_appadapter.h",
      "xfa/src/fxfa/parser/xfa_layout_itemlayout.cpp",
      "xfa/src/fxfa/parser/xfa_layout_itemlayout.h",
      "xfa/src/fxfa/parser/xfa_layout_pagemgr_new.cpp",
      "xfa/src/fxfa/parser/xfa_layout_pagemgr_new.h",
      "xfa/src/fxfa/parser/xfa_locale.cpp",
      "xfa/src/fxfa/parser/xfa_locale.h",
      "xfa/src/fxfa/parser/xfa_localemgr.cpp",
      "xfa/src/fxfa/parser/xfa_localemgr.h",
      "xfa/src/fxfa/parser/xfa_localevalue.cpp",
      "xfa/src/fxfa/parser/xfa_localevalue.h",
      "xfa/src/fxfa/parser/xfa_object.h",
      "xfa/src/fxfa/parser/xfa_object_imp.cpp",
      "xfa/src/fxfa/parser/xfa_objectacc_imp.cpp",
      "xfa/src/fxfa/parser/xfa_parser.h",
      "xfa/src/fxfa/parser/xfa_parser_imp.cpp",
      "xfa/src/fxfa/parser/xfa_parser_imp.h",
      "xfa/src/fxfa/parser/xfa_script.h",
      "xfa/src/fxfa/parser/xfa_script_datawindow.cpp",
      "xfa/src/fxfa/parser/xfa_script_datawindow.h",
      "xfa/src/fxfa/parser/xfa_script_eventpseudomodel.cpp",
      "xfa/src/fxfa/parser/xfa_script_eventpseudomodel.h",
      "xfa/src/fxfa/parser/xfa_script_hostpseudomodel.cpp",
      "xfa/src/fxfa/parser/xfa_script_hostpseudomodel.h",
      "xfa/src/fxfa/parser/xfa_script_imp.cpp",
      "xfa/src/fxfa/parser/xfa_script_imp.h",
      "xfa/src/fxfa/parser/xfa_script_layoutpseudomodel.cpp",
      "xfa/src/fxfa/parser/xfa_script_layoutpseudomodel.h",
      "xfa/src/fxfa/parser/xfa_script_logpseudomodel.cpp",
      "xfa/src/fxfa/parser/xfa_script_logpseudomodel.h",
      "xfa/src/fxfa/parser/xfa_script_nodehelper.cpp",
      "xfa/src/fxfa/parser/xfa_script_nodehelper.h",
      "xfa/src/fxfa/parser/xfa_script_resolveprocessor.cpp",
      "xfa/src/fxfa/parser/xfa_script_resolveprocessor.h",
      "xfa/src/fxfa/parser/xfa_script_signaturepseudomodel.cpp",
      "xfa/src/fxfa/parser/xfa_script_signaturepseudomodel.h",
      "xfa/src/fxfa/parser/xfa_utils.h",
      "xfa/src/fxfa/parser/xfa_utils_imp.cpp",
      "xfa/src/fxgraphics/fx_graphics.cpp",
      "xfa/src/fxgraphics/fx_path_generator.cpp",
      "xfa/src/fxgraphics/fx_path_generator.h",
      "xfa/src/fxgraphics/pre.h",
    ]
    include_dirs = [ "." ]
    if (pdf_enable_v8) {
      sources += [
        "xfa/src/fxjse/class.cpp",
        "xfa/src/fxjse/class.h",
        "xfa/src/fxjse/context.cpp",
        "xfa/src/fxjse/context.h",
        "xfa/src/fxjse/dynprop.cpp",
        "xfa/src/fxjse/runtime.cpp",
        "xfa/src/fxjse/runtime.h",
        "xfa/src/fxjse/scope_inline.h",
        "xfa/src/fxjse/util_inline.h",
        "xfa/src/fxjse/value.cpp",
        "xfa/src/fxjse/value.h",
      ]
      include_dirs += [
        "//v8",
        "//v8/include",
      ]
      public_deps = [
        "//v8",
      ]
      deps = [
        "//v8:v8_libplatform",
      ]
    }
    configs -= [ "//build/config/compiler:chromium_code" ]
    configs += [
      ":pdfium_config",
      "//build/config/compiler:no_chromium_code",
    ]
  }
}

test("pdfium_unittests") {
  sources = [
    "core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp",
    "core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp",
    "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_objects_unittest.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility_unittest.cpp",
    "core/src/fpdfdoc/doc_basic_unittest.cpp",
    "core/src/fpdftext/fpdf_text_int_unittest.cpp",
    "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp",
    "core/src/fxcrt/fx_basic_bstring_unittest.cpp",
    "core/src/fxcrt/fx_basic_gcc_unittest.cpp",
    "core/src/fxcrt/fx_basic_memmgr_unittest.cpp",
    "core/src/fxcrt/fx_basic_wstring_unittest.cpp",
    "core/src/fxcrt/fx_bidi_unittest.cpp",
    "core/src/fxcrt/fx_extension_unittest.cpp",
    "core/src/fxcrt/fx_system_unittest.cpp",
    "fpdfsdk/src/fpdfdoc_unittest.cpp",
  ]
  deps = [
    ":pdfium",
    ":test_support",
    "//testing/gtest",
    "//testing/gtest:gtest_main",
  ]
  if (pdf_enable_xfa) {
    sources += [
      "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
      "xfa/src/fxfa/parser/xfa_utils_imp_unittest.cpp",
    ]
  }
  configs += [ ":pdfium_config" ]
}

test("pdfium_embeddertests") {
  sources = [
    "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp",
    "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp",
    "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp",
    "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
    "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp",
    "fpdfsdk/src/fpdfdoc_embeddertest.cpp",
    "fpdfsdk/src/fpdfedit_embeddertest.cpp",
    "fpdfsdk/src/fpdfext_embeddertest.cpp",
    "fpdfsdk/src/fpdfformfill_embeddertest.cpp",
    "fpdfsdk/src/fpdfsave_embeddertest.cpp",
    "fpdfsdk/src/fpdftext_embeddertest.cpp",
    "fpdfsdk/src/fpdfview_c_api_test.c",
    "fpdfsdk/src/fpdfview_c_api_test.h",
    "fpdfsdk/src/fpdfview_embeddertest.cpp",
    "fpdfsdk/src/fsdk_baseform_embeddertest.cpp",
    "testing/embedder_test.cpp",
    "testing/embedder_test.h",
    "testing/embedder_test_mock_delegate.h",
    "testing/embedder_test_timer_handling_delegate.h",
    "xfa/src/fxfa/parser/xfa_parser_imp_embeddertest.cpp",
  ]
  deps = [
    ":pdfium",
    ":test_support",
    "//testing/gmock",
    "//testing/gtest",
  ]
  include_dirs = []
  if (pdf_enable_v8) {
    sources += [
      "fpdfsdk/src/javascript/public_methods_embeddertest.cpp",
      "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp",
      "testing/js_embedder_test.cpp",
      "testing/js_embedder_test.h",
    ]
    deps += [
      "//v8",
      "//v8:v8_libplatform",
    ]
    include_dirs += [
      "//v8",
      "//v8/include",
    ]
    configs += [ "//v8:external_startup_data" ]
  }
  configs += [ ":pdfium_config" ]
}