extract_utils: Fix system_ext framework blueprint generation.

Change-Id: I20e44be6ea48b9bd5b05055d3cf465f63c908463
This commit is contained in:
Alexander Koskovich
2020-09-16 17:58:53 -07:00
committed by Bruno Martins
parent 560ac4a965
commit 411066c311

View File

@@ -826,7 +826,7 @@ function write_product_packages() {
write_blueprint_packages "JAVA_LIBRARIES" "product" "" "P_FRAMEWORK" >> "$ANDROIDBP"
fi
local SE_FRAMEWORK=( $(prefix_match "system_ext/framework/") )
if [ "${#P_FRAMEWORK[@]}" -gt "0" ]; then
if [ "${#SE_FRAMEWORK[@]}" -gt "0" ]; then
write_blueprint_packages "JAVA_LIBRARIES" "system_ext" "" "SE_FRAMEWORK" >> "$ANDROIDBP"
fi
local O_FRAMEWORK=( $(prefix_match "odm/framework/") )