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

Unified Diff: third_party/instrumented_libraries/install-build-deps.sh

Issue 315563005: Instrumented libraries: add a script to install build deps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/instrumented_libraries/install-build-deps.sh
diff --git a/third_party/instrumented_libraries/install-build-deps.sh b/third_party/instrumented_libraries/install-build-deps.sh
new file mode 100755
index 0000000000000000000000000000000000000000..396cdb135bf962837403b8e8c0e806afeed2d1fd
--- /dev/null
+++ b/third_party/instrumented_libraries/install-build-deps.sh
@@ -0,0 +1,18 @@
+#!/bin/bash -e
+
+# Copyright (c) 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Script to install build dependencies of packages which we instrument.
+
+grep \'\<\(\_sanitizer_type \
+ $(dirname ${BASH_SOURCE[0]})/instrumented_libraries.gyp | \
+ sed "s;\s*'<(_sanitizer_type)-\(.*\)',;\1;" | sort | uniq | \
+ xargs sudo apt-get build-dep -y
+
+# Extra build deps for pulseaudio, which apt-get build-dep may fail to install
+# for reasons which are not entirely clear.
+sudo apt-get install libltdl3-dev libjson0-dev \
+ libsndfile1-dev libspeexdsp-dev \
+ chrpath -y # Chrpath is required by fix_rpaths.sh.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698