Don't write allowlisted androidx.* libraries to allowed_deps.txt

Bug: 333398044
Flag: EXEMPT refactor
Test: croot && packages/modules/common/build/update-apex-allowed-deps.sh
Merged-In: I350ee64bafcd51f69110d880e0de12ae22558fc9
Change-Id: I350ee64bafcd51f69110d880e0de12ae22558fc9
This commit is contained in:
Alan Viverette
2024-06-17 14:21:49 -04:00
parent ef2388e99f
commit 1e35232951

View File

@@ -46,6 +46,9 @@ var (
Command: "cat $out.rsp | xargs cat" + Command: "cat $out.rsp | xargs cat" +
// Only track non-external dependencies, i.e. those that end up in the binary // Only track non-external dependencies, i.e. those that end up in the binary
" | grep -v '(external)'" + " | grep -v '(external)'" +
// Allowlist androidx deps
" | grep -v '^androidx\\.'" +
" | grep -v '^prebuilt_androidx\\.'" +
// Ignore comments in any of the files // Ignore comments in any of the files
" | grep -v '^#'" + " | grep -v '^#'" +
" | sort -u -f >$out", " | sort -u -f >$out",