Add utility scripts to launch iOS and Android emulators.

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1517421 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jsdelfino 2013-08-26 05:18:13 +00:00
commit 8603a54631
3 changed files with 50 additions and 1 deletions

View file

@ -17,5 +17,5 @@
EXTRA_DIST = svn-config svn-ignore valgrind-apr.supp
dist_noinst_SCRIPTS = httpd-ipcrm callgrind memgrind ios-inspector
dist_noinst_SCRIPTS = httpd-ipcrm callgrind memgrind ios-inspector ios-simulator android-emulator

View file

@ -0,0 +1,27 @@
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Start Android emulator
if [ "$1" = "" ]; then
avd="intel-4.1.2"
else
avd="$1"
fi
emulator -avd $avd -no-boot-anim -gpu on -no-snapshot

22
sca-cpp/trunk/etc/ios-simulator Executable file
View file

@ -0,0 +1,22 @@
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Start iOS simulator
open "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app"