| Index: xfa.gyp
|
| diff --git a/xfa.gyp b/xfa.gyp
|
| index 25dd8ff619f07d957e68c61c45fccacfa14d5d77..5504ebc9d86bf01f8ef18007befd186eb29a8499 100644
|
| --- a/xfa.gyp
|
| +++ b/xfa.gyp
|
| @@ -1,4 +1,7 @@
|
| {
|
| + "variables": {
|
| + "pdf_enable_v8%": 1,
|
| + },
|
| "target_defaults": {
|
| "defines": [
|
| "PDF_ENABLE_XFA",
|
| @@ -663,61 +666,58 @@
|
| "xfa/src/fxgraphics/src/fx_path_generator.cpp",
|
| "xfa/src/fxgraphics/src/fx_path_generator.h",
|
| "xfa/src/fxgraphics/src/pre.h",
|
| - "xfa/src/fxjse/src/class.cpp",
|
| - "xfa/src/fxjse/src/class.h",
|
| - "xfa/src/fxjse/src/context.cpp",
|
| - "xfa/src/fxjse/src/context.h",
|
| - "xfa/src/fxjse/src/dynprop.cpp",
|
| - "xfa/src/fxjse/src/runtime.cpp",
|
| - "xfa/src/fxjse/src/runtime.h",
|
| - "xfa/src/fxjse/src/scope_inline.h",
|
| - "xfa/src/fxjse/src/util_inline.h",
|
| - "xfa/src/fxjse/src/value.cpp",
|
| - "xfa/src/fxjse/src/value.h"
|
| ],
|
| - "conditions":[
|
| - [
|
| - "OS == 'win'",
|
| - {
|
| - "configurations":{
|
| - "Debug":{
|
| - "msvs_configuration_attributes":{
|
| - },
|
| - "msvs_settings":{
|
| - "VCCLCompilerTool":{
|
| - },
|
| - "VCLibrarianTool":{
|
| - },
|
| - "VCLinkerTool":{
|
| - }
|
| - }
|
| - },
|
| - "Release":{
|
| - "msvs_configuration_attributes":{
|
| - },
|
| - "msvs_settings":{
|
| - "VCCLCompilerTool":{
|
| - },
|
| - "VCLibrarianTool":{
|
| - },
|
| - "VCLinkerTool":{
|
| - }
|
| - }
|
| + "conditions": [
|
| + ["pdf_enable_v8==1", {
|
| + 'dependencies': [
|
| + '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
|
| + ],
|
| + 'export_dependent_settings': [
|
| + '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
|
| + ],
|
| + 'include_dirs': [
|
| + '<(DEPTH)/v8',
|
| + '<(DEPTH)/v8/include',
|
| + ],
|
| + 'sources': [
|
| + "xfa/src/fxjse/src/class.cpp",
|
| + "xfa/src/fxjse/src/class.h",
|
| + "xfa/src/fxjse/src/context.cpp",
|
| + "xfa/src/fxjse/src/context.h",
|
| + "xfa/src/fxjse/src/dynprop.cpp",
|
| + "xfa/src/fxjse/src/runtime.cpp",
|
| + "xfa/src/fxjse/src/runtime.h",
|
| + "xfa/src/fxjse/src/scope_inline.h",
|
| + "xfa/src/fxjse/src/util_inline.h",
|
| + "xfa/src/fxjse/src/value.cpp",
|
| + "xfa/src/fxjse/src/value.h"
|
| + ],
|
| + }],
|
| + ["OS == 'win'", {
|
| + "configurations": {
|
| + "Debug": {
|
| + "msvs_configuration_attributes": {},
|
| + "msvs_settings": {
|
| + "VCCLCompilerTool": {},
|
| + "VCLibrarianTool": {},
|
| + "VCLinkerTool": {},
|
| }
|
| },
|
| - "sources":[
|
| - ]
|
| - }
|
| - ],
|
| - [
|
| - "OS == 'mac'",
|
| - {
|
| - "configurations":{
|
| + "Release": {
|
| + "msvs_configuration_attributes": {},
|
| + "msvs_settings": {
|
| + "VCCLCompilerTool": {},
|
| + "VCLibrarianTool": {},
|
| + "VCLinkerTool": {},
|
| + }
|
| + }
|
| },
|
| - "sources":[
|
| - ]
|
| - }
|
| - ]
|
| + "sources": [],
|
| + }],
|
| + ["OS == 'mac'", {
|
| + "configurations": {},
|
| + "sources": [],
|
| + }],
|
| ]
|
| }
|
| ]
|
|
|