| 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 'FOXIT_CHROME_BUILD', | 7 'FOXIT_CHROME_BUILD', |
| 8 '_FXFT_VERSION_=2501', | 8 '_FXFT_VERSION_=2501', |
| 9 '_FPDFSDK_LIB', | 9 '_FPDFSDK_LIB', |
| 10 '_NO_GDIPLUS_', # workaround text rendering issues on Windows | 10 '_NO_GDIPLUS_', # workaround text rendering issues on Windows |
| 11 ], | 11 ], |
| 12 'conditions': [ | 12 'conditions': [ |
| 13 ['pdf_use_skia==1', { | 13 ['pdf_use_skia==1', { |
| 14 'defines': ['_SKIA_SUPPORT_'], | 14 'defines': ['_SKIA_SUPPORT_'], |
| 15 }], | 15 }], |
| 16 # pdfium uses exceptions. Override the default exceptions-off setting | |
| 17 # from chromium. | |
| 18 # TODO: Instead, change pdfium to not use exceptions, and remove this. | |
| 19 ['OS=="mac"', { | |
| 20 'xcode_settings': { 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', }, | |
| 21 }], | |
| 22 ['OS=="win"', { | |
| 23 'msvs_settings': { 'VCCLCompilerTool': { 'ExceptionHandling': '1', }, }, | |
| 24 'defines!': [ '_HAS_EXCEPTIONS=0', ], | |
| 25 }], | |
| 26 ['OS=="linux"', { | 16 ['OS=="linux"', { |
| 27 'cflags!': [ '-fno-exceptions', ], | |
| 28 'conditions': [ | 17 'conditions': [ |
| 29 ['target_arch=="x64"', { | 18 ['target_arch=="x64"', { |
| 30 'defines' : [ '_FX_CPU_=_FX_X64_', ], | 19 'defines' : [ '_FX_CPU_=_FX_X64_', ], |
| 31 'cflags': [ '-fPIC', ], | 20 'cflags': [ '-fPIC', ], |
| 32 }], | 21 }], |
| 33 ['target_arch=="ia32"', { | 22 ['target_arch=="ia32"', { |
| 34 'defines' : [ '_FX_CPU_=_FX_X86_', ], | 23 'defines' : [ '_FX_CPU_=_FX_X86_', ], |
| 35 }], | 24 }], |
| 36 ], | 25 ], |
| 37 }], | 26 }], |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 'fpdfsdk/src/formfiller/FFL_ListBox.cpp', | 835 'fpdfsdk/src/formfiller/FFL_ListBox.cpp', |
| 847 'fpdfsdk/src/formfiller/FFL_Notify.cpp', | 836 'fpdfsdk/src/formfiller/FFL_Notify.cpp', |
| 848 'fpdfsdk/src/formfiller/FFL_PushButton.cpp', | 837 'fpdfsdk/src/formfiller/FFL_PushButton.cpp', |
| 849 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp', | 838 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp', |
| 850 'fpdfsdk/src/formfiller/FFL_TextField.cpp', | 839 'fpdfsdk/src/formfiller/FFL_TextField.cpp', |
| 851 'fpdfsdk/src/formfiller/FFL_Utils.cpp', | 840 'fpdfsdk/src/formfiller/FFL_Utils.cpp', |
| 852 ], | 841 ], |
| 853 }, | 842 }, |
| 854 ], | 843 ], |
| 855 } | 844 } |
| OLD | NEW |