summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vtsyrklevich@chromium.org>2018-04-02 22:26:07 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-02 22:26:07 +0000
commit75304f915c5c095e916d4eca0152d4ccbb2a9147 (patch)
treeb6094e6f2c5f2800416555c941e762318bcfe7f0
parent3998067026e9087d73f56395266426f3ad7aa660 (diff)
downloadpdfium-75304f915c5c095e916d4eca0152d4ccbb2a9147.tar.xz
Enable cfi-icall type generalization for libopenjpeg20
BUG=828069 Change-Id: I3bbcb696fcf7e587f1fcfd00454e47ec42a67713 Reviewed-on: https://pdfium-review.googlesource.com/29570 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
-rw-r--r--third_party/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index fc6a7e50c8..4714b1deda 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -372,6 +372,7 @@ static_library("fx_libopenjpeg") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
+ "//build/config/sanitizers:cfi_icall_generalize_pointers",
":pdfium_third_party_config",
# Must be after no_chromium_code for warning flags to be ordered correctly.