Index: experimental/webtry/scripts/fiddle_ninja |
diff --git a/experimental/webtry/scripts/fiddle_ninja b/experimental/webtry/scripts/fiddle_ninja |
new file mode 100755 |
index 0000000000000000000000000000000000000000..2a3e58000bd0283e98fe9372d28fd39b8df05d50 |
--- /dev/null |
+++ b/experimental/webtry/scripts/fiddle_ninja |
@@ -0,0 +1,14 @@ |
+#!/bin/bash |
+ |
+# fiddle_ninja simply builds a Release version of the |
+# provided fiddle into the local skia tree's out/Release |
+# directory. |
+# |
+# This script must be run after fiddle_gyp |
+ |
+[ -z $SKIA_ROOT ] && SKIA_ROOT="/skia_build/skia" |
+ |
+PATH=$PATH:/skia_build/depot_tools |
+ |
+ninja -C $SKIA_ROOT/out/Release $1 |
+ |