diff --git a/tools/finalize-sdk-rel.sh b/tools/finalize-vintf-resources.sh similarity index 55% rename from tools/finalize-sdk-rel.sh rename to tools/finalize-vintf-resources.sh index 80c6fa8b9..68ce0e506 100755 --- a/tools/finalize-sdk-rel.sh +++ b/tools/finalize-vintf-resources.sh @@ -22,33 +22,35 @@ fi top=$1 ver=$2 -mkdir -p "$top/system/sepolicy/prebuilts/api/${ver}.0/" -cp -r "$top/system/sepolicy/public/" "$top/system/sepolicy/prebuilts/api/${ver}.0/" -cp -r "$top/system/sepolicy/private/" "$top/system/sepolicy/prebuilts/api/${ver}.0/" +mkdir -p "$top/system/sepolicy/prebuilts/api/${ver}/" +cp -r "$top/system/sepolicy/public/" "$top/system/sepolicy/prebuilts/api/${ver}/" +cp -r "$top/system/sepolicy/private/" "$top/system/sepolicy/prebuilts/api/${ver}/" -cat > "$top/system/sepolicy/prebuilts/api/${ver}.0/Android.bp" < "$top/system/sepolicy/prebuilts/api/${ver}/Android.bp" <