summaryrefslogtreecommitdiff
path: root/fxbarcode
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode')
-rw-r--r--fxbarcode/BUILD.gn17
1 files changed, 17 insertions, 0 deletions
diff --git a/fxbarcode/BUILD.gn b/fxbarcode/BUILD.gn
index b5aecb8d2f..caf0784a3d 100644
--- a/fxbarcode/BUILD.gn
+++ b/fxbarcode/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/jumbo.gni")
import("../pdfium.gni")
+import("../testing/test.gni")
assert(pdf_enable_xfa)
@@ -142,3 +143,19 @@ jumbo_source_set("fxbarcode") {
configs += [ "../:pdfium_core_config" ]
visibility = [ "../*" ]
}
+
+pdfium_unittest_source_set("unittests") {
+ sources = [
+ "oned/BC_OnedCodaBarWriter_unittest.cpp",
+ "oned/BC_OnedCode128Writer_unittest.cpp",
+ "oned/BC_OnedCode39Writer_unittest.cpp",
+ "oned/BC_OnedEAN13Writer_unittest.cpp",
+ "oned/BC_OnedEAN8Writer_unittest.cpp",
+ "oned/BC_OnedUPCAWriter_unittest.cpp",
+ "pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
+ ]
+ deps = [
+ ":fxbarcode",
+ ]
+ pdfium_root_dir = "../"
+}