Exclude internal dependencies ASAN might add.
This required extending the superfluous files check to handle glob patterns.
This also corrects a bug in check_no_superfluous_files that caused it to not
check directories correctly for the host apex (due to trailing '/' in the
call to HostApexProvider.read_dir), so a few missing entries are added
Test: art/build/apex/runtests.sh (with and without SANITIZE_TARGET/SANITIZE_HOST).
1 file changed