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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 ############################################################################### 2 ###############################################################################
3 # Copyright 2015 Google Inc. 3 # Copyright 2015 Google Inc.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 ############################################################################### 7 ###############################################################################
8 # 8 #
9 # ios_setup.sh: Sets environment variables used by other iOS scripts. 9 # ios_setup.sh: Sets environment variables used by other iOS scripts.
10 10
(...skipping 23 matching lines...) Expand all
34 # BUILDTYPE is 'Debug' by default. 34 # BUILDTYPE is 'Debug' by default.
35 if [[ -z "$BUILDTYPE" ]]; then 35 if [[ -z "$BUILDTYPE" ]]; then
36 BUILDTYPE="Debug" 36 BUILDTYPE="Debug"
37 fi 37 fi
38 38
39 # Out dir is $SKIA_SRC_DIR/out by default. 39 # Out dir is $SKIA_SRC_DIR/out by default.
40 if [[ -z "$SKIA_OUT" ]]; then 40 if [[ -z "$SKIA_OUT" ]]; then
41 SKIA_OUT="$SKIA_SRC_DIR/out" 41 SKIA_OUT="$SKIA_SRC_DIR/out"
42 fi 42 fi
43 43
44 # Location of XCode build products.
45 if [[ -z "$XCODEBUILD" ]]; then
46 XCODEBUILD="${SKIA_SRC_DIR}/xcodebuild"
47 fi
48
44 # Name of the iOS app. 49 # Name of the iOS app.
45 IOS_APP=iOSShell.ipa 50 IOS_APP=iOSShell.ipa
46 51
47 # Location of the compiled iOS code. 52 # Location of the compiled iOS code.
48 IOS_OUT=${SKIA_SRC_DIR}/xcodebuild/${BUILDTYPE}-iphoneos 53 IOS_OUT=${XCODEBUILD}/${BUILDTYPE}-iphoneos
49 54
50 # Location of the compiled iOS app. 55 # Location of the compiled iOS app.
51 IOS_APP_PATH=${IOS_OUT}/${IOS_APP} 56 IOS_APP_PATH=${IOS_OUT}/${IOS_APP}
52 57
53 ios_uninstall_app() { 58 ios_uninstall_app() {
54 ideviceinstaller -U "$IOS_BUNDLE_ID" 59 ideviceinstaller -U "$IOS_BUNDLE_ID"
55 } 60 }
56 61
57 ios_package_app() { 62 ios_package_app() {
58 rm -rf $IOS_PCKG_DIR 63 rm -rf $IOS_PCKG_DIR
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 # adb_push_if_needed $HOST_SRC $ANDROID_DST 198 # adb_push_if_needed $HOST_SRC $ANDROID_DST
194 # else 199 # else
195 # echo -n "$ANDROID_DST " 200 # echo -n "$ANDROID_DST "
196 # $ADB $DEVICE_SERIAL shell mkdir -p "$(dirname "$ANDROID_DST")" 201 # $ADB $DEVICE_SERIAL shell mkdir -p "$(dirname "$ANDROID_DST")"
197 # $ADB $DEVICE_SERIAL push $HOST_SRC $ANDROID_DST 202 # $ADB $DEVICE_SERIAL push $HOST_SRC $ANDROID_DST
198 # fi 203 # fi
199 # fi 204 # fi
200 # } 205 # }
201 206
202 # setup_device "${DEVICE_ID}" 207 # setup_device "${DEVICE_ID}"
OLDNEW
« 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