summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-09-01 16:01:44 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-01 20:29:34 +0000
commitab3c111433229fc79275c4b413b24bec6f5463ce (patch)
treeceee33196d76ebded37cd5c9e7ebfd35303215c2 /BUILD.gn
parenta2188df09255b49ad41a89ae9b5de640d0b03126 (diff)
downloadpdfium-ab3c111433229fc79275c4b413b24bec6f5463ce.tar.xz
Fix EAN-13 checksum and add unit tests.
Parity in EAN-13 is considered counting digits from right to left, starting at 1. Bug: pdfium:882 Change-Id: I3e586499091b8400daf93657eb9878f29d9e6922 Reviewed-on: https://pdfium-review.googlesource.com/12910 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index ce598c6c74..d9e8d71669 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1951,6 +1951,7 @@ test("pdfium_unittests") {
"core/fxcrt/xml/cfx_saxreader_unittest.cpp",
"core/fxcrt/xml/cfx_xmlsyntaxparser_unittest.cpp",
"fxbarcode/oned/BC_OnedCode128Writer_unittest.cpp",
+ "fxbarcode/oned/BC_OnedEAN13Writer_unittest.cpp",
"fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
"xfa/fde/cfde_texteditengine_unittest.cpp",
"xfa/fgas/crt/cfgas_formatstring_unittest.cpp",