Commit 6fbe1773 authored by Thomas Guillem's avatar Thomas Guillem

add ChromeOS build

parent 8cec43a2
...@@ -16,6 +16,7 @@ while [ $# -gt 0 ]; do ...@@ -16,6 +16,7 @@ while [ $# -gt 0 ]; do
echo "Use --release to build in release mode" echo "Use --release to build in release mode"
echo "Use -s to set your keystore file and -p for the password" echo "Use -s to set your keystore file and -p for the password"
echo "Use -t to get an AndroidTv build" echo "Use -t to get an AndroidTv build"
echo "Use -c to get a ChromeOS build"
exit 0 exit 0
;; ;;
a|-a) a|-a)
...@@ -25,6 +26,9 @@ while [ $# -gt 0 ]; do ...@@ -25,6 +26,9 @@ while [ $# -gt 0 ]; do
-t) -t)
ANDROID_TV=1 ANDROID_TV=1
;; ;;
-c)
CHROME_OS=1
;;
-r|release|--release) -r|release|--release)
RELEASE=1 RELEASE=1
;; ;;
...@@ -167,6 +171,8 @@ if [ "$RELEASE" = 1 ]; then ...@@ -167,6 +171,8 @@ if [ "$RELEASE" = 1 ]; then
fi fi
if [ "$ANDROID_TV" = 1 ]; then if [ "$ANDROID_TV" = 1 ]; then
PLATFORM="Tv" PLATFORM="Tv"
elif [ "$CHROME_OS" = 1 ]; then
PLATFORM="Chrome"
fi fi
if [ "$ANDROID_ABI" = "armeabi-v5" ]; then if [ "$ANDROID_ABI" = "armeabi-v5" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment