Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / libpng / BUILD.gn
index 4ec38d1..f920c0b 100644 (file)
@@ -56,6 +56,10 @@ static_library("libpng") {
   configs -= [ "//build/config/compiler:chromium_code" ]
   configs += [ "//build/config/compiler:no_chromium_code" ]
 
+  if (is_win) {
+    cflags = [ "/wd4267" ]  # TODO(jschuh): http://crbug.com/167187
+  }
+
   forward_dependent_configs_from = [ "//third_party/zlib" ]
 
   direct_dependent_configs = [ ":libpng_config" ]