1 import("//llvm/utils/gn/build/libs/zlib/enable.gni")
3 config("zlib_config") {
4 visibility = [ ":zlib" ]
5 if (host_os == "win" && zlib_path != "") {
6 include_dirs = [ zlib_path ]
7 libs = [ "$zlib_path/zlib.lib" ]
14 if (llvm_enable_zlib) {
15 assert(host_os != "win" || zlib_path != "",
16 "Please set zlib_path on Windows.")
17 public_configs = [ ":zlib_config" ]