summaryrefslogtreecommitdiff
path: root/xfa.gyp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-09 13:24:34 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-09 13:24:34 -0700
commit8bd9ce00a0755d72c9b5b8ad43d8f50c2f51e5c5 (patch)
tree9dd3a72354f353694cc52747acabf297a10251a3 /xfa.gyp
parent3cace320e07bb954710c50fc7634ca3a8f3eda38 (diff)
downloadpdfium-8bd9ce00a0755d72c9b5b8ad43d8f50c2f51e5c5.tar.xz
Move xfa/fxjse/ to fxjse/
This makes it clear that fxjse/ is a standalone component and should not be entangled with other xfa/ components. BUG=pdfium:506 Review-Url: https://codereview.chromium.org/2056663004
Diffstat (limited to 'xfa.gyp')
-rw-r--r--xfa.gyp48
1 files changed, 20 insertions, 28 deletions
diff --git a/xfa.gyp b/xfa.gyp
index 0a63ed3c29..2066190c98 100644
--- a/xfa.gyp
+++ b/xfa.gyp
@@ -21,11 +21,31 @@
'.',
'third_party/freetype/include',
'third_party/freetype/include/freetype',
+ '<(DEPTH)/v8',
+ '<(DEPTH)/v8/include',
],
'defines' : [
'FT2_BUILD_LIBRARY',
],
+ 'dependencies': [
+ '<(DEPTH)/v8/src/v8.gyp:v8',
+ ],
+ 'export_dependent_settings': [
+ '<(DEPTH)/v8/src/v8.gyp:v8',
+ ],
"sources":[
+ "fxjse/class.cpp",
+ "fxjse/context.cpp",
+ "fxjse/context.h",
+ "fxjse/dynprop.cpp",
+ "fxjse/include/cfxjse_arguments.h",
+ "fxjse/include/cfxjse_class.h",
+ "fxjse/include/cfxjse_value.h"
+ "fxjse/include/fxjse.h",
+ "fxjse/runtime.cpp",
+ "fxjse/runtime.h",
+ "fxjse/scope_inline.h",
+ "fxjse/value.cpp",
"xfa/fxfa/include/fxfa.h",
"xfa/fxfa/include/fxfa_basic.h",
"xfa/fxfa/include/fxfa_widget.h",
@@ -693,39 +713,11 @@
"xfa/fxgraphics/cfx_shading.cpp",
"xfa/fxgraphics/cfx_shading.h",
"xfa/fxgraphics/include/cfx_graphics.h",
- "xfa/fxjse/include/fxjse.h",
],
"conditions": [
- ["clang==1" , {
- }],
["os_posix==1 and clang==0", { # When GCC
'cflags': [ '-Wno-strict-overflow' ],
}],
- ["pdf_enable_v8==1", {
- 'dependencies': [
- '<(DEPTH)/v8/src/v8.gyp:v8',
- ],
- 'export_dependent_settings': [
- '<(DEPTH)/v8/src/v8.gyp:v8',
- ],
- 'include_dirs': [
- '<(DEPTH)/v8',
- '<(DEPTH)/v8/include',
- ],
- 'sources': [
- "xfa/fxjse/cfxjse_arguments.h",
- "xfa/fxjse/class.cpp",
- "xfa/fxjse/class.h",
- "xfa/fxjse/context.cpp",
- "xfa/fxjse/context.h",
- "xfa/fxjse/dynprop.cpp",
- "xfa/fxjse/runtime.cpp",
- "xfa/fxjse/runtime.h",
- "xfa/fxjse/scope_inline.h",
- "xfa/fxjse/value.cpp",
- "xfa/fxjse/value.h"
- ],
- }],
["OS == 'win'", {
"configurations": {
"Debug": {