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

Unified Diff: experimental/webtry/setup/continue_install_jail.sh

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/setup/continue_install.sh ('k') | experimental/webtry/setup/setup_jail.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/setup/continue_install_jail.sh
diff --git a/experimental/webtry/setup/continue_install_jail.sh b/experimental/webtry/setup/continue_install_jail.sh
new file mode 100755
index 0000000000000000000000000000000000000000..7c303bb96f893d703a7c8bd757c69cd17b3a515a
--- /dev/null
+++ b/experimental/webtry/setup/continue_install_jail.sh
@@ -0,0 +1,42 @@
+#!/bin/bash
+
+# this script runs as root inside the chroot environment and updates the depot tools, go environment,
+# and skia source.
+
+# need to mount /dev/shm first so that python will execute properly.
+
+mount /dev/shm
+
+SKIA_BUILD=/skia_build
+cd ${SKIA_BUILD}
+
+# Install depot_tools.
+if [ -d depot_tools ]; then
+ (cd depot_tools && git pull);
+else
+ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git;
+fi
+export PATH=$PATH:${SKIA_BUILD}/depot_tools
+
+# Sometimes you need to test patches on the server, to do that uncomment
+# the following commented out lines and update the PATCH env variable to the
+# name of the codereview to use.
+
+# rm -rf skia
+
+# Checkout the skia code and dependencies.
+mkdir skia
+cd skia
+gclient config --name . https://skia.googlesource.com/skia.git
+gclient sync
+git checkout master
+
+# PATCH=issue196723021_100001.diff
+# rm $PATCH
+# wget https://codereview.chromium.org/download/$PATCH
+# git apply $PATCH
+
+SKIA_GYP_OUTPUT_DIR=${SKIA_BUILD}/skia/out GYP_GENERATORS=ninja ./gyp_skia -Dskia_gpu=0
+
+ninja -C ${SKIA_BUILD}/skia/out/Release skia_lib libjpeg libSkKTX libetc1 flags
+
« no previous file with comments | « experimental/webtry/setup/continue_install.sh ('k') | experimental/webtry/setup/setup_jail.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698