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

Unified Diff: third_party/xvfb/building/install-prereq

Issue 9600031: Move xvfb. Add llvmpipe.so. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 8 years, 10 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: third_party/xvfb/building/install-prereq
===================================================================
--- third_party/xvfb/building/install-prereq (revision 0)
+++ third_party/xvfb/building/install-prereq (working copy)
@@ -11,7 +11,11 @@
export PKG_CONFIG_PATH="${PPATH}"
function getxfromy() {
- if [ \! -f "${PPATH}"/"$1".pc ] ; then
+ case "$1" in
+ */*) testpath="$1" ;;
+ *) testpath="${PPATH}"/"$1".pc ;;
+ esac
+ if [ \! -f "${testpath}" ] ; then
sudo apt-get install "$2"
fi
}
@@ -38,3 +42,5 @@
getxfromy talloc libfontenc-dev
getxfromy autoconf autoconf
getxfromy libtool libtool
+getxfromy ffi ffi-dev
+getxfromy /usr/bin/llvm-config llvm-dev

Powered by Google App Engine
This is Rietveld 408576698