summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2014-09-18 09:28:58 -0700
committerScott Graham <scottmg@chromium.org>2014-09-18 09:28:58 -0700
commit91350103de8aed4a47dabe470673c4681be90aa0 (patch)
tree6fdc68a16ceb1999b15f81c42f233b61c5558a08 /BUILD.gn
parent69dcf148b3755c11d5da47fbee767aa920ee2f58 (diff)
downloadpdfium-91350103de8aed4a47dabe470673c4681be90aa0.tar.xz
gn: don't remove -fno-exceptions to match gyp
Not required since: https://code.google.com/p/pdfium/issues/detail?id=28 R=jam@chromium.org BUG=chromium:335824 Review URL: https://codereview.chromium.org/567393004
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn39
1 files changed, 0 insertions, 39 deletions
diff --git a/BUILD.gn b/BUILD.gn
index c4c802eefd..c8703e4ba7 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -85,9 +85,6 @@ static_library("pdfium") {
libs = []
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
deps = [
@@ -138,9 +135,6 @@ static_library("fdrm") {
"core/src/fdrm/crypto/fx_crypt_sha.cpp",
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
}
@@ -170,9 +164,6 @@ static_library("fpdfdoc") {
"core/src/fpdfdoc/tagged_int.h",
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
}
@@ -297,9 +288,6 @@ static_library("fpdfapi") {
"core/src/fpdfapi/fpdf_render/render_int.h",
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
}
@@ -315,9 +303,6 @@ static_library("fpdftext") {
"core/src/fpdftext/unicodenormalizationdata.cpp",
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
}
@@ -484,9 +469,6 @@ static_library("fxcodec") {
"core/src/fxcodec/libjpeg/transupp.h",
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
if (is_posix) {
# core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
@@ -538,9 +520,6 @@ static_library("fxcrt") {
"core/src/fxcrt/xml_int.h",
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
}
@@ -646,9 +625,6 @@ static_library("fxge") {
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
if (pdf_use_skia) {
@@ -699,9 +675,6 @@ static_library("fxedit") {
"fpdfsdk/src/fxedit/fxet_pageobjs.cpp",
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
}
@@ -745,9 +718,6 @@ static_library("pdfwindow") {
"fpdfsdk/src/pdfwindow/PWL_Wnd.cpp",
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
}
@@ -798,9 +768,6 @@ static_library("javascript") {
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
include_dirs = [
"//v8",
@@ -820,9 +787,6 @@ static_library("jsapi") {
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
include_dirs = [
"//v8",
@@ -861,8 +825,5 @@ static_library("formfiller") {
"fpdfsdk/src/formfiller/FFL_Utils.cpp",
]
configs -= [ "//build/config/compiler:chromium_code" ]
- if (is_posix) {
- configs -= [ "//build/config/gcc:no_exceptions" ]
- }
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
}