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

Side by Side Diff: experimental/webtry/build

Issue 552343003: simple build script for webtry that re-generates the code template (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | experimental/webtry/templates/template.cpp » ('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/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!"
OLDNEW
« no previous file with comments | « no previous file | experimental/webtry/templates/template.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698