|
@@ -13,6 +13,7 @@ VERBOSE=no
|
|
|
CONFIGURATION="Release"
|
|
|
NONETWORK=no
|
|
|
SKIPLIBVLCCOMPILATION=no
|
|
|
+SCARY=yes
|
|
|
|
|
|
TESTEDHASH=246889732
|
|
|
|
|
@@ -29,6 +30,7 @@ OPTIONS
|
|
|
-d Enable Debug
|
|
|
-n Skip script steps requiring network interaction
|
|
|
-l Skip libvlc compilation
|
|
|
+ -w Build a limited stack of non-scary libraries only
|
|
|
EOF
|
|
|
}
|
|
|
|
|
@@ -65,7 +67,7 @@ buildxcodeproj()
|
|
|
IPHONEOS_DEPLOYMENT_TARGET=${SDK_MIN} > ${out}
|
|
|
}
|
|
|
|
|
|
-while getopts "hvsfdnlk:" OPTION
|
|
|
+while getopts "hvwsfdnlk:" OPTION
|
|
|
do
|
|
|
case $OPTION in
|
|
|
h)
|
|
@@ -87,6 +89,8 @@ do
|
|
|
;;
|
|
|
d) CONFIGURATION="Debug"
|
|
|
;;
|
|
|
+ w) SCARY="no"
|
|
|
+ ;;
|
|
|
n)
|
|
|
NONETWORK=yes
|
|
|
;;
|
|
@@ -170,6 +174,9 @@ buildMobileKit() {
|
|
|
if [ "$CONFIGURATION" = "Debug" ]; then
|
|
|
args="${args} -d"
|
|
|
fi
|
|
|
+ if [ "$SCARY" = "no" ]; then
|
|
|
+ args="${args} -w"
|
|
|
+ fi
|
|
|
if [ "$PLATFORM" = "iphonesimulator" ]; then
|
|
|
args="${args} -s"
|
|
|
./build.sh -a i386 ${args} -k "${SDK}" && ./build.sh -a x86_64 ${args} -k "${SDK}"
|