summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/fm2js')
-rw-r--r--xfa/fxfa/fm2js/BUILD.gn14
1 files changed, 14 insertions, 0 deletions
diff --git a/xfa/fxfa/fm2js/BUILD.gn b/xfa/fxfa/fm2js/BUILD.gn
index 8da1ec5433..930c452962 100644
--- a/xfa/fxfa/fm2js/BUILD.gn
+++ b/xfa/fxfa/fm2js/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/jumbo.gni")
import("../../../pdfium.gni")
+import("../../../testing/test.gni")
assert(pdf_enable_xfa)
@@ -30,3 +31,16 @@ jumbo_source_set("fm2js") {
]
visibility = [ "../../../*" ]
}
+
+pdfium_unittest_source_set("unittests") {
+ sources = [
+ "cxfa_fmexpression_unittest.cpp",
+ "cxfa_fmlexer_unittest.cpp",
+ "cxfa_fmparser_unittest.cpp",
+ "cxfa_fmsimpleexpression_unittest.cpp",
+ ]
+ deps = [
+ ":fm2js",
+ ]
+ pdfium_root_dir = "../../../"
+}