diff options
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r-- | third_party/BUILD.gn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index e0c9bf116e..1176e92875 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -328,11 +328,21 @@ source_set("fx_lpng") { } if (pdf_enable_xfa) { + config("fx_tiff_warnings") { + visibility = [ ":*" ] + if (is_win) { + cflags = [ + "/wd4005", # Macro redefinition for 'WIN32_LEAN_AND_MEAN'. + ] + } + } source_set("fx_tiff") { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code", "../:pdfium_config", + + ":fx_tiff_warnings", ] deps = [ "//third_party:jpeg", |