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

Unified Diff: experimental/webtry/scripts/fiddle_gyp

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/build ('k') | experimental/webtry/scripts/fiddle_ninja » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/scripts/fiddle_gyp
diff --git a/experimental/webtry/scripts/fiddle_gyp b/experimental/webtry/scripts/fiddle_gyp
new file mode 100755
index 0000000000000000000000000000000000000000..93f9943365eab1ab486d4ee1d541bd13a17b53f5
--- /dev/null
+++ b/experimental/webtry/scripts/fiddle_gyp
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+# fiddle_gyp will copy the fiddle-specific gyp file from the cache
+# into the local skia tree, and generate the necessary ninja build
+# files.
+#
+# Because gyp is really picky about directory structures, this is
+# necessary to avoid re-building the entire skia library every time.
+
+[ -z "$SKIA_ROOT" ] && SKIA_ROOT="../../../"
+[ -z "$WEBTRY_CACHE_DIR" ] && WEBTRY_CACHE_DIR="../../../../cache"
+
+cp $WEBTRY_CACHE_DIR/$1.gyp $SKIA_ROOT/gyp
+(cd $SKIA_ROOT ; ./gyp_skia gyp/$1.gyp gyp/most.gyp -D skia_gpu=0)
« no previous file with comments | « experimental/webtry/build ('k') | experimental/webtry/scripts/fiddle_ninja » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698