Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1789)

Unified Diff: platform_tools/ios/bin/ios_setup.sh

Issue 1879513002: iOS: Tweak xcodebuild location (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Use environment variable Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/ios/bin/ios_setup.sh
diff --git a/platform_tools/ios/bin/ios_setup.sh b/platform_tools/ios/bin/ios_setup.sh
index 7af4dec319f4d5699385f2dd8259a109f2b07ea7..a991c53c31eba99253bea5ba13f99b3b5540098f 100755
--- a/platform_tools/ios/bin/ios_setup.sh
+++ b/platform_tools/ios/bin/ios_setup.sh
@@ -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}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698