Exclude BUILD files from musl sysroot globs
Don't package the BUILD files into musl sysroots.
Test: build musl sysroot
Change-Id: I260a59a8c0cdd5b4249b657c8435c01fbb56eeb7
diff --git a/libc/Android.bp b/libc/Android.bp
index b7cb59d..14f0688 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -2667,6 +2667,7 @@
" -D $${BIONIC_LIBC_DIR}/b64/include " +
" && " +
"$(location zip2zip) -i $(genDir)/sysroot.zip -o $(genDir)/sysroot-renamed.zip " +
+ " -x **/BUILD " +
" include/**/*:include/ " +
" NOTICE:NOTICE.bionic " +
" && " +