summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-04-18 22:48:22 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-18 22:48:22 +0000
commita1fe73272892b668bd5928a836ecc6303c81e2fd (patch)
tree959f9576d3cfe49ad48f7a765bec64d7a954d3ff /BUILD.gn
parentfbecb9a5150d2c5391581933c8089e7249292171 (diff)
downloadpdfium-a1fe73272892b668bd5928a836ecc6303c81e2fd.tar.xz
Always build JS Runtime stubs even if V8 present.
Prerequisite for switching V8 off at run-time. Change-Id: I4b9f867185758350f5de3f57e771f63020df6e65 Reviewed-on: https://pdfium-review.googlesource.com/30994 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn11
1 files changed, 5 insertions, 6 deletions
diff --git a/BUILD.gn b/BUILD.gn
index c00557594b..01e40f5102 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1172,7 +1172,12 @@ jumbo_static_library("pwl") {
jumbo_static_library("fxjs") {
sources = [
+ "fxjs/cjs_event_context_stub.cpp",
+ "fxjs/cjs_event_context_stub.h",
+ "fxjs/cjs_runtimestub.cpp",
+ "fxjs/cjs_runtimestub.h",
"fxjs/ijs_event_context.h",
+ "fxjs/ijs_runtime.cpp",
"fxjs/ijs_runtime.h",
]
configs += [ ":pdfium_core_config" ]
@@ -1595,12 +1600,6 @@ jumbo_static_library("fxjs") {
"fxjs/xfa/cjx_xsdconnection.h",
]
}
- } else {
- sources += [
- "fxjs/cjs_event_context_stub.cpp",
- "fxjs/cjs_event_context_stub.h",
- "fxjs/cjs_runtimestub.cpp",
- ]
}
}