summaryrefslogtreecommitdiff
path: root/xfa/fgas/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fgas/BUILD.gn')
-rw-r--r--xfa/fgas/BUILD.gn16
1 files changed, 16 insertions, 0 deletions
diff --git a/xfa/fgas/BUILD.gn b/xfa/fgas/BUILD.gn
index c34aa0915c..d2819b8e1e 100644
--- a/xfa/fgas/BUILD.gn
+++ b/xfa/fgas/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/jumbo.gni")
import("../../pdfium.gni")
+import("../../testing/test.gni")
assert(pdf_enable_xfa)
@@ -55,3 +56,18 @@ jumbo_source_set("fgas") {
]
}
}
+
+pdfium_unittest_source_set("unittests") {
+ sources = [
+ "crt/cfgas_formatstring_unittest.cpp",
+ "layout/cfx_rtfbreak_unittest.cpp",
+ "layout/cfx_txtbreak_unittest.cpp",
+ ]
+ deps = [
+ ":fgas",
+ "../../core/fpdfapi",
+ "../../core/fxge",
+ "../fxfa/parser",
+ ]
+ pdfium_root_dir = "../../"
+}