extract-utils: Fix for sh_binary
* srcs, prefer isn't available in sh_binary Change-Id: I5f94432748aba4a417520ba850b7a9c4d7dddbe7 Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
This commit is contained in:
committed by
Jan Altensen (Stricted)
parent
23e4b57ec0
commit
3d1e865abe
@@ -527,12 +527,15 @@ function write_blueprint_packages() {
|
||||
fi
|
||||
printf '\tname: "%s",\n' "$PKGNAME"
|
||||
printf '\towner: "%s",\n' "$VENDOR"
|
||||
printf '\tsrcs: ["%s/bin/%s"],\n' "$SRC" "$FILE"
|
||||
if [ "$EXTENSION" != "sh" ]; then
|
||||
printf '\tsrcs: ["%s/bin/%s"],\n' "$SRC" "$FILE"
|
||||
printf '\tcheck_elf_files: false,\n'
|
||||
printf '\tstrip: {\n'
|
||||
printf '\t\tnone: true,\n'
|
||||
printf '\t},\n'
|
||||
printf '\tprefer: true,\n'
|
||||
else
|
||||
printf '\tsrc: "%s/bin/%s",\n' "$SRC" "$FILE"
|
||||
fi
|
||||
unset EXTENSION
|
||||
else
|
||||
@@ -553,7 +556,7 @@ function write_blueprint_packages() {
|
||||
printf '\tsub_dir: "%s",\n' "$DIRNAME"
|
||||
fi
|
||||
fi
|
||||
if [ "$CLASS" = "SHARED_LIBRARIES" ] || [ "$CLASS" = "EXECUTABLES" ] ; then
|
||||
if [ "$CLASS" = "SHARED_LIBRARIES" ]; then
|
||||
printf '\tprefer: true,\n'
|
||||
fi
|
||||
if [ "$EXTRA" = "priv-app" ]; then
|
||||
|
||||
Reference in New Issue
Block a user