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

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: fix formatting in continue_install.sh" 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_wrapper
diff --git a/experimental/webtry/scripts/fiddle_wrapper b/experimental/webtry/scripts/fiddle_wrapper
new file mode 100755
index 0000000000000000000000000000000000000000..cd3e75023d68c1159749c71b5a6c2e18c9b1b529
--- /dev/null
+++ b/experimental/webtry/scripts/fiddle_wrapper
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+# run_fiddle takes the hash of the fiddle as its only argument, and then:
+#
+# 1) runs fiddle_gyp to create the gyp file
+# 2) runs ninja to build the executable
+# 3) runs the resulting executable 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
jcgregorio 2014/10/01 16:39:50 fiddle_gyp, fiddle_ninja, and fiddle_run all need
humper 2014/10/01 17:02:44 Done.

Powered by Google App Engine
This is Rietveld 408576698