Merge to XFA: Remove typdefs for pointer types in fx_system.h.
[pdfium.git] / BUILD.gn
index f18655d..4dd3875 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -2,15 +2,27 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+import("//testing/test.gni")
+
 pdf_use_skia = false
 
+declare_args() {
+  # On Android there's no system FreeType. On Windows and Mac, only a few
+  # methods are used from it.
+  bundle_freetype = !is_linux
+}
+
 config("pdfium_config") {
   cflags = []
+  include_dirs = [ "third_party/freetype/include" ]
   defines = [
-    "FOXIT_CHROME_BUILD",
-    "_FXFT_VERSION_=2501",
     "_FPDFSDK_LIB",
     "_NO_GDIPLUS_",  # workaround text rendering issues on Windows
+    "OPJ_STATIC",
+    "PNG_PREFIX",
+    "PNGPREFIX_H",
+    "PNG_USE_READ_MACROS",
+    "V8_DEPRECATION_WARNINGS",
   ]
 
   if (pdf_use_skia) {
@@ -39,19 +51,6 @@ config("pdfium_config") {
 
 static_library("pdfium") {
   sources = [
-    "fpdfsdk/include/fpdfdoc.h",
-    "fpdfsdk/include/fpdfedit.h",
-    "fpdfsdk/include/fpdfformfill.h",
-    "fpdfsdk/include/fpdfoom.h",
-    "fpdfsdk/include/fpdftext.h",
-    "fpdfsdk/include/fpdfview.h",
-    "fpdfsdk/include/fpdf_dataavail.h",
-    "fpdfsdk/include/fpdf_flatten.h",
-    "fpdfsdk/include/fpdf_progressive.h",
-    "fpdfsdk/include/fpdf_searchex.h",
-    "fpdfsdk/include/fpdf_sysfontinfo.h",
-    "fpdfsdk/include/fpdf_ext.h",
-    "fpdfsdk/include/fpdf_sysfontinfo.h",
     "fpdfsdk/include/fsdk_actionhandler.h",
     "fpdfsdk/include/fsdk_annothandler.h",
     "fpdfsdk/include/fsdk_baseannot.h",
@@ -60,7 +59,6 @@ static_library("pdfium") {
     "fpdfsdk/src/fpdfeditimg.cpp",
     "fpdfsdk/src/fpdfeditpage.cpp",
     "fpdfsdk/src/fpdfformfill.cpp",
-    "fpdfsdk/src/fpdfoom.cpp",
     "fpdfsdk/src/fpdfppo.cpp",
     "fpdfsdk/src/fpdfsave.cpp",
     "fpdfsdk/src/fpdftext.cpp",
@@ -79,8 +77,21 @@ static_library("pdfium") {
     "fpdfsdk/src/fsdk_rendercontext.cpp",
     "fpdfsdk/src/fpdfsdkdll.rc",
     "fpdfsdk/src/resource.h",
-    "fpdfsdk/include/fpdf_transformpage.h",
-    "fpdfsdk/src/fpdf_transformpage.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 = []
@@ -88,6 +99,8 @@ static_library("pdfium") {
   configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
 
   deps = [
+    "third_party:bigint",
+    "third_party:pdfium_base",
     ":fdrm",
     ":formfiller",
     ":fpdfapi",
@@ -101,7 +114,6 @@ static_library("pdfium") {
     ":javascript",
     ":jsapi",
     ":pdfwindow",
-    ":safemath",
     ":xfa",
   ]
 
@@ -112,23 +124,17 @@ static_library("pdfium") {
   if (is_mac) {
     libs += [ "AppKit.framework", "CoreFoundation.framework" ]
   }
+
+  if (bundle_freetype) {
+    deps += [ "third_party:freetype" ]
+  } else {
+    libs += [ "freetype" ]
+  }
 }
 
 # Targets below this are only visible within this file.
 visibility = [ ":*" ]
 
-component("safemath") {
-  sources = [
-    "third_party/logging.h",
-    "third_party/macros.h",
-    "third_party/template_util.h",
-    "third_party/numerics/safe_conversions.h",
-    "third_party/numerics/safe_conversions_impl.h",
-    "third_party/numerics/safe_math.h",
-    "third_party/numerics/safe_math_impl.h",
-  ]
-}
-
 static_library("fdrm") {
   sources = [
     "core/include/fdrm/fx_crypt.h",
@@ -159,6 +165,7 @@ static_library("fpdfdoc") {
     "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",
@@ -257,7 +264,6 @@ static_library("fpdfapi") {
     "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/fpdf_font_utility.cpp",
     "core/src/fpdfapi/fpdf_font/ttgsubtable.cpp",
     "core/src/fpdfapi/fpdf_font/ttgsubtable.h",
     "core/src/fpdfapi/fpdf_page/fpdf_page.cpp",
@@ -267,7 +273,6 @@ static_library("fpdfapi") {
     "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_new.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",
@@ -347,7 +352,6 @@ static_library("fxcodec") {
     "core/src/fxcodec/fx_libopenjpeg/src/fx_pi.c",
     "core/src/fxcodec/fx_libopenjpeg/src/fx_raw.c",
     "core/src/fxcodec/fx_libopenjpeg/src/fx_t1.c",
-    "core/src/fxcodec/fx_libopenjpeg/src/fx_t1_generate_luts.c",
     "core/src/fxcodec/fx_libopenjpeg/src/fx_t2.c",
     "core/src/fxcodec/fx_libopenjpeg/src/fx_tcd.c",
     "core/src/fxcodec/fx_libopenjpeg/src/fx_tgt.c",
@@ -548,6 +552,7 @@ static_library("fxcrt") {
     "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",
@@ -648,34 +653,7 @@ static_library("fxge") {
     "core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c",
     "core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c",
     "core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c",
-    "core/src/fxge/fx_freetype/include/fxft_cffobjs.h",
-    "core/src/fxge/fx_freetype/include/fxft_cfftypes.h",
-    "core/src/fxge/fx_freetype/include/fxft_freetype.h",
-    "core/src/fxge/fx_freetype/include/fxft_ft2build.h",
-    "core/src/fxge/fx_freetype/include/fxft_ftmm.h",
-    "core/src/fxge/fx_freetype/include/fxft_ftobjs.h",
-    "core/src/fxge/fx_freetype/include/fxft_ftotval.h",
-    "core/src/fxge/fx_freetype/include/fxft_ftoutln.h",
-    "core/src/fxge/fx_freetype/include/fxft_ftstream.h",
-    "core/src/fxge/fx_freetype/include/fxft_tttables.h",
-    "core/src/fxge/fx_freetype/include/fxft_tttypes.h",
-    "core/src/fxge/fx_freetype/src/fxft_cff.c",
-    "core/src/fxge/fx_freetype/src/fxft_ftbase.c",
-    "core/src/fxge/fx_freetype/src/fxft_ftbitmap.c",
-    "core/src/fxge/fx_freetype/src/fxft_ftglyph.c",
-    "core/src/fxge/fx_freetype/src/fxft_ftinit.c",
-    "core/src/fxge/fx_freetype/src/fxft_ftlcdfil.c",
-    "core/src/fxge/fx_freetype/src/fxft_ftmm.c",
-    "core/src/fxge/fx_freetype/src/fxft_ftsystem.c",
-    "core/src/fxge/fx_freetype/src/fxft_psaux.c",
-    "core/src/fxge/fx_freetype/src/fxft_pshinter.c",
-    "core/src/fxge/fx_freetype/src/fxft_psmodule.c",
-    "core/src/fxge/fx_freetype/src/fxft_raster.c",
-    "core/src/fxge/fx_freetype/src/fxft_sfnt.c",
-    "core/src/fxge/fx_freetype/src/fxft_smooth.c",
-    "core/src/fxge/fx_freetype/src/fxft_truetype.c",
-    "core/src/fxge/fx_freetype/src/fxft_type1.c",
-    "core/src/fxge/fx_freetype/src/fxft_type1cid.c",
+    "core/src/fxge/freetype/fx_freetype.c",
     "core/src/fxge/ge/fx_ge.cpp",
     "core/src/fxge/ge/fx_ge_device.cpp",
     "core/src/fxge/ge/fx_ge_font.cpp",
@@ -797,12 +775,10 @@ static_library("javascript") {
     "fpdfsdk/include/javascript/Icon.h",
     "fpdfsdk/include/javascript/IJavaScript.h",
     "fpdfsdk/include/javascript/JavaScript.h",
-    "fpdfsdk/include/javascript/JS_Console.h",
     "fpdfsdk/include/javascript/JS_Context.h",
     "fpdfsdk/include/javascript/JS_Define.h",
     "fpdfsdk/include/javascript/JS_EventHandler.h",
     "fpdfsdk/include/javascript/JS_GlobalData.h",
-    "fpdfsdk/include/javascript/JS_Module.h",
     "fpdfsdk/include/javascript/JS_Object.h",
     "fpdfsdk/include/javascript/JS_Runtime.h",
     "fpdfsdk/include/javascript/JS_Value.h",
@@ -827,6 +803,7 @@ static_library("javascript") {
     "fpdfsdk/src/javascript/JS_Value.cpp",
     "fpdfsdk/src/javascript/PublicMethods.cpp",
     "fpdfsdk/src/javascript/report.cpp",
+    "fpdfsdk/src/javascript/resource.cpp",
     "fpdfsdk/src/javascript/util.cpp",
   ]
 
@@ -840,9 +817,6 @@ static_library("javascript") {
   public_deps = [
     "//v8",
   ]
-  deps = [
-    "//v8:v8_libplatform",
-  ]
 }
 
 static_library("jsapi") {
@@ -1174,244 +1148,244 @@ static_library("xfa") {
     "xfa/src/fwl/src/theme/pushbuttontp.cpp",
     "xfa/src/fwl/src/theme/scrollbartp.cpp",
     "xfa/src/fwl/src/theme/widgettp.cpp",
-    "xfa/src/fxbarcode/src/barcode.h",
-    "xfa/src/fxbarcode/src/BC_ASCIIEncoder.cpp",
-    "xfa/src/fxbarcode/src/BC_BarCode.cpp",
-    "xfa/src/fxbarcode/src/BC_Base256Encoder.cpp",
-    "xfa/src/fxbarcode/src/BC_Binarizer.cpp",
-    "xfa/src/fxbarcode/src/BC_BinaryBitmap.cpp",
-    "xfa/src/fxbarcode/src/BC_BufferedImageLuminanceSource.cpp",
-    "xfa/src/fxbarcode/src/BC_C40Encoder.cpp",
-    "xfa/src/fxbarcode/src/BC_CommonBitArray.cpp",
-    "xfa/src/fxbarcode/src/BC_CommonBitMatrix.cpp",
-    "xfa/src/fxbarcode/src/BC_CommonBitSource.cpp",
-    "xfa/src/fxbarcode/src/BC_CommonByteArray.cpp",
-    "xfa/src/fxbarcode/src/BC_CommonByteMatrix.cpp",
-    "xfa/src/fxbarcode/src/BC_CommonCharacterSetECI.cpp",
-    "xfa/src/fxbarcode/src/BC_CommonDecoderResult.cpp",
-    "xfa/src/fxbarcode/src/BC_CommonECI.cpp",
-    "xfa/src/fxbarcode/src/BC_CommonPerspectiveTransform.cpp",
-    "xfa/src/fxbarcode/src/BC_DataMatrixBitMatrixParser.cpp",
-    "xfa/src/fxbarcode/src/BC_DataMatrixDataBlock.cpp",
-    "xfa/src/fxbarcode/src/BC_DataMatrixDecodedBitStreamParser.cpp",
-    "xfa/src/fxbarcode/src/BC_DataMatrixDecoder.cpp",
-    "xfa/src/fxbarcode/src/BC_DataMatrixDetector.cpp",
-    "xfa/src/fxbarcode/src/BC_DataMatrixReader.cpp",
-    "xfa/src/fxbarcode/src/BC_DataMatrixSymbolInfo144.cpp",
-    "xfa/src/fxbarcode/src/BC_DataMatrixVersion.cpp",
-    "xfa/src/fxbarcode/src/BC_DataMatrixWriter.cpp",
-    "xfa/src/fxbarcode/src/BC_DefaultPlacement.cpp",
-    "xfa/src/fxbarcode/src/BC_Dimension.cpp",
-    "xfa/src/fxbarcode/src/BC_EdifactEncoder.cpp",
-    "xfa/src/fxbarcode/src/BC_Encoder.cpp",
-    "xfa/src/fxbarcode/src/BC_EncoderContext.cpp",
-    "xfa/src/fxbarcode/src/BC_ErrorCorrection.cpp",
-    "xfa/src/fxbarcode/src/BC_FinderPatternInfo.cpp",
-    "xfa/src/fxbarcode/src/BC_GlobalHistogramBinarizer.cpp",
-    "xfa/src/fxbarcode/src/BC_HighLevelEncoder.cpp",
-    "xfa/src/fxbarcode/src/BC_Library.cpp",
-    "xfa/src/fxbarcode/src/BC_LuminanceSource.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedCodaBarReader.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedCodaBarWriter.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedCode128Reader.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedCode128Writer.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedCode39Reader.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedCode39Writer.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedEAN13Reader.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedEAN13Writer.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedEAN8Reader.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedEAN8Writer.cpp",
-    "xfa/src/fxbarcode/src/BC_OneDimReader.cpp",
-    "xfa/src/fxbarcode/src/BC_OneDimWriter.cpp",
-    "xfa/src/fxbarcode/src/BC_OneDReader.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedUPCAReader.cpp",
-    "xfa/src/fxbarcode/src/BC_OnedUPCAWriter.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417BarcodeMatrix.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417BarcodeMetadata.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417BarcodeRow.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417BarcodeValue.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417BoundingBox.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417Codeword.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417CodewordDecoder.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417Common.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417Compaction.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417DecodedBitStreamParser.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417DetectionResult.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417DetectionResultColumn.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417DetectionResultRowIndicatorColumn.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417Detector.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417DetectorResult.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417Dimensions.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417ECErrorCorrection.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417ECModulusGF.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417ECModulusPoly.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417ErrorCorrection.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417HighLevelEncoder.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417Reader.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417ResultMetadata.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417ScanningDecoder.cpp",
-    "xfa/src/fxbarcode/src/BC_PDF417Writer.cpp",
-    "xfa/src/fxbarcode/src/BC_QRAlignmentPattern.cpp",
-    "xfa/src/fxbarcode/src/BC_QRAlignmentPatternFinder.cpp",
-    "xfa/src/fxbarcode/src/BC_QRBitMatrixParser.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoder.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderBitVector.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderBlockPair.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderDecoder.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCodeReader.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderECB.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderECBlocks.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderEncoder.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderErrorCorrectionLevel.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderFormatInformation.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderMaskUtil.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderMatrixUtil.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderMode.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCoderVersion.cpp",
-    "xfa/src/fxbarcode/src/BC_QRCodeWriter.cpp",
-    "xfa/src/fxbarcode/src/BC_QRDataBlock.cpp",
-    "xfa/src/fxbarcode/src/BC_QRDataMask.cpp",
-    "xfa/src/fxbarcode/src/BC_QRDecodedBitStreamParser.cpp",
-    "xfa/src/fxbarcode/src/BC_QRDetector.cpp",
-    "xfa/src/fxbarcode/src/BC_QRDetectorResult.cpp",
-    "xfa/src/fxbarcode/src/BC_QRFinderPattern.cpp",
-    "xfa/src/fxbarcode/src/BC_QRFinderPatternFinder.cpp",
-    "xfa/src/fxbarcode/src/BC_QRGridSampler.cpp",
-    "xfa/src/fxbarcode/src/BC_Reader.cpp",
-    "xfa/src/fxbarcode/src/BC_ReedSolomon.cpp",
-    "xfa/src/fxbarcode/src/BC_ReedSolomonDecoder.cpp",
-    "xfa/src/fxbarcode/src/BC_ReedSolomonGF256.cpp",
-    "xfa/src/fxbarcode/src/BC_ReedSolomonGF256Poly.cpp",
-    "xfa/src/fxbarcode/src/BC_ResultPoint.cpp",
-    "xfa/src/fxbarcode/src/BC_SymbolInfo.cpp",
-    "xfa/src/fxbarcode/src/BC_SymbolShapeHint.cpp",
-    "xfa/src/fxbarcode/src/BC_TextEncoder.cpp",
-    "xfa/src/fxbarcode/src/BC_TwoDimWriter.cpp",
-    "xfa/src/fxbarcode/src/BC_UtilCodingConvert.cpp",
-    "xfa/src/fxbarcode/src/BC_UtilRSS.cpp",
-    "xfa/src/fxbarcode/src/BC_Utils.cpp",
-    "xfa/src/fxbarcode/src/BC_WhiteRectangleDetector.cpp",
-    "xfa/src/fxbarcode/src/BC_Writer.cpp",
-    "xfa/src/fxbarcode/src/BC_X12Encoder.cpp",
-    "xfa/src/fxbarcode/src/include/BC_ASCIIEncoder.h",
-    "xfa/src/fxbarcode/src/include/BC_Base256Encoder.h",
-    "xfa/src/fxbarcode/src/include/BC_Binarizer.h",
-    "xfa/src/fxbarcode/src/include/BC_BinaryBitmap.h",
-    "xfa/src/fxbarcode/src/include/BC_BufferedImageLuminanceSource.h",
-    "xfa/src/fxbarcode/src/include/BC_C40Encoder.h",
-    "xfa/src/fxbarcode/src/include/BC_CommonBitArray.h",
-    "xfa/src/fxbarcode/src/include/BC_CommonBitMatrix.h",
-    "xfa/src/fxbarcode/src/include/BC_CommonBitSource.h",
-    "xfa/src/fxbarcode/src/include/BC_CommonByteArray.h",
-    "xfa/src/fxbarcode/src/include/BC_CommonByteMatrix.h",
-    "xfa/src/fxbarcode/src/include/BC_CommonCharacterSetECI.h",
-    "xfa/src/fxbarcode/src/include/BC_CommonDecoderResult.h",
-    "xfa/src/fxbarcode/src/include/BC_CommonECI.h",
-    "xfa/src/fxbarcode/src/include/BC_CommonPerspectiveTransform.h",
-    "xfa/src/fxbarcode/src/include/BC_DataMatrixBitMatrixParser.h",
-    "xfa/src/fxbarcode/src/include/BC_DataMatrixDataBlock.h",
-    "xfa/src/fxbarcode/src/include/BC_DataMatrixDecodedBitStreamParser.h",
-    "xfa/src/fxbarcode/src/include/BC_DataMatrixDecoder.h",
-    "xfa/src/fxbarcode/src/include/BC_DataMatrixDetector.h",
-    "xfa/src/fxbarcode/src/include/BC_DataMatrixReader.h",
-    "xfa/src/fxbarcode/src/include/BC_DataMatrixSymbolInfo144.h",
-    "xfa/src/fxbarcode/src/include/BC_DataMatrixVersion.h",
-    "xfa/src/fxbarcode/src/include/BC_DataMatrixWriter.h",
-    "xfa/src/fxbarcode/src/include/BC_DecoderResult.h",
-    "xfa/src/fxbarcode/src/include/BC_DefaultPlacement.h",
-    "xfa/src/fxbarcode/src/include/BC_Dimension.h",
-    "xfa/src/fxbarcode/src/include/BC_EdifactEncoder.h",
-    "xfa/src/fxbarcode/src/include/BC_Encoder.h",
-    "xfa/src/fxbarcode/src/include/BC_EncoderContext.h",
-    "xfa/src/fxbarcode/src/include/BC_ErrorCorrection.h",
-    "xfa/src/fxbarcode/src/include/BC_FinderPatternInfo.h",
-    "xfa/src/fxbarcode/src/include/BC_GlobalHistogramBinarizer.h",
-    "xfa/src/fxbarcode/src/include/BC_HighLevelEncoder.h",
-    "xfa/src/fxbarcode/src/include/BC_LuminanceSource.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedCodaBarReader.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedCodaBarWriter.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedCode128Reader.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedCode128Writer.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedCode39Reader.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedCode39Writer.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedEAN13Reader.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedEAN13Writer.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedEAN8Reader.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedEAN8Writer.h",
-    "xfa/src/fxbarcode/src/include/BC_OneDimReader.h",
-    "xfa/src/fxbarcode/src/include/BC_OneDimWriter.h",
-    "xfa/src/fxbarcode/src/include/BC_OneDReader.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedUPCAReader.h",
-    "xfa/src/fxbarcode/src/include/BC_OnedUPCAWriter.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417BarcodeMatrix.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417BarcodeMetadata.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417BarcodeRow.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417BarcodeValue.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417BoundingBox.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417Codeword.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417CodewordDecoder.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417Common.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417Compaction.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417DecodedBitStreamParser.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417DetectionResult.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417DetectionResultColumn.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417DetectionResultRowIndicatorColumn.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417Detector.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417DetectorResult.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417Dimensions.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417ECErrorCorrection.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417ECModulusGF.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417ECModulusPoly.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417ErrorCorrection.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417HighLevelEncoder.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417Reader.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417ResultMetadata.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417ScanningDecoder.h",
-    "xfa/src/fxbarcode/src/include/BC_PDF417Writer.h",
-    "xfa/src/fxbarcode/src/include/BC_QRAlignmentPattern.h",
-    "xfa/src/fxbarcode/src/include/BC_QRAlignmentPatternFinder.h",
-    "xfa/src/fxbarcode/src/include/BC_QRBitMatrixParser.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoder.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderBitVector.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderBlockPair.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderDecoder.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCodeReader.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderECB.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderECBlocks.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderEncoder.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderErrorCorrectionLevel.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderFormatInformation.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderMaskUtil.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderMatrixUtil.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderMode.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCoderVersion.h",
-    "xfa/src/fxbarcode/src/include/BC_QRCodeWriter.h",
-    "xfa/src/fxbarcode/src/include/BC_QRDataBlock.h",
-    "xfa/src/fxbarcode/src/include/BC_QRDataMask.h",
-    "xfa/src/fxbarcode/src/include/BC_QRDecodedBitStreamParser.h",
-    "xfa/src/fxbarcode/src/include/BC_QRDetector.h",
-    "xfa/src/fxbarcode/src/include/BC_QRDetectorResult.h",
-    "xfa/src/fxbarcode/src/include/BC_QRFinderPattern.h",
-    "xfa/src/fxbarcode/src/include/BC_QRFinderPatternFinder.h",
-    "xfa/src/fxbarcode/src/include/BC_QRGridSampler.h",
-    "xfa/src/fxbarcode/src/include/BC_Reader.h",
-    "xfa/src/fxbarcode/src/include/BC_ReedSolomon.h",
-    "xfa/src/fxbarcode/src/include/BC_ReedSolomonDecoder.h",
-    "xfa/src/fxbarcode/src/include/BC_ReedSolomonGF256.h",
-    "xfa/src/fxbarcode/src/include/BC_ReedSolomonGF256Poly.h",
-    "xfa/src/fxbarcode/src/include/BC_ResultPoint.h",
-    "xfa/src/fxbarcode/src/include/BC_SymbolInfo.h",
-    "xfa/src/fxbarcode/src/include/BC_SymbolShapeHint.h",
-    "xfa/src/fxbarcode/src/include/BC_TextEncoder.h",
-    "xfa/src/fxbarcode/src/include/BC_TwoDimWriter.h",
-    "xfa/src/fxbarcode/src/include/BC_UtilCodingConvert.h",
-    "xfa/src/fxbarcode/src/include/BC_UtilRSS.h",
-    "xfa/src/fxbarcode/src/include/BC_WhiteRectangleDetector.h",
-    "xfa/src/fxbarcode/src/include/BC_Writer.h",
-    "xfa/src/fxbarcode/src/include/BC_X12Encoder.h",
-    "xfa/src/fxbarcode/src/include/utils.h",
+    "xfa/src/fxbarcode/common/BC_CommonBitArray.cpp",
+    "xfa/src/fxbarcode/common/BC_CommonBitMatrix.cpp",
+    "xfa/src/fxbarcode/common/BC_CommonBitSource.cpp",
+    "xfa/src/fxbarcode/common/BC_CommonByteArray.cpp",
+    "xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp",
+    "xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.cpp",
+    "xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp",
+    "xfa/src/fxbarcode/common/BC_CommonECI.cpp",
+    "xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.cpp",
+    "xfa/src/fxbarcode/common/BC_CommonBitArray.h",
+    "xfa/src/fxbarcode/common/BC_CommonBitMatrix.h",
+    "xfa/src/fxbarcode/common/BC_CommonBitSource.h",
+    "xfa/src/fxbarcode/common/BC_CommonByteArray.h",
+    "xfa/src/fxbarcode/common/BC_CommonByteMatrix.h",
+    "xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h",
+    "xfa/src/fxbarcode/common/BC_CommonDecoderResult.h",
+    "xfa/src/fxbarcode/common/BC_CommonECI.h",
+    "xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h",
+    "xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp",
+    "xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h",
+    "xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.cpp",
+    "xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h",
+    "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
+    "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.cpp",
+    "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
+    "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
+    "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
+    "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h",
+    "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
+    "xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.h",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h",
+    "xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.h",
+    "xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_C40Encoder.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_EncoderContext.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_TextEncoder.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_X12Encoder.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_Encoder.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
+    "xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.h",
+    "xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.h",
+    "xfa/src/fxbarcode/datamatrix/BC_C40Encoder.h",
+    "xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h",
+    "xfa/src/fxbarcode/datamatrix/BC_EncoderContext.h",
+    "xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.h",
+    "xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.h",
+    "xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.h",
+    "xfa/src/fxbarcode/datamatrix/BC_TextEncoder.h",
+    "xfa/src/fxbarcode/datamatrix/BC_X12Encoder.h",
+    "xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h",
+    "xfa/src/fxbarcode/datamatrix/BC_Encoder.h",
+    "xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h",
+    "xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedCode128Reader.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedCode128Writer.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedCode39Writer.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.cpp",
+    "xfa/src/fxbarcode/oned/BC_OneDimReader.cpp",
+    "xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp",
+    "xfa/src/fxbarcode/oned/BC_OneDReader.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedUPCAReader.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.cpp",
+    "xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h",
+    "xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h",
+    "xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h",
+    "xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h",
+    "xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h",
+    "xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h",
+    "xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h",
+    "xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.h",
+    "xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.h",
+    "xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.h",
+    "xfa/src/fxbarcode/oned/BC_OneDimReader.h",
+    "xfa/src/fxbarcode/oned/BC_OneDimWriter.h",
+    "xfa/src/fxbarcode/oned/BC_OneDReader.h",
+    "xfa/src/fxbarcode/oned/BC_OnedUPCAReader.h",
+    "xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Common.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Detector.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Reader.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Writer.cpp",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Common.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Detector.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417Writer.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoder.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCodeReader.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderECB.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderMode.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRDataBlock.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRDataMask.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRDetector.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRGridSampler.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoder.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderECB.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderMode.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRDataMask.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRDetector.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h",
+    "xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h",
+    "xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.cpp",
+    "xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.h",
+    "xfa/src/fxbarcode/BC_BarCode.cpp",
+    "xfa/src/fxbarcode/BC_Binarizer.cpp",
+    "xfa/src/fxbarcode/BC_BinaryBitmap.cpp",
+    "xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.cpp",
+    "xfa/src/fxbarcode/BC_Dimension.cpp",
+    "xfa/src/fxbarcode/BC_Library.cpp",
+    "xfa/src/fxbarcode/BC_LuminanceSource.cpp",
+    "xfa/src/fxbarcode/BC_Reader.cpp",
+    "xfa/src/fxbarcode/BC_ResultPoint.cpp",
+    "xfa/src/fxbarcode/BC_TwoDimWriter.cpp",
+    "xfa/src/fxbarcode/BC_UtilCodingConvert.cpp",
+    "xfa/src/fxbarcode/BC_UtilRSS.cpp",
+    "xfa/src/fxbarcode/BC_Utils.cpp",
+    "xfa/src/fxbarcode/BC_Writer.cpp",
+    "xfa/src/fxbarcode/BC_Binarizer.h",
+    "xfa/src/fxbarcode/BC_BinaryBitmap.h",
+    "xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h",
+    "xfa/src/fxbarcode/BC_DecoderResult.h",
+    "xfa/src/fxbarcode/BC_Dimension.h",
+    "xfa/src/fxbarcode/BC_LuminanceSource.h",
+    "xfa/src/fxbarcode/BC_Reader.h",
+    "xfa/src/fxbarcode/BC_ResultPoint.h",
+    "xfa/src/fxbarcode/BC_TwoDimWriter.h",
+    "xfa/src/fxbarcode/BC_UtilCodingConvert.h",
+    "xfa/src/fxbarcode/BC_UtilRSS.h",
+    "xfa/src/fxbarcode/BC_Writer.h",
+    "xfa/src/fxbarcode/barcode.h",
+    "xfa/src/fxbarcode/utils.h",
     "xfa/src/fxfa/src/app/xfa_checksum.cpp",
     "xfa/src/fxfa/src/app/xfa_checksum.h",
     "xfa/src/fxfa/src/app/xfa_ffapp.cpp",
@@ -1578,3 +1552,57 @@ static_library("xfa") {
     "//v8:v8_libplatform",
   ]
 }
+
+test("pdfium_unittests") {
+  sources = [
+    "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp",
+    "core/src/fxcrt/fx_basic_bstring_unittest.cpp",
+    "core/src/fxcrt/fx_basic_memmgr_unittest.cpp",
+    "core/src/fxcrt/fx_basic_wstring_unittest.cpp",
+    "testing/fx_string_testhelpers.cpp",
+    "testing/fx_string_testhelpers.h",
+    "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
+    "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp",
+  ]
+  deps = [
+    "//testing/gtest",
+    "//testing/gtest:gtest_main",
+    ":pdfium"
+  ]
+  include_dirs = [ "." ]
+  configs -= [ "//build/config/compiler:chromium_code" ]
+  configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
+}
+
+test("pdfium_embeddertests") {
+  sources = [
+    "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp",
+    "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp",
+    "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp",
+    "fpdfsdk/src/fpdfdoc_embeddertest.cpp",
+    "fpdfsdk/src/fpdfformfill_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",
+    "testing/embedder_test.cpp",
+    "testing/embedder_test.h",
+    "testing/embedder_test_mock_delegate.h",
+    "testing/embedder_test_timer_handling_delegate.h",
+    "testing/fx_string_testhelpers.cpp",
+    "testing/fx_string_testhelpers.h",
+  ]
+  deps = [
+    "//testing/gmock",
+    "//testing/gtest",
+    "//v8:v8_libplatform",
+    ":pdfium"
+  ]
+  include_dirs = [
+    ".",
+    "//v8",
+    "//v8/include",
+  ]
+  configs -= [ "//build/config/compiler:chromium_code" ]
+  configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
+}