extract_utils: generate_prop_list: Ignore vdex/odex files too

Change-Id: Ibe77e8b93466a71d4d0c48ca8f4ff2e00c6e40af
(cherry picked from commit ee669788bc86330215f2444b3beb1f3870329c9e)
This commit is contained in:
Alessandro Astone
2020-12-04 01:04:01 +01:00
committed by Nolen Johnson
parent 2855e94574
commit 46b6e3a454

View File

@@ -1818,6 +1818,9 @@ function generate_prop_list_from_image() {
find "$image_dir" -not -type d | sed "s#^$image_dir/##" | while read -r FILE
do
if suffix_match_file ".odex" "$FILE" || suffix_match_file ".vdex" "$FILE" ; then
continue
fi
# Skip VENDOR_SKIP_FILES since it will be re-generated at build time
if array_contains "$FILE" "${VENDOR_SKIP_FILES[@]}"; then
continue