chore(zlib.BUILD): use @platforms instead of @bazel_tools (#13326)
Closes https://github.com/protocolbuffers/protobuf/issues/13250
Closes #13326
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13326 from 4kangjc:main 205b10a771
PiperOrigin-RevId: 548787567
pull/13335/head
parent
7e9d0c1630
commit
7276da46ce
|
@ -58,7 +58,7 @@ cc_library(
|
|||
] + _ZLIB_HEADERS,
|
||||
hdrs = _ZLIB_PREFIXED_HEADERS,
|
||||
copts = select({
|
||||
"@bazel_tools//src/conditions:windows": [],
|
||||
"@platforms//os:windows": [],
|
||||
"//conditions:default": [
|
||||
"-Wno-deprecated-non-prototype",
|
||||
"-Wno-unused-variable",
|
||||
|
|
Loading…
Reference in New Issue