extract_utils: Add option to define the certificate for jars

Change-Id: I3fb4ff29b2ce898989f5599b47f47ee7fcfc5e92
This commit is contained in:
Elektroschmock 2016-10-04 21:11:43 +02:00 committed by Kim Le
parent 877f0469af
commit cbc9b90115
1 changed files with 5 additions and 0 deletions

View File

@ -264,6 +264,11 @@ function write_packages() {
printf 'LOCAL_CERTIFICATE := %s\n' "$CERT"
elif [ "$CLASS" = "JAVA_LIBRARIES" ]; then
printf 'LOCAL_SRC_FILES := %s/framework/%s\n' "$SRC" "$FILE"
local CERT=platform
if [ ! -z "$ARGS" ]; then
CERT="$ARGS"
fi
printf 'LOCAL_CERTIFICATE := %s\n' "$CERT"
elif [ "$CLASS" = "ETC" ]; then
printf 'LOCAL_SRC_FILES := %s/etc/%s\n' "$SRC" "$FILE"
elif [ "$CLASS" = "EXECUTABLES" ]; then