summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-15 13:55:12 -0700
committerWei Li <weili@chromium.org>2016-03-15 13:55:12 -0700
commit614d20a64195e64c047432251e3fb3e7b5142425 (patch)
tree6e23743b19bb501defd07146c3164168a5520908 /BUILD.gn
parent744da70149c450d2f387a1fa325a3074ac2edb0c (diff)
downloadpdfium-614d20a64195e64c047432251e3fb3e7b5142425.tar.xz
Fix CJS_PublicMethods::IsNumber() with unit test and some cleanup
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1797423002 .
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn9
1 files changed, 9 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index a08970868e..a4ea471fcf 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1488,6 +1488,15 @@ test("pdfium_unittests") {
"xfa/fxfa/parser/xfa_utils_imp_unittest.cpp",
]
}
+ if (pdf_enable_v8) {
+ sources += [
+ "fpdfsdk/javascript/public_methods_unittest.cpp",
+ ]
+ include_dirs += [
+ "//v8",
+ "//v8/include",
+ ]
+ }
configs += [ ":pdfium_config" ]
}