Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Side by Side Diff: platform_tools/ios/bin/ios_run_skia

Issue 1085583006: iOS platform scripts to be used by buildbots (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Removed trailing white spaces Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « platform_tools/ios/bin/ios_rmdir ('k') | platform_tools/ios/bin/ios_setup.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_run_skia: starts the correct skia program on the device, prints the 9 # ios_run_skia: starts the correct skia program on the device, prints the
10 # output, and kills the app if interrupted. 10 # output, and kills the app if interrupted.
11 11
12 set -x -e
13
12 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 14 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
13 source $SCRIPT_DIR/ios_setup.sh 15 source $SCRIPT_DIR/ios_setup.sh
14 16
15 # (Re-)Install the app to create the necessary directories. 17 # Run the application.
16 ios_uninstall_app 18 IOS_DEPLOY_ARGS="${SKIA_SRC_DIR}/xcodebuild/${BUILDTYPE}-iphoneos/iOSShell.app - -args \"${*}\""
17 ios_install_app 19 CMD="ios-deploy -I -m -b ${IOS_DEPLOY_ARGS}"
18 20 eval $CMD
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'
OLDNEW
« no previous file with comments | « platform_tools/ios/bin/ios_rmdir ('k') | platform_tools/ios/bin/ios_setup.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698