summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs')
-rw-r--r--fxjs/BUILD.gn17
1 files changed, 17 insertions, 0 deletions
diff --git a/fxjs/BUILD.gn b/fxjs/BUILD.gn
index 09595e36fe..2022d3b735 100644
--- a/fxjs/BUILD.gn
+++ b/fxjs/BUILD.gn
@@ -462,4 +462,21 @@ if (pdf_enable_v8) {
]
pdfium_root_dir = "../"
}
+
+ pdfium_embeddertest_source_set("embeddertests") {
+ sources = [
+ "cfxjs_engine_embeddertest.cpp",
+ "cjs_publicmethods_embeddertest.cpp",
+ ]
+ configs = [ "//v8:external_startup_data" ]
+ deps = [
+ ":fxjs",
+ ]
+ pdfium_root_dir = "../"
+
+ if (pdf_enable_xfa) {
+ sources += [ "cfxjse_formcalc_context_embeddertest.cpp" ]
+ deps += [ "..///xfa/fxfa" ]
+ }
+ }
}