diff options
author | borenet <borenet@chromium.org> | 2016-04-06 11:38:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-06 11:38:55 -0700 |
commit | b0070197ff10500a9cdcc6bb0984c670de58f523 (patch) | |
tree | c278e1758b917c90b3050e5f8784e25e76c27459 /platform_tools/ios | |
parent | 3ddf967ffeb311b3ead780aaad2368cfdf064562 (diff) |
More iOS swarming bot fixes
- Copy the packaged app into xcodebuild/...
- Isolate ios/bin directory
BUG=skia:5155
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1860333002
Review URL: https://codereview.chromium.org/1860333002
Diffstat (limited to 'platform_tools/ios')
-rwxr-xr-x | platform_tools/ios/bin/ios_run_skia | 2 | ||||
-rwxr-xr-x | platform_tools/ios/bin/ios_setup.sh | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/platform_tools/ios/bin/ios_run_skia b/platform_tools/ios/bin/ios_run_skia index 248593a66e..2b7861b08e 100755 --- a/platform_tools/ios/bin/ios_run_skia +++ b/platform_tools/ios/bin/ios_run_skia @@ -15,6 +15,6 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source $SCRIPT_DIR/ios_setup.sh # Run the application. -IOS_DEPLOY_ARGS="${SKIA_SRC_DIR}/xcodebuild/${BUILDTYPE}-iphoneos/iOSShell.app --args \"${*}\"" +IOS_DEPLOY_ARGS="${IOS_OUT}/iOSShell.app --args \"${*}\"" CMD="ios-deploy -I -m -b ${IOS_DEPLOY_ARGS}" eval $CMD diff --git a/platform_tools/ios/bin/ios_setup.sh b/platform_tools/ios/bin/ios_setup.sh index 49a2228192..7af4dec319 100755 --- a/platform_tools/ios/bin/ios_setup.sh +++ b/platform_tools/ios/bin/ios_setup.sh @@ -44,9 +44,11 @@ fi # Name of the iOS app. IOS_APP=iOSShell.ipa -# Location of the compiled iOS app. -IOS_APP_PATH=${SKIA_OUT}/${BUILDTYPE}/${IOS_APP} +# Location of the compiled iOS code. +IOS_OUT=${SKIA_SRC_DIR}/xcodebuild/${BUILDTYPE}-iphoneos +# Location of the compiled iOS app. +IOS_APP_PATH=${IOS_OUT}/${IOS_APP} ios_uninstall_app() { ideviceinstaller -U "$IOS_BUNDLE_ID" @@ -55,7 +57,7 @@ ios_uninstall_app() { ios_package_app() { rm -rf $IOS_PCKG_DIR mkdir -p $IOS_PCKG_DIR/Payload # this directory must be named 'Payload' - cp -rf "${SKIA_SRC_DIR}/xcodebuild/${BUILDTYPE}-iphoneos/iOSShell.app" "${IOS_PCKG_DIR}/Payload/" + cp -rf "${IOS_OUT}/iOSShell.app" "${IOS_PCKG_DIR}/Payload/" pushd $IOS_PCKG_DIR zip -r ${IOS_APP} Payload cp ${IOS_APP} ${IOS_APP_PATH} |