summaryrefslogtreecommitdiff
path: root/xfa.gyp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-07-12 10:42:14 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-12 10:42:14 -0700
commitb3f2467e065fdb36ae7c46e0a3e0b2902c8eb7f8 (patch)
tree1bec44d79b085286fba0bfe6185cd24625b6e74a /xfa.gyp
parent7f9c8609999bf3bd0b33b5b350fb9baa008cf967 (diff)
downloadpdfium-b3f2467e065fdb36ae7c46e0a3e0b2902c8eb7f8.tar.xz
Move fpdfsdk/jsapi into fxjs/
This CL moves the fpdfsdk/sjapi code info fxjs/. The "fxjs" library is moved from being XFA specific to being compiled if V8 is enabled. The fxjs_v8 files are required when building for XFA (they have XFA defines in them) and are used in CFXJS_RuntimeData. The cfxjse_* files are only added if XFA is also enabled. Review-Url: https://codereview.chromium.org/2144603003
Diffstat (limited to 'xfa.gyp')
-rw-r--r--xfa.gyp35
1 files changed, 0 insertions, 35 deletions
diff --git a/xfa.gyp b/xfa.gyp
index d8c165ef88..e21f905ed5 100644
--- a/xfa.gyp
+++ b/xfa.gyp
@@ -16,38 +16,6 @@
},
"targets":[
{
- "target_name": "fxjs",
- "type": "static_library",
- 'include_dirs': [
- # This is implicit in GN.
- '<(DEPTH)',
- '.',
- '<(DEPTH)/v8',
- '<(DEPTH)/v8/include',
- ],
- 'dependencies': [
- '<(DEPTH)/v8/src/v8.gyp:v8',
- ],
- 'export_dependent_settings': [
- '<(DEPTH)/v8/src/v8.gyp:v8',
- ],
- "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",
- ]
- },
- {
"target_name":"xfa",
"type":"static_library",
'include_dirs': [
@@ -60,9 +28,6 @@
'defines' : [
'FT2_BUILD_LIBRARY',
],
- 'dependencies': [
- ':fxjs',
- ],
"sources":[
"xfa/fde/cfde_path.cpp",
"xfa/fde/cfde_path.h",