Exclude BUILD files from musl sysroot globs

Don't package the BUILD files into musl sysroots.

Test: build musl sysroot
Change-Id: I260a59a8c0cdd5b4249b657c8435c01fbb56eeb7
This commit is contained in:
Colin Cross 2022-08-11 12:22:26 -07:00
parent 21a1ac3f9b
commit 1c0a7a09ff

View file

@ -2667,6 +2667,7 @@ cc_genrule {
" -D $${BIONIC_LIBC_DIR}/b64/include " +
" && " +
"$(location zip2zip) -i $(genDir)/sysroot.zip -o $(genDir)/sysroot-renamed.zip " +
" -x **/BUILD " +
" include/**/*:include/ " +
" NOTICE:NOTICE.bionic " +
" && " +