OLD | NEW |
(Empty) | |
| 1 #!/bin/bash |
| 2 ############################################################################### |
| 3 # Copyright 2015 Google Inc. |
| 4 # |
| 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. |
| 7 ############################################################################### |
| 8 # |
| 9 # ios_run_skia: starts the correct skia program on the device, prints the |
| 10 # output, and kills the app if interrupted. |
| 11 |
| 12 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
| 13 source $SCRIPT_DIR/ios_setup.sh |
| 14 |
| 15 # (Re-)Install the app to create the necessary directories. |
| 16 ios_uninstall_app |
| 17 ios_install_app |
| 18 |
| 19 # Move the resources to the Documents forlder of the iOS device. |
| 20 # Note: The iOSShell app expects 'resources' in the Documents folder. |
| 21 ios_push "${SKIA_SRC_DIR}/resources" "" |
| 22 |
| 23 # Run the application. |
| 24 ios-deploy -I -m -b "$SKIA_SRC_DIR/xcodebuild/${BUILDTYPE}-iphoneos/iOSShell.app
--args '""$ARGS""'" |
| 25 |
| 26 #ios-deploy -I -m -b "$SKIA_SRC_DIR/xcodebuild/${BUILDTYPE}-iphoneos/iOSShell.ap
p --args '""$ARGS""'-v --writePath results --dm --nogpu --threads 0 --src gm t
ests --config 8888 --match ~Threaded ~Math ~VarAlloc' |
OLD | NEW |