aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools
diff options
context:
space:
mode:
authorGravatar stephana <stephana@google.com>2015-12-02 09:45:30 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-02 09:45:30 -0800
commitc60b310af7635204b8186c616ffdd190d8bf5fe1 (patch)
tree549a12b0fc2e756e89274056c9d45a6c6796fa30 /platform_tools
parente45c81c8f3bb62e45f2ff3b8772b4b23f1ddc6ca (diff)
Modify iOSShell-gyp to generate unique bundle identifier
Diffstat (limited to 'platform_tools')
-rwxr-xr-xplatform_tools/ios/bin/ios_setup.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/platform_tools/ios/bin/ios_setup.sh b/platform_tools/ios/bin/ios_setup.sh
index 53a33c67bb..dbfed7c26f 100755
--- a/platform_tools/ios/bin/ios_setup.sh
+++ b/platform_tools/ios/bin/ios_setup.sh
@@ -18,9 +18,6 @@ IOS_DOCS_DIR="Documents"
# Temporary location to assemble the app into an .ipa package.
IOS_PCKG_DIR="/tmp/ios_pckg"
-# Bundle id of the app that runs the tests.
-TEST_RUNNER_BUNDLE_ID="com.google.iOSShell"
-
# Directory with the Skia source.
SKIA_SRC_DIR=$(cd "${SCRIPT_DIR}/../../.."; pwd)
@@ -30,7 +27,7 @@ PROVISIONING_PROFILE=""
# Code Signing identity - this needs to be set up on the local machine.
CODE_SIGN_IDENTITY="iPhone Developer"
-IOS_BUNDLE_ID="com.google.iOSShell"
+IOS_BUNDLE_ID="com.google.iOSShell.`hostname | md5`"
IOS_RESULTS_DIR="results"
@@ -94,7 +91,7 @@ ios_mount() {
if [[ ! -d "$IOS_MOUNT_POINT" ]]; then
mkdir -p $IOS_MOUNT_POINT
fi
- ifuse --container $TEST_RUNNER_BUNDLE_ID $IOS_MOUNT_POINT
+ ifuse --container $IOS_BUNDLE_ID $IOS_MOUNT_POINT
sleep 1
>&2 echo "Successfully mounted device."
}