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

Unified Diff: experimental/webtry/scripts/fiddle_wrapper

Issue 619943002: complete overhaul of webtry work partition between jail and host (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Replace missing pre-build of jpeg, etc1, flags 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/webtry/scripts/fiddle_run ('k') | experimental/webtry/setup/continue_install » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/scripts/fiddle_wrapper
diff --git a/experimental/webtry/scripts/fiddle_wrapper b/experimental/webtry/scripts/fiddle_wrapper
new file mode 100755
index 0000000000000000000000000000000000000000..a68b360015e4fd7cb8e8a56ade44491c374e5d0b
--- /dev/null
+++ b/experimental/webtry/scripts/fiddle_wrapper
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# fiddle_wrapper takes the hash of the fiddle as its first argument, and a source image to include as an
+# optional second. Then it:
+#
+# 1) runs fiddle_gyp to create the gyp file
+# 2) runs fiddle_ninja to build the executable
+# 3) runs fiddle_run to generate the output .png file.
+#
+# the output PNG file goes into the inout directory, which is shared between the chroot
+# jail and the webserver environment.
+
+[ -z "$SKIA_ROOT" ] && SKIA_ROOT="/skia_build/skia"
+
+cd $SKIA_ROOT/experimental/webtry/scripts
+
+./fiddle_gyp $1
+./fiddle_ninja $1
+./fiddle_run $1 $2
« no previous file with comments | « experimental/webtry/scripts/fiddle_run ('k') | experimental/webtry/setup/continue_install » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698