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

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, 7 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..b9aeae3a885cfbc04ea6638ad142f7878f9262c7
--- /dev/null
+++ b/third_party/instrumented_libraries/install-build-deps.sh
@@ -0,0 +1,21 @@
+#!/bin/bash -e
+
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
Alexander Potapenko 2014/06/04 12:32:22 s/2012/2014
+# 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 | \
Alexander Potapenko 2014/06/04 12:32:22 A comment from Kostya: a single 'apt-get build-dep
+ sed "s;\s*'<(_sanitizer_type)-\(.*\)',;\1;" | sort | uniq | \
+ xargs -L1 sudo apt-get build-dep -y
+
+# Pulseaudio
Alexander Potapenko 2014/06/04 12:32:22 Please elaborate why you need this.
+sudo apt-get install libltdl3-dev -y
+sudo apt-get install libjson0-dev -y
+sudo apt-get install libsndfile1-dev -y
+sudo apt-get install libspeexdsp-dev -y
+
+# Chrpath
Alexander Potapenko 2014/06/04 12:32:22 Please elaborate why you need this.
+sudo apt-get install chrpath -y
« 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