summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/BUILD.gn')
-rw-r--r--xfa/fxfa/parser/BUILD.gn16
1 files changed, 16 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/BUILD.gn b/xfa/fxfa/parser/BUILD.gn
index bd7446db7c..8575a019f4 100644
--- a/xfa/fxfa/parser/BUILD.gn
+++ b/xfa/fxfa/parser/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/jumbo.gni")
import("../../../pdfium.gni")
+import("../../../testing/test.gni")
assert(pdf_enable_xfa)
@@ -719,3 +720,18 @@ jumbo_source_set("parser") {
]
visibility = [ "../../../*" ]
}
+
+pdfium_unittest_source_set("unittests") {
+ sources = [
+ "cxfa_document_parser_unittest.cpp",
+ "cxfa_localevalue_unittest.cpp",
+ "cxfa_node_unittest.cpp",
+ "cxfa_nodeiteratortemplate_unittest.cpp",
+ "cxfa_xmllocale_unittest.cpp",
+ "xfa_utils_unittest.cpp",
+ ]
+ deps = [
+ ":parser",
+ ]
+ pdfium_root_dir = "../../../"
+}