[AMDGPU] prevent shrinking udiv/urem if either operand is in (SignedMax,UnsignedMax...
[llvm-project.git] / llvm / utils / gn / build / libs / zlib / BUILD.gn
blobf9064490eae3f4ccc17d3522402c804111046404
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" ]
8   } else {
9     libs = [ "z" ]
10   }
13 group("zlib") {
14   if (llvm_enable_zlib) {
15     assert(host_os != "win" || zlib_path != "",
16            "Please set zlib_path on Windows.")
17     public_configs = [ ":zlib_config" ]
18   }