OSDN Git Service

[gn build] Add a flag zlib_path to provide the path to zlib on Windows.
authorSébastien Marchand <sebmarchand@chromium.org>
Tue, 19 May 2020 19:58:52 +0000 (15:58 -0400)
committerNico Weber <thakis@chromium.org>
Tue, 19 May 2020 20:00:54 +0000 (16:00 -0400)
commitf8e833a50183ce2048e3cf5929afa672caea0df5
tree2b7e34fe997ef32075694d324166aff4f31b5a08
parent2e6e27583ce1eebe6e2e184216fba91262bef64d
[gn build] Add a flag zlib_path to provide the path to zlib on Windows.

Also, automatically set llvm_enable_zlib to true when zlib_path is set.

Differential Revision: https://reviews.llvm.org/D80042
llvm/utils/gn/build/libs/zlib/BUILD.gn
llvm/utils/gn/build/libs/zlib/enable.gni