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

Side by Side Diff: experimental/webtry/scripts/fiddle_wrapper

Issue 656463002: add support for skfiddle width/height options (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add new db creation commands to the design documnt Created 6 years, 2 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 | « experimental/webtry/scripts/fiddle_run ('k') | experimental/webtry/templates/content.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # fiddle_wrapper takes the hash of the fiddle as its first argument, and a sourc e image to include as an 3 # fiddle_wrapper takes the hash of the fiddle as its first argument, and additio nal arguments to
4 # optional second. Then it: 4 # be passed to the build fiddle executable. Then it:
5 # 5 #
6 # 1) runs fiddle_gyp to create the gyp file 6 # 1) runs fiddle_gyp to create the gyp file
7 # 2) runs fiddle_ninja to build the executable 7 # 2) runs fiddle_ninja to build the executable
8 # 3) runs fiddle_run to generate the output .png file. 8 # 3) runs fiddle_run to generate the output .png file.
9 # 9 #
10 # the output PNG file goes into the inout directory, which is shared between the chroot 10 # the output PNG file goes into the inout directory, which is shared between the chroot
11 # jail and the webserver environment. 11 # jail and the webserver environment.
12 12
13 [ -z "$SKIA_ROOT" ] && SKIA_ROOT="/skia_build/skia" 13 [ -z "$SKIA_ROOT" ] && SKIA_ROOT="/skia_build/skia"
14 14
15 cd $SKIA_ROOT/experimental/webtry/scripts 15 cd $SKIA_ROOT/experimental/webtry/scripts
16 16
17 ./fiddle_gyp $1 17 ./fiddle_gyp $1
18 ./fiddle_ninja $1 18 ./fiddle_ninja $1
19 ./fiddle_run $1 $2 19 ./fiddle_run $@
OLDNEW
« no previous file with comments | « experimental/webtry/scripts/fiddle_run ('k') | experimental/webtry/templates/content.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698