--- third_party/BUILD.orig 2019-07-11 08:41:05.213918000 +0000 +++ third_party/BUILD 2019-07-11 08:41:40.502181000 +0000 @@ -536,7 +536,7 @@ name = "filter_netty_dynamic_libs", srcs = ["netty_tcnative/netty-tcnative-boringssl-static-2.0.24.Final.jar"], outs = ["netty_tcnative/netty-tcnative-filtered.jar"], - cmd = "cp $< $@ && zip -qd $@ " + UNNECESSARY_DYNAMIC_LIBRARIES, + cmd = "cp $< $@ && (zip -qd $@ " + UNNECESSARY_DYNAMIC_LIBRARIES + " || : )", ) java_import(