extract_utils: generate_prop_list: Ignore vdex/odex files too
Change-Id: Ibe77e8b93466a71d4d0c48ca8f4ff2e00c6e40af
(cherry picked from commit ee669788bc86330215f2444b3beb1f3870329c9e)
diff --git a/build/tools/extract_utils.sh b/build/tools/extract_utils.sh
index 484167b..fc5fca9 100755
--- a/build/tools/extract_utils.sh
+++ b/build/tools/extract_utils.sh
@@ -2485,6 +2485,9 @@
if [[ "$component" == "carriersettings" ]] && ! prefix_match_file "etc/CarrierSettings" "$FILE" ; then
continue
fi
+ 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