[bazel] Add minizip and zfstream targets

Add Bazel cc_library targets matching the `minizip` and `zfstream`
targets in BUILD.gn, so that Bazel consumers can depend on
@zlib//:minizip (used by //src/developer/forensics/utils:archive) and
@zlib//:zfstream once they are migrated from GN.

Sources, include paths and warning suppressions mirror BUILD.gn.
crypt.h is listed in srcs because it has no include guard and is only
included by zip.c and unzip.c.

Test: fx bazel build --config=host @zlib//:minizip @zlib//:zfstream
Test: fx bazel build --config=fuchsia_platform @zlib//:minizip \
      @zlib//:zfstream
Change-Id: Ia2a5cfd922e9174ef526777ad695d2f49af3dfad
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/zlib/+/1960952
Reviewed-by: John Wittrock <wittrock@google.com>
Lint: android-build-ayeaye@system.gserviceaccount.com <android-build-ayeaye@system.gserviceaccount.com>
1 file changed