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

Unified Diff: experimental/webtry/scripts/fiddle_run

Issue 619943002: complete overhaul of webtry work partition between jail and host (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address Joe's comments 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
Index: experimental/webtry/scripts/fiddle_run
diff --git a/experimental/webtry/scripts/fiddle_run b/experimental/webtry/scripts/fiddle_run
new file mode 100755
index 0000000000000000000000000000000000000000..cd99db2da17a0cac4d1baa5065e0cdc55aa0c668
--- /dev/null
+++ b/experimental/webtry/scripts/fiddle_run
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# fiddle_run executes the build fiddle (from the local
+# skia tree's out/Release directory) and places the output
+# png into the inout directory so it can be seen
+# outside the chroot jail and served back to the user.
+
+[ -z $SKIA_ROOT ] && SKIA_ROOT="/skia_build/skia"
+[ -z $WEBTRY_INOUT ] && WEBTRY_INOUT="/skia_build/inout"
+
+$SKIA_ROOT/out/Release/$1 --out $WEBTRY_INOUT/$1.png
+

Powered by Google App Engine
This is Rietveld 408576698