Chromium Code Reviews| Index: third_party/BUILD.gn |
| diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn |
| index 1176e9287534b525ab73b0a7995f08ee5c1a7b96..b4e79eb45e17d1688d096170416ca25e4ce6a535 100644 |
| --- a/third_party/BUILD.gn |
| +++ b/third_party/BUILD.gn |
| @@ -328,25 +328,20 @@ 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", |
| ] |
| + if (is_win) { |
|
Lei Zhang
2016/05/09 22:44:34
Move this up to above deps? https://chromium.googl
Wei Li
2016/05/09 23:52:49
Done.
|
| + # Need to undefine the macro since it is redefined in |
| + # tif_ojpeg.c and tif_jpeg.c. |
| + configs -= [ "//build/config/win:lean_and_mean" ] |
| + } |
| sources = [ |
| "libtiff/tif_aux.c", |
| "libtiff/tif_close.c", |