summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn11
1 files changed, 6 insertions, 5 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 0ba2998718..aa8c58f707 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -774,7 +774,8 @@ static_library("pdfwindow") {
static_library("javascript") {
sources = [
- "fpdfsdk/include/javascript/IJavaScript.h",
+ "fpdfsdk/javascript/ijs_context.h",
+ "fpdfsdk/javascript/ijs_runtime.h",
]
if (pdf_enable_v8) {
sources += [
@@ -787,8 +788,6 @@ static_library("javascript") {
"fpdfsdk/javascript/Field.h",
"fpdfsdk/javascript/Icon.cpp",
"fpdfsdk/javascript/Icon.h",
- "fpdfsdk/javascript/JS_Context.cpp",
- "fpdfsdk/javascript/JS_Context.h",
"fpdfsdk/javascript/JS_Define.h",
"fpdfsdk/javascript/JS_EventHandler.cpp",
"fpdfsdk/javascript/JS_EventHandler.h",
@@ -796,14 +795,16 @@ static_library("javascript") {
"fpdfsdk/javascript/JS_GlobalData.h",
"fpdfsdk/javascript/JS_Object.cpp",
"fpdfsdk/javascript/JS_Object.h",
- "fpdfsdk/javascript/JS_Runtime.cpp",
- "fpdfsdk/javascript/JS_Runtime.h",
"fpdfsdk/javascript/JS_Value.cpp",
"fpdfsdk/javascript/JS_Value.h",
"fpdfsdk/javascript/PublicMethods.cpp",
"fpdfsdk/javascript/PublicMethods.h",
"fpdfsdk/javascript/app.cpp",
"fpdfsdk/javascript/app.h",
+ "fpdfsdk/javascript/cjs_context.cpp",
+ "fpdfsdk/javascript/cjs_context.h",
+ "fpdfsdk/javascript/cjs_runtime.cpp",
+ "fpdfsdk/javascript/cjs_runtime.h",
"fpdfsdk/javascript/color.cpp",
"fpdfsdk/javascript/color.h",
"fpdfsdk/javascript/console.cpp",