| OLD | NEW |
| 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 |
| 11 # File system location where we mount the ios devices. | 11 # File system location where we mount the ios devices. |
| 12 IOS_MOUNT_POINT="/tmp/mnt_iosdevice" | 12 IOS_MOUNT_POINT="/tmp/mnt_iosdevice" |
| 13 | 13 |
| 14 # Location on the ios device where all data are stored. This is | 14 # Location on the ios device where all data are stored. This is |
| 15 # relative to the mount point. | 15 # relative to the mount point. |
| 16 IOS_DOCS_DIR="Documents" | 16 IOS_DOCS_DIR="Documents" |
| 17 | 17 |
| 18 # Temporary location to assemble the app into an .ipa package. | 18 # Temporary location to assemble the app into an .ipa package. |
| 19 IOS_PCKG_DIR="/tmp/ios_pckg" | 19 IOS_PCKG_DIR="/tmp/ios_pckg" |
| 20 | 20 |
| 21 # Bundle id of the app that runs the tests. | 21 # Bundle id of the app that runs the tests. |
| 22 TEST_RUNNER_BUNDLE_ID="com.google.iOSShell" | 22 TEST_RUNNER_BUNDLE_ID="com.google.iOSShell" |
| 23 | 23 |
| 24 # Directory with the Skia source. | 24 # Directory with the Skia source. |
| 25 SKIA_SRC_DIR=$(cd "${SCRIPT_DIR}/../../.."; pwd) | 25 SKIA_SRC_DIR=$(cd "${SCRIPT_DIR}/../../.."; pwd) |
| 26 | 26 |
| 27 # Provisioning profile - this needs to be set up on the local machine. | 27 # Provisioning profile - this needs to be set up on the local machine. |
| 28 PROVISIONING_PROFILE="9e88090d-abed-4e89-b106-3eff3512d31f" | 28 PROVISIONING_PROFILE="" |
| 29 | 29 |
| 30 # Code Signing identity - this needs to be set up on the local machine. | 30 # Code Signing identity - this needs to be set up on the local machine. |
| 31 CODE_SIGN_IDENTITY="iPhone Developer: Google Development (3F4Y5873JF)" | 31 CODE_SIGN_IDENTITY="iPhone Developer" |
| 32 | 32 |
| 33 IOS_BUNDLE_ID="com.google.iOSShell" | 33 IOS_BUNDLE_ID="com.google.iOSShell" |
| 34 | 34 |
| 35 IOS_RESULTS_DIR="results" | 35 IOS_RESULTS_DIR="results" |
| 36 | 36 |
| 37 # BUILDTYPE is 'Debug' by default. | 37 # BUILDTYPE is 'Debug' by default. |
| 38 if [[ -z "$BUILDTYPE" ]]; then | 38 if [[ -z "$BUILDTYPE" ]]; then |
| 39 BUILDTYPE="Debug" | 39 BUILDTYPE="Debug" |
| 40 fi | 40 fi |
| 41 | 41 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 # adb_push_if_needed $HOST_SRC $ANDROID_DST | 184 # adb_push_if_needed $HOST_SRC $ANDROID_DST |
| 185 # else | 185 # else |
| 186 # echo -n "$ANDROID_DST " | 186 # echo -n "$ANDROID_DST " |
| 187 # $ADB $DEVICE_SERIAL shell mkdir -p "$(dirname "$ANDROID_DST")" | 187 # $ADB $DEVICE_SERIAL shell mkdir -p "$(dirname "$ANDROID_DST")" |
| 188 # $ADB $DEVICE_SERIAL push $HOST_SRC $ANDROID_DST | 188 # $ADB $DEVICE_SERIAL push $HOST_SRC $ANDROID_DST |
| 189 # fi | 189 # fi |
| 190 # fi | 190 # fi |
| 191 # } | 191 # } |
| 192 | 192 |
| 193 # setup_device "${DEVICE_ID}" | 193 # setup_device "${DEVICE_ID}" |
| OLD | NEW |