diff options
author | Brian Osman <brianosman@google.com> | 2017-11-21 16:06:07 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-22 16:06:05 +0000 |
commit | e1e926a79c9224691941ba2bd207be30f08b0790 (patch) | |
tree | 49222758f8e6c2d676db8e75a7b771e6d9b09a86 /platform_tools/ios | |
parent | fe546d09f8ed630a4069d04d4ac6a6618be5fc70 (diff) |
Remove obsolete iOSShell references from infra scripts
Bug: skia:
Change-Id: I36cb94877d513fc81c211b0e58b5c4be0451ac91
Reviewed-on: https://skia-review.googlesource.com/74601
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'platform_tools/ios')
-rwxr-xr-x | platform_tools/ios/bin/ios_install | 19 | ||||
-rwxr-xr-x | platform_tools/ios/bin/ios_run_skia | 20 | ||||
-rwxr-xr-x | platform_tools/ios/bin/ios_setup.sh | 30 |
3 files changed, 0 insertions, 69 deletions
diff --git a/platform_tools/ios/bin/ios_install b/platform_tools/ios/bin/ios_install deleted file mode 100755 index 9b8391a59e..0000000000 --- a/platform_tools/ios/bin/ios_install +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# -############################################################################### -# Copyright 2015 Google Inc. -# -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. -############################################################################### -# -# Installs the app on the device. -# - -set -e -x - -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source $SCRIPT_DIR/ios_setup.sh - -ios_umount || true -ios_install_app diff --git a/platform_tools/ios/bin/ios_run_skia b/platform_tools/ios/bin/ios_run_skia deleted file mode 100755 index 2b7861b08e..0000000000 --- a/platform_tools/ios/bin/ios_run_skia +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -############################################################################### -# Copyright 2015 Google Inc. -# -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. -############################################################################### -# -# ios_run_skia: starts the correct skia program on the device, prints the -# output, and kills the app if interrupted. - -set -x -e - -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source $SCRIPT_DIR/ios_setup.sh - -# Run the application. -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 0988722043..265cadfedf 100755 --- a/platform_tools/ios/bin/ios_setup.sh +++ b/platform_tools/ios/bin/ios_setup.sh @@ -17,9 +17,6 @@ fi # relative to the mount point. IOS_DOCS_DIR="Documents" -# Temporary location to assemble the app into an .ipa package. -IOS_PCKG_DIR="/tmp/ios_pckg" - # Directory with the Skia source. SKIA_SRC_DIR=$(cd "${SCRIPT_DIR}/../../.."; pwd) @@ -46,33 +43,6 @@ 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=${XCODEBUILD}/${BUILDTYPE}-iphoneos - -# Location of the compiled iOS app. -IOS_APP_PATH=${IOS_OUT}/${IOS_APP} - -ios_uninstall_app() { - ideviceinstaller -U "$IOS_BUNDLE_ID" -} - -ios_package_app() { - rm -rf $IOS_PCKG_DIR - mkdir -p $IOS_PCKG_DIR/Payload # this directory must be named '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} - popd -} - -ios_install_app() { - ideviceinstaller -i ${IOS_APP_PATH} -} - ios_rm() { local TARGET="$IOS_MOUNT_POINT/$IOS_DOCS_DIR/$1" |