Commit 94793843 authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

Run git cl format over zlib BUILD file

Run git cl format over BUILD.gn, and add a line space here and there to
increase readability.

Tbr: cavalcanti@chromium.org
Bug: None
Change-Id: Id46ff314c0fe820880fd441858cbaca6d7754b46
Reviewed-on: https://chromium-review.googlesource.com/912209Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536036}
parent 85137b0e
...@@ -242,6 +242,7 @@ static_library("zlib") { ...@@ -242,6 +242,7 @@ static_library("zlib") {
config("minizip_warnings") { config("minizip_warnings") {
visibility = [ ":*" ] visibility = [ ":*" ]
if (is_clang) { if (is_clang) {
# zlib uses `if ((a == b))` for some reason. # zlib uses `if ((a == b))` for some reason.
cflags = [ "-Wno-parentheses-equality" ] cflags = [ "-Wno-parentheses-equality" ]
...@@ -266,6 +267,7 @@ static_library("minizip") { ...@@ -266,6 +267,7 @@ static_library("minizip") {
"contrib/minizip/iowin32.h", "contrib/minizip/iowin32.h",
] ]
} }
if (is_mac || is_ios || is_android || is_nacl) { if (is_mac || is_ios || is_android || is_nacl) {
# Mac, Android and the BSDs don't have fopen64, ftello64, or fseeko64. We # Mac, Android and the BSDs don't have fopen64, ftello64, or fseeko64. We
# use fopen, ftell, and fseek instead on these systems. # use fopen, ftell, and fseek instead on these systems.
...@@ -303,7 +305,7 @@ executable("zlib_bench") { ...@@ -303,7 +305,7 @@ executable("zlib_bench") {
configs += [ "//build/config/compiler:no_chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [ deps = [
"//build/config:exe_and_shlib_deps",
":zlib", ":zlib",
"//build/config:exe_and_shlib_deps",
] ]
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment