diff options
author | Alessandro Astone <ales.astone@gmail.com> | 2020-12-04 01:04:01 +0100 |
---|---|---|
committer | Nolen Johnson <johnsonnolen@gmail.com> | 2020-12-15 19:22:12 +0100 |
commit | e14de31ff56e5a8e2257251bfa39c3f301121301 (patch) | |
tree | 375b326b0b8c84c04aae4642b042a336cf95ff7d | |
parent | c2a40faabf6ca648101a6fcbda58ac133d982e71 (diff) |
extract_utils: generate_prop_list: Ignore vdex/odex files too
Change-Id: Ibe77e8b93466a71d4d0c48ca8f4ff2e00c6e40af
(cherry picked from commit ee669788bc86330215f2444b3beb1f3870329c9e)
-rw-r--r-- | extract_utils.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extract_utils.sh b/extract_utils.sh index 7c81023..2cc8983 100644 --- a/extract_utils.sh +++ b/extract_utils.sh @@ -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 |