summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-12 17:37:06 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-12 17:37:06 +0000
commitac0a1672378b4b2e18b01080a5c149ff50abd363 (patch)
tree65a42f37cc04eef2661b8b63a5fa5085a5af75e1 /BUILD.gn
parent3f972932128af8dd040dd9d2bbaed4004fc4d617 (diff)
downloadpdfium-ac0a1672378b4b2e18b01080a5c149ff50abd363.tar.xz
Split fxbarcode build rules into fxbarcode/BUILD.gn.
Enable GN check for fxbarcode and make it pass. Change-Id: I696a97b90113b65ae5c7f8aa18185328c4640251 Reviewed-on: https://pdfium-review.googlesource.com/c/43940 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn141
1 files changed, 5 insertions, 136 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 3e268ddafe..e65fb2d6b9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -923,7 +923,10 @@ jumbo_source_set("fxcrt") {
"core/fxcrt/xml/cfx_xmltext.h",
]
configs += [ ":pdfium_core_config" ]
- visibility += [ "third_party:*" ]
+ visibility += [
+ "fxbarcode:*",
+ "third_party:*",
+ ]
deps = [
"third_party:pdfium_base",
]
@@ -1685,140 +1688,6 @@ if (pdf_enable_xfa) {
configs += [ ":pdfium_core_config" ]
}
- jumbo_source_set("fxbarcode") {
- sources = [
- "fxbarcode/BC_Library.cpp",
- "fxbarcode/BC_Library.h",
- "fxbarcode/BC_TwoDimWriter.cpp",
- "fxbarcode/BC_TwoDimWriter.h",
- "fxbarcode/BC_UtilCodingConvert.cpp",
- "fxbarcode/BC_UtilCodingConvert.h",
- "fxbarcode/BC_Utils.cpp",
- "fxbarcode/BC_Writer.cpp",
- "fxbarcode/BC_Writer.h",
- "fxbarcode/cbc_codabar.cpp",
- "fxbarcode/cbc_codabar.h",
- "fxbarcode/cbc_code128.cpp",
- "fxbarcode/cbc_code128.h",
- "fxbarcode/cbc_code39.cpp",
- "fxbarcode/cbc_code39.h",
- "fxbarcode/cbc_codebase.cpp",
- "fxbarcode/cbc_codebase.h",
- "fxbarcode/cbc_datamatrix.cpp",
- "fxbarcode/cbc_datamatrix.h",
- "fxbarcode/cbc_ean13.cpp",
- "fxbarcode/cbc_ean13.h",
- "fxbarcode/cbc_ean8.cpp",
- "fxbarcode/cbc_ean8.h",
- "fxbarcode/cbc_onecode.cpp",
- "fxbarcode/cbc_onecode.h",
- "fxbarcode/cbc_pdf417i.cpp",
- "fxbarcode/cbc_pdf417i.h",
- "fxbarcode/cbc_qrcode.cpp",
- "fxbarcode/cbc_qrcode.h",
- "fxbarcode/cbc_upca.cpp",
- "fxbarcode/cbc_upca.h",
- "fxbarcode/common/BC_CommonBitArray.cpp",
- "fxbarcode/common/BC_CommonBitArray.h",
- "fxbarcode/common/BC_CommonBitMatrix.cpp",
- "fxbarcode/common/BC_CommonBitMatrix.h",
- "fxbarcode/common/BC_CommonByteMatrix.cpp",
- "fxbarcode/common/BC_CommonByteMatrix.h",
- "fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp",
- "fxbarcode/common/reedsolomon/BC_ReedSolomon.h",
- "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp",
- "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h",
- "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp",
- "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h",
- "fxbarcode/datamatrix/BC_ASCIIEncoder.cpp",
- "fxbarcode/datamatrix/BC_ASCIIEncoder.h",
- "fxbarcode/datamatrix/BC_Base256Encoder.cpp",
- "fxbarcode/datamatrix/BC_Base256Encoder.h",
- "fxbarcode/datamatrix/BC_C40Encoder.cpp",
- "fxbarcode/datamatrix/BC_C40Encoder.h",
- "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp",
- "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h",
- "fxbarcode/datamatrix/BC_DataMatrixWriter.cpp",
- "fxbarcode/datamatrix/BC_DataMatrixWriter.h",
- "fxbarcode/datamatrix/BC_DefaultPlacement.cpp",
- "fxbarcode/datamatrix/BC_DefaultPlacement.h",
- "fxbarcode/datamatrix/BC_EdifactEncoder.cpp",
- "fxbarcode/datamatrix/BC_EdifactEncoder.h",
- "fxbarcode/datamatrix/BC_Encoder.cpp",
- "fxbarcode/datamatrix/BC_Encoder.h",
- "fxbarcode/datamatrix/BC_EncoderContext.cpp",
- "fxbarcode/datamatrix/BC_EncoderContext.h",
- "fxbarcode/datamatrix/BC_ErrorCorrection.cpp",
- "fxbarcode/datamatrix/BC_ErrorCorrection.h",
- "fxbarcode/datamatrix/BC_HighLevelEncoder.cpp",
- "fxbarcode/datamatrix/BC_HighLevelEncoder.h",
- "fxbarcode/datamatrix/BC_SymbolInfo.cpp",
- "fxbarcode/datamatrix/BC_SymbolInfo.h",
- "fxbarcode/datamatrix/BC_TextEncoder.cpp",
- "fxbarcode/datamatrix/BC_TextEncoder.h",
- "fxbarcode/datamatrix/BC_X12Encoder.cpp",
- "fxbarcode/datamatrix/BC_X12Encoder.h",
- "fxbarcode/oned/BC_OneDimWriter.cpp",
- "fxbarcode/oned/BC_OneDimWriter.h",
- "fxbarcode/oned/BC_OnedCodaBarWriter.cpp",
- "fxbarcode/oned/BC_OnedCodaBarWriter.h",
- "fxbarcode/oned/BC_OnedCode128Writer.cpp",
- "fxbarcode/oned/BC_OnedCode128Writer.h",
- "fxbarcode/oned/BC_OnedCode39Writer.cpp",
- "fxbarcode/oned/BC_OnedCode39Writer.h",
- "fxbarcode/oned/BC_OnedEAN13Writer.cpp",
- "fxbarcode/oned/BC_OnedEAN13Writer.h",
- "fxbarcode/oned/BC_OnedEAN8Writer.cpp",
- "fxbarcode/oned/BC_OnedEAN8Writer.h",
- "fxbarcode/oned/BC_OnedEANChecksum.cpp",
- "fxbarcode/oned/BC_OnedEANChecksum.h",
- "fxbarcode/oned/BC_OnedUPCAWriter.cpp",
- "fxbarcode/oned/BC_OnedUPCAWriter.h",
- "fxbarcode/pdf417/BC_PDF417.cpp",
- "fxbarcode/pdf417/BC_PDF417.h",
- "fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp",
- "fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h",
- "fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp",
- "fxbarcode/pdf417/BC_PDF417BarcodeRow.h",
- "fxbarcode/pdf417/BC_PDF417Compaction.cpp",
- "fxbarcode/pdf417/BC_PDF417Compaction.h",
- "fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp",
- "fxbarcode/pdf417/BC_PDF417ErrorCorrection.h",
- "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp",
- "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h",
- "fxbarcode/pdf417/BC_PDF417Writer.cpp",
- "fxbarcode/pdf417/BC_PDF417Writer.h",
- "fxbarcode/qrcode/BC_QRCodeWriter.cpp",
- "fxbarcode/qrcode/BC_QRCodeWriter.h",
- "fxbarcode/qrcode/BC_QRCoder.cpp",
- "fxbarcode/qrcode/BC_QRCoder.h",
- "fxbarcode/qrcode/BC_QRCoderBitVector.cpp",
- "fxbarcode/qrcode/BC_QRCoderBitVector.h",
- "fxbarcode/qrcode/BC_QRCoderECBlocks.cpp",
- "fxbarcode/qrcode/BC_QRCoderECBlocks.h",
- "fxbarcode/qrcode/BC_QRCoderECBlocksData.cpp",
- "fxbarcode/qrcode/BC_QRCoderECBlocksData.h",
- "fxbarcode/qrcode/BC_QRCoderEncoder.cpp",
- "fxbarcode/qrcode/BC_QRCoderEncoder.h",
- "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp",
- "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h",
- "fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp",
- "fxbarcode/qrcode/BC_QRCoderMaskUtil.h",
- "fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp",
- "fxbarcode/qrcode/BC_QRCoderMatrixUtil.h",
- "fxbarcode/qrcode/BC_QRCoderMode.cpp",
- "fxbarcode/qrcode/BC_QRCoderMode.h",
- "fxbarcode/qrcode/BC_QRCoderVersion.cpp",
- "fxbarcode/qrcode/BC_QRCoderVersion.h",
- "fxbarcode/utils.h",
- ]
- deps = [
- ":fxcrt",
- "third_party:bigint",
- ]
- configs += [ ":pdfium_core_config" ]
- }
-
group("xfa") {
deps = [
":xfa_fde",
@@ -2007,9 +1876,9 @@ if (pdf_enable_xfa) {
"xfa/fwl/theme/cfwl_widgettp.h",
]
deps = [
- ":fxbarcode",
":fxcrt",
":xfa_fgas",
+ "fxbarcode",
]
configs += [
":pdfium_core_config",