diff options
author | Nico Weber <thakis@chromium.org> | 2014-08-13 11:12:31 -0700 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2014-08-13 11:12:31 -0700 |
commit | 2fd7b0be4473f4c9877fed2c2ade403c71ded395 (patch) | |
tree | 315a698c5e2b9fa537fa0f678d003fe34bd467d3 /pdfium.gyp | |
parent | d4e406e254b5a60e58ff2fcc12b59bef7e436e74 (diff) | |
download | pdfium-2fd7b0be4473f4c9877fed2c2ade403c71ded395.tar.xz |
Disable exceptions for the pdfium targets, now that pdfium:29 is done.chromium/2127chromium/2126chromium/2124chromium/2123
BUG=pdfium:29
R=scottmg@chromium.org
Review URL: https://codereview.chromium.org/470503004
Diffstat (limited to 'pdfium.gyp')
-rw-r--r-- | pdfium.gyp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pdfium.gyp b/pdfium.gyp index 277c1c74a0..5c5b9ca0b0 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -13,18 +13,7 @@ ['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_', ], |