extract_utils: Do not change app SRC if there are arguments
Do not prepend app or priv-app to the src when a path is explicitly given as an argument. This fixes the SRC path in such conditions. Change-Id: I43370f17fe224df323fcfa9b0d5eae4ee2996524
This commit is contained in:
parent
fb1f75f43f
commit
8a1906ce94
@ -249,11 +249,13 @@ function write_packages() {
|
|||||||
printf 'LOCAL_MULTILIB := %s\n' "$EXTRA"
|
printf 'LOCAL_MULTILIB := %s\n' "$EXTRA"
|
||||||
fi
|
fi
|
||||||
elif [ "$CLASS" = "APPS" ]; then
|
elif [ "$CLASS" = "APPS" ]; then
|
||||||
|
if [ -z "$ARGS" ]; then
|
||||||
if [ "$EXTRA" = "priv-app" ]; then
|
if [ "$EXTRA" = "priv-app" ]; then
|
||||||
SRC="$SRC/priv-app"
|
SRC="$SRC/priv-app"
|
||||||
else
|
else
|
||||||
SRC="$SRC/app"
|
SRC="$SRC/app"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
printf 'LOCAL_SRC_FILES := %s/%s\n' "$SRC" "$FILE"
|
printf 'LOCAL_SRC_FILES := %s/%s\n' "$SRC" "$FILE"
|
||||||
local CERT=platform
|
local CERT=platform
|
||||||
if [ ! -z "$ARGS" ]; then
|
if [ ! -z "$ARGS" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user