diff options
author | 2015-04-28 19:59:07 +0000 | |
---|---|---|
committer | 2015-04-28 21:14:19 +0000 | |
commit | eb82a1d755396ed1b885af4efb809b4428d4d3d7 (patch) | |
tree | 538fe87773d23f6e09a1f6c7e717b22545581e8a /tools/objc | |
parent | 633ecbde1683557400324a5806008c0921685513 (diff) |
Update ios_runner template to dynamically receive options
The SDK_VERSION and SIM_DEVICE variables in the runner script had
hard-coded values. This change updates them to be set by the
template expansion, so they can be controlled by the command-line
options.
--
Change-Id: I4a299ee781da19546eb137f115b8c174051ceb5f
MOS_MIGRATED_REVID=92278475
Diffstat (limited to 'tools/objc')
-rw-r--r-- | tools/objc/ios_runner.sh.mac_template | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/objc/ios_runner.sh.mac_template b/tools/objc/ios_runner.sh.mac_template index 79aa4d2c19..0d4c25ebba 100644 --- a/tools/objc/ios_runner.sh.mac_template +++ b/tools/objc/ios_runner.sh.mac_template @@ -21,9 +21,8 @@ if [[ "$(uname)" != Darwin ]]; then exit 1 fi -# TODO(bazel-team): Use %sdk_version% and %sim_device% when available. -readonly SDK_VERSION='8.1' -readonly SIM_DEVICE='iPhone 6' +readonly SDK_VERSION="%sdk_version%" +readonly SIM_DEVICE="%sim_device%" readonly APP_DIR=$(mktemp -d -t extracted_app) args=() |