| OLD | NEW |
| 1 { | 1 { |
| 2 "variables": { | 2 "variables": { |
| 3 "chromium_code": 1, | 3 "chromium_code": 1, |
| 4 "pdf_enable_v8%": 1, | 4 "pdf_enable_v8%": 1, |
| 5 }, | 5 }, |
| 6 "target_defaults": { | 6 "target_defaults": { |
| 7 "defines": [ | 7 "defines": [ |
| 8 "PDF_ENABLE_XFA", | 8 "PDF_ENABLE_XFA", |
| 9 ], | 9 ], |
| 10 'msvs_disabled_warnings': [ | 10 'msvs_disabled_warnings': [ |
| 11 4267, | 11 4267, |
| 12 ], | 12 ], |
| 13 }, | 13 }, |
| 14 "targets":[ | 14 "targets":[ |
| 15 { | 15 { |
| 16 "target_name":"xfa", | 16 "target_name":"xfa", |
| 17 "type":"static_library", | 17 "type":"static_library", |
| 18 'include_dirs': [ | 18 'include_dirs': [ |
| 19 # This is implicit in GN. | 19 # This is implicit in GN. |
| 20 '<(DEPTH)', | 20 '<(DEPTH)', |
| 21 '.', | 21 '.', |
| 22 'third_party/freetype/include', | 22 'third_party/freetype/include', |
| 23 'third_party/freetype/include/freetype', | 23 'third_party/freetype/include/freetype', |
| 24 '<(DEPTH)/v8', |
| 25 '<(DEPTH)/v8/include', |
| 24 ], | 26 ], |
| 25 'defines' : [ | 27 'defines' : [ |
| 26 'FT2_BUILD_LIBRARY', | 28 'FT2_BUILD_LIBRARY', |
| 27 ], | 29 ], |
| 30 'dependencies': [ |
| 31 '<(DEPTH)/v8/src/v8.gyp:v8', |
| 32 ], |
| 33 'export_dependent_settings': [ |
| 34 '<(DEPTH)/v8/src/v8.gyp:v8', |
| 35 ], |
| 28 "sources":[ | 36 "sources":[ |
| 37 "fxjse/class.cpp", |
| 38 "fxjse/context.cpp", |
| 39 "fxjse/context.h", |
| 40 "fxjse/dynprop.cpp", |
| 41 "fxjse/include/cfxjse_arguments.h", |
| 42 "fxjse/include/cfxjse_class.h", |
| 43 "fxjse/include/cfxjse_value.h" |
| 44 "fxjse/include/fxjse.h", |
| 45 "fxjse/runtime.cpp", |
| 46 "fxjse/runtime.h", |
| 47 "fxjse/scope_inline.h", |
| 48 "fxjse/value.cpp", |
| 29 "xfa/fxfa/include/fxfa.h", | 49 "xfa/fxfa/include/fxfa.h", |
| 30 "xfa/fxfa/include/fxfa_basic.h", | 50 "xfa/fxfa/include/fxfa_basic.h", |
| 31 "xfa/fxfa/include/fxfa_widget.h", | 51 "xfa/fxfa/include/fxfa_widget.h", |
| 32 "xfa/fxfa/include/xfa_checksum.h", | 52 "xfa/fxfa/include/xfa_checksum.h", |
| 33 "xfa/fxfa/include/xfa_ffapp.h", | 53 "xfa/fxfa/include/xfa_ffapp.h", |
| 34 "xfa/fxfa/include/xfa_ffdoc.h", | 54 "xfa/fxfa/include/xfa_ffdoc.h", |
| 35 "xfa/fxfa/include/xfa_ffdochandler.h", | 55 "xfa/fxfa/include/xfa_ffdochandler.h", |
| 36 "xfa/fxfa/include/xfa_ffdocview.h", | 56 "xfa/fxfa/include/xfa_ffdocview.h", |
| 37 "xfa/fxfa/include/xfa_ffpageview.h", | 57 "xfa/fxfa/include/xfa_ffpageview.h", |
| 38 "xfa/fxfa/include/xfa_ffwidget.h", | 58 "xfa/fxfa/include/xfa_ffwidget.h", |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 "xfa/fxgraphics/cfx_graphics.cpp", | 706 "xfa/fxgraphics/cfx_graphics.cpp", |
| 687 "xfa/fxgraphics/cfx_path.cpp", | 707 "xfa/fxgraphics/cfx_path.cpp", |
| 688 "xfa/fxgraphics/cfx_path.h", | 708 "xfa/fxgraphics/cfx_path.h", |
| 689 "xfa/fxgraphics/cfx_path_generator.cpp", | 709 "xfa/fxgraphics/cfx_path_generator.cpp", |
| 690 "xfa/fxgraphics/cfx_path_generator.h", | 710 "xfa/fxgraphics/cfx_path_generator.h", |
| 691 "xfa/fxgraphics/cfx_pattern.cpp", | 711 "xfa/fxgraphics/cfx_pattern.cpp", |
| 692 "xfa/fxgraphics/cfx_pattern.h", | 712 "xfa/fxgraphics/cfx_pattern.h", |
| 693 "xfa/fxgraphics/cfx_shading.cpp", | 713 "xfa/fxgraphics/cfx_shading.cpp", |
| 694 "xfa/fxgraphics/cfx_shading.h", | 714 "xfa/fxgraphics/cfx_shading.h", |
| 695 "xfa/fxgraphics/include/cfx_graphics.h", | 715 "xfa/fxgraphics/include/cfx_graphics.h", |
| 696 "xfa/fxjse/include/fxjse.h", | |
| 697 ], | 716 ], |
| 698 "conditions": [ | 717 "conditions": [ |
| 699 ["clang==1" , { | |
| 700 }], | |
| 701 ["os_posix==1 and clang==0", { # When GCC | 718 ["os_posix==1 and clang==0", { # When GCC |
| 702 'cflags': [ '-Wno-strict-overflow' ], | 719 'cflags': [ '-Wno-strict-overflow' ], |
| 703 }], | 720 }], |
| 704 ["pdf_enable_v8==1", { | |
| 705 'dependencies': [ | |
| 706 '<(DEPTH)/v8/src/v8.gyp:v8', | |
| 707 ], | |
| 708 'export_dependent_settings': [ | |
| 709 '<(DEPTH)/v8/src/v8.gyp:v8', | |
| 710 ], | |
| 711 'include_dirs': [ | |
| 712 '<(DEPTH)/v8', | |
| 713 '<(DEPTH)/v8/include', | |
| 714 ], | |
| 715 'sources': [ | |
| 716 "xfa/fxjse/cfxjse_arguments.h", | |
| 717 "xfa/fxjse/class.cpp", | |
| 718 "xfa/fxjse/class.h", | |
| 719 "xfa/fxjse/context.cpp", | |
| 720 "xfa/fxjse/context.h", | |
| 721 "xfa/fxjse/dynprop.cpp", | |
| 722 "xfa/fxjse/runtime.cpp", | |
| 723 "xfa/fxjse/runtime.h", | |
| 724 "xfa/fxjse/scope_inline.h", | |
| 725 "xfa/fxjse/value.cpp", | |
| 726 "xfa/fxjse/value.h" | |
| 727 ], | |
| 728 }], | |
| 729 ["OS == 'win'", { | 721 ["OS == 'win'", { |
| 730 "configurations": { | 722 "configurations": { |
| 731 "Debug": { | 723 "Debug": { |
| 732 "msvs_configuration_attributes": {}, | 724 "msvs_configuration_attributes": {}, |
| 733 "msvs_settings": { | 725 "msvs_settings": { |
| 734 "VCCLCompilerTool": {}, | 726 "VCCLCompilerTool": {}, |
| 735 "VCLibrarianTool": {}, | 727 "VCLibrarianTool": {}, |
| 736 "VCLinkerTool": {}, | 728 "VCLinkerTool": {}, |
| 737 } | 729 } |
| 738 }, | 730 }, |
| 739 "Release": { | 731 "Release": { |
| 740 "msvs_configuration_attributes": {}, | 732 "msvs_configuration_attributes": {}, |
| 741 "msvs_settings": { | 733 "msvs_settings": { |
| 742 "VCCLCompilerTool": {}, | 734 "VCCLCompilerTool": {}, |
| 743 "VCLibrarianTool": {}, | 735 "VCLibrarianTool": {}, |
| 744 "VCLinkerTool": {}, | 736 "VCLinkerTool": {}, |
| 745 } | 737 } |
| 746 } | 738 } |
| 747 }, | 739 }, |
| 748 "sources": [], | 740 "sources": [], |
| 749 }], | 741 }], |
| 750 ["OS == 'mac'", { | 742 ["OS == 'mac'", { |
| 751 "configurations": {}, | 743 "configurations": {}, |
| 752 "sources": [], | 744 "sources": [], |
| 753 }], | 745 }], |
| 754 ] | 746 ] |
| 755 } | 747 } |
| 756 ] | 748 ] |
| 757 } | 749 } |
| OLD | NEW |