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

Side by Side Diff: platform_tools/chromeos/bin/build_skia_in_chroot

Issue 16099011: GYP changes and scripts for compiling Skia for ChromeOS (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
Property Changes:
Added: svn:executable
+ *
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # This script builds Skia inside of a ChromeOS chroot. It is intended to be run
4 # either while inside the chroot or indirectly by running chromeos_make which
5 # enters the chroot and runs this script.
6
7 makeVars=""
8 deviceID=""
9
10 while (( "$#" )); do
11
12 if [[ $(echo "$1" | grep "^-d$") != "" ]];
13 then
14 deviceID="$2"
15 shift
16 else
17 makeVars="$makeVars $1"
18 fi
19
20 shift
21 done
22
23 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
24
25 source $SCRIPT_DIR/chromeos_setup.sh
26
27 setup_device $deviceID
28 returnVal=$?
29 if [ $returnVal != 0 ]
30 then
31 exit 1;
32 fi
33
34 make ${makeVars}
35 returnVal=$?
36 if [ $returnVal != 0 ]
37 then
38 exit 1;
39 fi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698