Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: BUILD.gn

Issue 2136273002: Create an fxjs static library (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@fxjs_v8_v2
Patch Set: GYP fix attempt Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | xfa.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 98df2e39c7c6c125d69f8c3cc51240e742b5f10c..a45bea973c51ba3fb04a3ac726f89f4db6c5d325 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -868,6 +868,35 @@ static_library("formfiller") {
}
if (pdf_enable_xfa) {
+ static_library("fxjs") {
+ sources = [
+ "fxjs/cfxjse_arguments.cpp",
+ "fxjs/cfxjse_class.cpp",
+ "fxjs/cfxjse_context.cpp",
+ "fxjs/cfxjse_isolatetracker.cpp",
+ "fxjs/cfxjse_isolatetracker.h",
+ "fxjs/cfxjse_runtimedata.cpp",
+ "fxjs/cfxjse_runtimedata.h",
+ "fxjs/cfxjse_value.cpp",
+ "fxjs/include/cfxjse_arguments.h",
+ "fxjs/include/cfxjse_class.h",
+ "fxjs/include/cfxjse_context.h",
+ "fxjs/include/cfxjse_value.h",
+ "fxjs/include/fxjse.h",
+ ]
+ deps = [
+ "//v8:v8_libplatform",
+ ]
+ configs += [ ":pdfium_core_config" ]
+ include_dirs = [
+ "//v8",
+ "//v8/include",
+ ]
+ public_deps = [
+ "//v8",
+ ]
+ }
+
static_library("fpdfxfa") {
sources = [
"fpdfsdk/fpdfxfa/fpdfxfa_app.cpp",
@@ -887,19 +916,6 @@ if (pdf_enable_xfa) {
static_library("xfa") {
sources = [
- "fxjs/cfxjse_arguments.cpp",
- "fxjs/cfxjse_class.cpp",
- "fxjs/cfxjse_context.cpp",
- "fxjs/cfxjse_isolatetracker.cpp",
- "fxjs/cfxjse_isolatetracker.h",
- "fxjs/cfxjse_runtimedata.cpp",
- "fxjs/cfxjse_runtimedata.h",
- "fxjs/cfxjse_value.cpp",
- "fxjs/include/cfxjse_arguments.h",
- "fxjs/include/cfxjse_class.h",
- "fxjs/include/cfxjse_context.h",
- "fxjs/include/cfxjse_value.h",
- "fxjs/include/fxjse.h",
"xfa/fde/cfde_path.cpp",
"xfa/fde/cfde_path.h",
"xfa/fde/cfde_txtedtbuf.cpp",
@@ -1440,14 +1456,9 @@ if (pdf_enable_xfa) {
]
include_dirs = [
".",
- "//v8",
- "//v8/include",
- ]
- public_deps = [
- "//v8",
]
deps = [
- "//v8:v8_libplatform",
+ ":fxjs",
]
configs += [
":pdfium_core_config",
« no previous file with comments | « no previous file | xfa.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698