Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
b7841fc6
Commit
b7841fc6
authored
Feb 08, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve compile.sh --help information
parent
4e47c846
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
compile.sh
compile.sh
+14
-9
No files found.
compile.sh
View file @
b7841fc6
...
...
@@ -5,19 +5,18 @@ set -e
# Setup all that stuff correctly.
# Get the latest Android SDK Platform or modify numbers in configure.sh and libvlc/default.properties.
if
[
-z
"
$ANDROID_NDK
"
-o
-z
"
$ANDROID_SDK
"
]
;
then
echo
"You must define ANDROID_NDK, ANDROID_SDK before starting."
echo
"They must point to your NDK and SDK directories.
\n
"
exit
1
fi
while
[
$#
-gt
0
]
;
do
case
$1
in
help
|
--help
)
echo
"Use -a to set the ARCH"
echo
"Use -a to set the ARCH:"
echo
" ARM: armeabi-v7a, armeabi, armeabi-v5, armeabi-nofpu"
echo
" ARM64: arm64-v8a"
echo
" X86: x86, x86_64"
echo
" MIPS: mips, mips64."
echo
"Use --release to build in release mode"
echo
"Use -s to set your keystore file"
exit
1
echo
"Use -s to set your keystore file and -p for the password"
echo
"Use -t to get an AndroidTv build"
exit
0
;;
a|-a
)
ANDROID_ABI
=
$2
...
...
@@ -44,6 +43,12 @@ while [ $# -gt 0 ]; do
shift
done
if
[
-z
"
$ANDROID_NDK
"
-o
-z
"
$ANDROID_SDK
"
]
;
then
echo
"You must define ANDROID_NDK, ANDROID_SDK before starting."
echo
"They must point to your NDK and SDK directories.
\n
"
exit
1
fi
if
[
-z
"
$ANDROID_ABI
"
]
;
then
echo
"*** No ANDROID_ABI defined architecture: using ARMv7"
ANDROID_ABI
=
"armeabi-v7a"
...
...
Write
Preview
Markdown
is supported
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