| OLD | NEW |
| 1 { | 1 { |
| 2 'variables': { | 2 'variables': { |
| 3 'pdf_use_skia%': 0, | 3 'pdf_use_skia%': 0, |
| 4 }, | 4 }, |
| 5 'target_defaults': { | 5 'target_defaults': { |
| 6 'defines' : [ | 6 'defines' : [ |
| 7 '_FXFT_VERSION_=2501', | 7 'FT2_BUILD_LIBRARY', |
| 8 '_FPDFSDK_LIB', | 8 '_FPDFSDK_LIB', |
| 9 '_NO_GDIPLUS_', # workaround text rendering issues on Windows | 9 '_NO_GDIPLUS_', # workaround text rendering issues on Windows |
| 10 'OPJ_STATIC', | 10 'OPJ_STATIC', |
| 11 ], | 11 ], |
| 12 'include_dirs': [ |
| 13 'third_party/freetype/include', |
| 14 ], |
| 12 'conditions': [ | 15 'conditions': [ |
| 13 ['pdf_use_skia==1', { | 16 ['pdf_use_skia==1', { |
| 14 'defines': ['_SKIA_SUPPORT_'], | 17 'defines': ['_SKIA_SUPPORT_'], |
| 15 }], | 18 }], |
| 16 ['OS=="linux"', { | 19 ['OS=="linux"', { |
| 17 'conditions': [ | 20 'conditions': [ |
| 18 ['target_arch=="x64"', { | 21 ['target_arch=="x64"', { |
| 19 'defines' : [ '_FX_CPU_=_FX_X64_', ], | 22 'defines' : [ '_FX_CPU_=_FX_X64_', ], |
| 20 'cflags': [ '-fPIC', ], | 23 'cflags': [ '-fPIC', ], |
| 21 }], | 24 }], |
| 22 ['target_arch=="ia32"', { | 25 ['target_arch=="ia32"', { |
| 23 'defines' : [ '_FX_CPU_=_FX_X86_', ], | 26 'defines' : [ '_FX_CPU_=_FX_X86_', ], |
| 24 }], | 27 }], |
| 25 ], | 28 ], |
| 26 }], | 29 }], |
| 27 ], | 30 ], |
| 28 'msvs_disabled_warnings': [ | 31 'msvs_disabled_warnings': [ |
| 29 4005, 4018, 4146, 4333, 4345, 4267 | 32 4005, 4018, 4146, 4333, 4345, 4267 |
| 30 ], | 33 ], |
| 31 }, | 34 }, |
| 32 'targets': [ | 35 'targets': [ |
| 33 { | 36 { |
| 34 'target_name': 'pdfium', | 37 'target_name': 'pdfium', |
| 35 'type': 'static_library', | 38 'type': 'static_library', |
| 36 'dependencies': [ | 39 'dependencies': [ |
| 37 'safemath', | 40 'third_party/third_party.gyp:safemath', |
| 38 'bigint', | 41 'third_party/third_party.gyp:bigint', |
| 42 'third_party/third_party.gyp:freetype', |
| 39 'fdrm', | 43 'fdrm', |
| 40 'fpdfdoc', | 44 'fpdfdoc', |
| 41 'fpdfapi', | 45 'fpdfapi', |
| 42 'fpdftext', | 46 'fpdftext', |
| 43 'formfiller', | 47 'formfiller', |
| 44 'fxcodec', | 48 'fxcodec', |
| 45 'fxcrt', | 49 'fxcrt', |
| 46 'fxedit', | 50 'fxedit', |
| 47 'fxge', | 51 'fxge', |
| 48 'javascript', | 52 'javascript', |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 'libraries': [ | 119 'libraries': [ |
| 116 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 120 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 117 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 121 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 118 ], | 122 ], |
| 119 }, | 123 }, |
| 120 }], | 124 }], |
| 121 ], | 125 ], |
| 122 }, | 126 }, |
| 123 }, | 127 }, |
| 124 { | 128 { |
| 125 'target_name': 'safemath', | |
| 126 'type': 'none', | |
| 127 'sources': [ | |
| 128 'third_party/logging.h', | |
| 129 'third_party/macros.h', | |
| 130 'third_party/template_util.h', | |
| 131 'third_party/numerics/safe_conversions.h', | |
| 132 'third_party/numerics/safe_conversions_impl.h', | |
| 133 'third_party/numerics/safe_math.h', | |
| 134 'third_party/numerics/safe_math_impl.h', | |
| 135 ], | |
| 136 }, | |
| 137 { | |
| 138 'target_name': 'bigint', | |
| 139 'type': 'static_library', | |
| 140 'sources': [ | |
| 141 'third_party/bigint/BigInteger.hh', | |
| 142 'third_party/bigint/BigIntegerLibrary.hh', | |
| 143 'third_party/bigint/BigIntegerUtils.hh', | |
| 144 'third_party/bigint/BigUnsigned.hh', | |
| 145 'third_party/bigint/NumberlikeArray.hh', | |
| 146 'third_party/bigint/BigUnsignedInABase.hh', | |
| 147 'third_party/bigint/BigInteger.cc', | |
| 148 'third_party/bigint/BigIntegerUtils.cc', | |
| 149 'third_party/bigint/BigUnsigned.cc', | |
| 150 'third_party/bigint/BigUnsignedInABase.cc', | |
| 151 ], | |
| 152 }, | |
| 153 { | |
| 154 'target_name': 'fdrm', | 129 'target_name': 'fdrm', |
| 155 'type': 'static_library', | 130 'type': 'static_library', |
| 156 'ldflags': [ '-L<(PRODUCT_DIR)',], | 131 'ldflags': [ '-L<(PRODUCT_DIR)',], |
| 157 'sources': [ | 132 'sources': [ |
| 158 'core/include/fdrm/fx_crypt.h', | 133 'core/include/fdrm/fx_crypt.h', |
| 159 'core/src/fdrm/crypto/fx_crypt.cpp', | 134 'core/src/fdrm/crypto/fx_crypt.cpp', |
| 160 'core/src/fdrm/crypto/fx_crypt_aes.cpp', | 135 'core/src/fdrm/crypto/fx_crypt_aes.cpp', |
| 161 'core/src/fdrm/crypto/fx_crypt_sha.cpp', | 136 'core/src/fdrm/crypto/fx_crypt_sha.cpp', |
| 162 ], | 137 ], |
| 163 }, | 138 }, |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 'core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c', | 580 'core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c', |
| 606 'core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c', | 581 'core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c', |
| 607 'core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c', | 582 'core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c', |
| 608 'core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c', | 583 'core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c', |
| 609 'core/src/fxge/fontdata/chromefontdata/FoxitSerif.c', | 584 'core/src/fxge/fontdata/chromefontdata/FoxitSerif.c', |
| 610 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c', | 585 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBold.c', |
| 611 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c', | 586 'core/src/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.c', |
| 612 'core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c', | 587 'core/src/fxge/fontdata/chromefontdata/FoxitSerifItalic.c', |
| 613 'core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c', | 588 'core/src/fxge/fontdata/chromefontdata/FoxitSerifMM.c', |
| 614 'core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c', | 589 'core/src/fxge/fontdata/chromefontdata/FoxitSymbol.c', |
| 615 'core/src/fxge/fx_freetype/include/fxft_cffobjs.h', | 590 'core/src/fxge/freetype/fx_freetype.c', |
| 616 'core/src/fxge/fx_freetype/include/fxft_cfftypes.h', | |
| 617 'core/src/fxge/fx_freetype/include/fxft_freetype.h', | |
| 618 'core/src/fxge/fx_freetype/include/fxft_ft2build.h', | |
| 619 'core/src/fxge/fx_freetype/include/fxft_ftmm.h', | |
| 620 'core/src/fxge/fx_freetype/include/fxft_ftobjs.h', | |
| 621 'core/src/fxge/fx_freetype/include/fxft_ftotval.h', | |
| 622 'core/src/fxge/fx_freetype/include/fxft_ftoutln.h', | |
| 623 'core/src/fxge/fx_freetype/include/fxft_ftstream.h', | |
| 624 'core/src/fxge/fx_freetype/include/fxft_tttables.h', | |
| 625 'core/src/fxge/fx_freetype/include/fxft_tttypes.h', | |
| 626 'core/src/fxge/fx_freetype/src/fxft_cff.c', | |
| 627 'core/src/fxge/fx_freetype/src/fxft_ftbase.c', | |
| 628 'core/src/fxge/fx_freetype/src/fxft_ftbitmap.c', | |
| 629 'core/src/fxge/fx_freetype/src/fxft_ftglyph.c', | |
| 630 'core/src/fxge/fx_freetype/src/fxft_ftinit.c', | |
| 631 'core/src/fxge/fx_freetype/src/fxft_ftlcdfil.c', | |
| 632 'core/src/fxge/fx_freetype/src/fxft_ftmm.c', | |
| 633 'core/src/fxge/fx_freetype/src/fxft_ftsystem.c', | |
| 634 'core/src/fxge/fx_freetype/src/fxft_psaux.c', | |
| 635 'core/src/fxge/fx_freetype/src/fxft_pshinter.c', | |
| 636 'core/src/fxge/fx_freetype/src/fxft_psmodule.c', | |
| 637 'core/src/fxge/fx_freetype/src/fxft_raster.c', | |
| 638 'core/src/fxge/fx_freetype/src/fxft_sfnt.c', | |
| 639 'core/src/fxge/fx_freetype/src/fxft_smooth.c', | |
| 640 'core/src/fxge/fx_freetype/src/fxft_truetype.c', | |
| 641 'core/src/fxge/fx_freetype/src/fxft_type1.c', | |
| 642 'core/src/fxge/fx_freetype/src/fxft_type1cid.c', | |
| 643 'core/src/fxge/ge/fx_ge.cpp', | 591 'core/src/fxge/ge/fx_ge.cpp', |
| 644 'core/src/fxge/ge/fx_ge_device.cpp', | 592 'core/src/fxge/ge/fx_ge_device.cpp', |
| 645 'core/src/fxge/ge/fx_ge_font.cpp', | 593 'core/src/fxge/ge/fx_ge_font.cpp', |
| 646 'core/src/fxge/ge/fx_ge_fontmap.cpp', | 594 'core/src/fxge/ge/fx_ge_fontmap.cpp', |
| 647 'core/src/fxge/ge/fx_ge_linux.cpp', | 595 'core/src/fxge/ge/fx_ge_linux.cpp', |
| 648 'core/src/fxge/ge/fx_ge_path.cpp', | 596 'core/src/fxge/ge/fx_ge_path.cpp', |
| 649 'core/src/fxge/ge/fx_ge_ps.cpp', | 597 'core/src/fxge/ge/fx_ge_ps.cpp', |
| 650 'core/src/fxge/ge/fx_ge_text.cpp', | 598 'core/src/fxge/ge/fx_ge_text.cpp', |
| 651 'core/src/fxge/ge/text_int.h', | 599 'core/src/fxge/ge/text_int.h', |
| 652 ], | 600 ], |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 'fpdfsdk/src/formfiller/FFL_ListBox.cpp', | 797 'fpdfsdk/src/formfiller/FFL_ListBox.cpp', |
| 850 'fpdfsdk/src/formfiller/FFL_Notify.cpp', | 798 'fpdfsdk/src/formfiller/FFL_Notify.cpp', |
| 851 'fpdfsdk/src/formfiller/FFL_PushButton.cpp', | 799 'fpdfsdk/src/formfiller/FFL_PushButton.cpp', |
| 852 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp', | 800 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp', |
| 853 'fpdfsdk/src/formfiller/FFL_TextField.cpp', | 801 'fpdfsdk/src/formfiller/FFL_TextField.cpp', |
| 854 'fpdfsdk/src/formfiller/FFL_Utils.cpp', | 802 'fpdfsdk/src/formfiller/FFL_Utils.cpp', |
| 855 ], | 803 ], |
| 856 }, | 804 }, |
| 857 ], | 805 ], |
| 858 } | 806 } |
| OLD | NEW |