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

Side by Side Diff: platform_tools/ios/run_dm.sh

Issue 1087653005: ios buildbot scripts (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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
OLDNEW
(Empty)
1 #!/bin/bash
2 SKIA_DIR=`pwd`
3 PNG_DIR="/tmp/ios"
4 rm -rf $PNG_DIR
5 mkdir -p $PNG_DIR
6
7 MOUNTDIR="/tmp/iosdevice"
8 umount $MOUNTDIR
9 rm -rf $MOUNTDIR
10 mkdir -p $MOUNTDIR
11
12 set -e
13
14 # restart the device
15 #idevicediagnostics restart
16
17
18 # build the iOS project using gyp
19 make clean
20 cd $SKIA_DIR
21 GYP_DEFINES="skia_os='ios' skia_arch_type='arm' armv7=1 arm_neon=0" ./gyp_skia
22
23 # build the iOS project with XCode
24 #xcodebuild -project out/gyp/iOSShell.xcodeproj -exportProvisioningProfile "Goog le Development" -exportSigningIdentity "iPhone Developer: Google Development (3F 4Y5873JF)"
25 #codesign -f -s 'iPhone Developer: Google Development (3F4Y5873JF)' xcodebuild/D ebug-iphoneos/iOSShell.app/iOSShell
26
27 xcodebuild -project out/gyp/iOSShell.xcodeproj PROVISIONING_PROFILE="9e88090d-ab ed-4e89-b106-3eff3512d31f" CODE_SIGN_IDENTITY="iPhone Developer: Google Developm ent (3F4Y5873JF)"
28
29 # Wait until the device is restarted.
30 #echo "Sleeping for 20secs"
31 #sleep 20s
32
33 # install the app.
34 # copy the archive to the device
35 mkdir -p $PNG_DIR/Payload # this directory must be named 'Payload'
36 cd $PNG_DIR
37 cp -rf $SKIA_DIR/xcodebuild/Debug-iphoneos/iOSShell.app Payload/
38 zip -r iOSShell.ipa Payload
39 ideviceinstaller -i $PNG_DIR/iOSShell.ipa
40
41 # remove data.
42 ifuse --container com.google.iOSShell $MOUNTDIR
43 # rm
44 #umount $MOUNTDIR
45
46
47 # Copy the GMs to a local filesytem
48
49 # -v --writePath "resultOutput" --dm --nogpu --threads 0 --src gm tests --con fig 8888 --match ~Threaded ~Math ~VarAlloc
50
51 #
52 # idevicefs pull @/com.google.iOSShell/Documents/$dir/$f $PNG_DIR/ios_gm/$dir
53
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698