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

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

Issue 1926163002: Delete ChromeOS code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 | « gyp/views.gyp ('k') | platform_tools/chromeos/bin/chromeos_make » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 python gyp_skia
35 make ${makeVars}
36 returnVal=$?
37 if [ $returnVal != 0 ]
38 then
39 exit 1;
40 fi
41
42 echo > .cros_build_successful
OLDNEW
« no previous file with comments | « gyp/views.gyp ('k') | platform_tools/chromeos/bin/chromeos_make » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698