Index: third_party/libexif/BUILD.gn |
diff --git a/third_party/libexif/BUILD.gn b/third_party/libexif/BUILD.gn |
index de9b2ef724ccf26788715000c2fa9461c4a932b4..be8caf6ff16bb37bf43f9bc424d8bb7c2e2ad28b 100644 |
--- a/third_party/libexif/BUILD.gn |
+++ b/third_party/libexif/BUILD.gn |
@@ -4,19 +4,10 @@ |
# Linux should use system libexif |
if (!is_linux || is_chromeos) { |
+ |
# TODO(thestig): Properly support building on Linux. |
config("libexif_config") { |
include_dirs = [ "sources" ] |
- if (is_clang) { |
- cflags = [ |
- "-Wno-enum-conversion", |
- "-Wno-switch", |
- "-Wno-format", |
- |
- # libexif uses fabs(int) to cast to float. |
- "-Wno-absolute-value", |
- ] |
- } |
} |
static_library("libexif") { |
@@ -60,7 +51,9 @@ |
ldflags = [ "/DEF:" + rebase_path("libexif.def") ] |
- cflags = [ "/wd4018" ] # size/unsigned mismatch |
+ cflags = [ |
+ "/wd4018", # size/unsigned mismatch |
+ ] |
# TODO(GYP): Handle /analyze switch, when it will be used in GN. |
} else if (is_linux) { |