Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jenny Ryan
ouinet
Commits
44794e30
Commit
44794e30
authored
Nov 30, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Remove obsolete, unreachable code from Android build script.
parent
0bd405d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/build-android.sh
View file @
44794e30
...
...
@@ -75,38 +75,6 @@ echo "NDK_DIR: "$NDK_DIR
echo
"SDK_DIR: "
$SDK_DIR
echo
"PLATFORM: "
$PLATFORM
######################################################################
# This variable shall contain paths to generated libraries which
# must all be included in the final Android package.
OUT_LIBS
=()
function
add_library
{
local
libs
=(
"
$@
"
)
lib
for
lib
in
"
${
libs
[@]
}
"
;
do
if
[
!
-f
"
$lib
"
]
;
then
echo
"Cannot add library
\"
$lib
\"
: File doesn't exist"
exit
1
fi
OUT_LIBS+
=(
"
$lib
"
)
done
}
######################################################################
# This variable shall contain paths to generated binaries which
# must all be included in the final Android package.
OUT_BINARIES
=()
function
add_binary
{
local
binaries
=(
"
$@
"
)
binaries
for
binary
in
"
${
binaries
[@]
}
"
;
do
if
[
!
-f
"
$binary
"
]
;
then
echo
"Cannot add binary
\"
$binary
\"
: File doesn't exist"
exit
1
fi
OUT_BINARIES+
=(
"
$binary
"
)
done
}
######################################################################
MODES
=
ALLOWED_MODES
=
"bootstrap build emu"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment