iOS: Tweak xcodebuild location

BUG=skia:5155
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1879513002

Review URL: https://codereview.chromium.org/1879513002
This commit is contained in:
borenet 2016-04-12 06:21:47 -07:00 committed by Commit bot
parent cbc060a700
commit ac8681b0a1

View File

@ -41,11 +41,16 @@ if [[ -z "$SKIA_OUT" ]]; then
SKIA_OUT="$SKIA_SRC_DIR/out"
fi
# Location of XCode build products.
if [[ -z "$XCODEBUILD" ]]; then
XCODEBUILD="${SKIA_SRC_DIR}/xcodebuild"
fi
# Name of the iOS app.
IOS_APP=iOSShell.ipa
# Location of the compiled iOS code.
IOS_OUT=${SKIA_SRC_DIR}/xcodebuild/${BUILDTYPE}-iphoneos
IOS_OUT=${XCODEBUILD}/${BUILDTYPE}-iphoneos
# Location of the compiled iOS app.
IOS_APP_PATH=${IOS_OUT}/${IOS_APP}