OLD | NEW |
(Empty) | |
| 1 #!/bin/bash |
| 2 # |
| 3 # ios_run_skia: starts the correct skia program on the device, prints the |
| 4 # output, and kills the app if interrupted. |
| 5 |
| 6 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
| 7 source $SCRIPT_DIR/ios_setup.sh |
| 8 |
| 9 # (Re-)Install the app to create the necessary directories. |
| 10 ios_uninstall_app |
| 11 ios_install_app |
| 12 |
| 13 # Move the resources to the Documents forlder of the iOS device. |
| 14 # Note: The iOSShell app expects 'resources' in the Documents folder. |
| 15 ios_push "${SKIA_SRC_DIR}/resources" "" |
| 16 |
| 17 # Run the application. |
| 18 ios-deploy -I -m -b "$SKIA_SRC_DIR/xcodebuild/${BUILDTYPE}-iphoneos/iOSShell.app
--args '""$ARGS""'" |
| 19 |
| 20 #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 |