Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/sh | |
|
jcgregorio
2014/09/09 19:14:11
Needs a top level comment explaining what the scri
humper
2014/09/09 19:25:18
Done.
| |
| 2 | |
| 3 [ -z "$SKIA_ROOT" ] && SKIA_ROOT="../.." | |
| 4 [ -z "$WEBTRY_ROOT" ] && WEBTRY_ROOT=`pwd` | |
| 5 | |
| 6 cd ${SKIA_ROOT}/include | |
| 7 echo "Creating compile template..." | |
| 8 find core effects pathops -maxdepth 1 -name "*.h" | sed "s#^[^\/]*\/##g" | sed "s/\(.*\)/#include \"\1\"/" | sort > ${WEBTRY_ROOT}/templates/template.cpp | |
| 9 echo "SkBitmap source;" >> ${WEBTRY_ROOT}/templates/template.cpp | |
| 10 echo "{{.Code}}" >> ${WEBTRY_ROOT}/templates/template.cpp | |
| 11 cd ${WEBTRY_ROOT} | |
| 12 echo "Building webtry..." | |
| 13 go build webtry.go | |
| 14 echo "Done!" | |
| OLD | NEW |