Disable exceptions for the pdfium targets, now that pdfium:29 is done.
authorNico Weber <thakis@chromium.org>
Wed, 13 Aug 2014 18:12:31 +0000 (11:12 -0700)
committerNico Weber <thakis@chromium.org>
Wed, 13 Aug 2014 18:12:31 +0000 (11:12 -0700)
BUG=pdfium:29
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/470503004

pdfium.gyp

index 277c1c7..5c5b9ca 100644 (file)
       ['pdf_use_skia==1', {
         'defines': ['_SKIA_SUPPORT_'],
       }],
-      # pdfium uses exceptions. Override the default exceptions-off setting
-      # from chromium.
-      # TODO: Instead, change pdfium to not use exceptions, and remove this.
-      ['OS=="mac"', {
-        'xcode_settings': { 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', },
-      }],
-      ['OS=="win"', {
-        'msvs_settings': { 'VCCLCompilerTool': { 'ExceptionHandling': '1', }, },
-        'defines!': [ '_HAS_EXCEPTIONS=0', ],
-      }],
       ['OS=="linux"', {
-        'cflags!': [ '-fno-exceptions', ],
         'conditions': [
           ['target_arch=="x64"', {
             'defines' : [ '_FX_CPU_=_FX_X64_', ],