| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # This script builds Skia inside of a ChromeOS chroot. It is intended to be run | 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 | 4 # either while inside the chroot or indirectly by running chromeos_make which |
| 5 # enters the chroot and runs this script. | 5 # enters the chroot and runs this script. |
| 6 | 6 |
| 7 makeVars="" | 7 makeVars="" |
| 8 deviceID="" | 8 deviceID="" |
| 9 | 9 |
| 10 while (( "$#" )); do | 10 while (( "$#" )); do |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 exit 1; | 31 exit 1; |
| 32 fi | 32 fi |
| 33 | 33 |
| 34 python gyp_skia | 34 python gyp_skia |
| 35 make ${makeVars} | 35 make ${makeVars} |
| 36 returnVal=$? | 36 returnVal=$? |
| 37 if [ $returnVal != 0 ] | 37 if [ $returnVal != 0 ] |
| 38 then | 38 then |
| 39 exit 1; | 39 exit 1; |
| 40 fi | 40 fi |
| 41 |
| 42 echo > .cros_build_successful |
| OLD | NEW |