diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-04-18 22:48:22 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-18 22:48:22 +0000 |
commit | a1fe73272892b668bd5928a836ecc6303c81e2fd (patch) | |
tree | 959f9576d3cfe49ad48f7a765bec64d7a954d3ff /BUILD.gn | |
parent | fbecb9a5150d2c5391581933c8089e7249292171 (diff) | |
download | pdfium-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.gn | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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", - ] } } |