diff options
author | earthdok@chromium.org <earthdok@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-04 19:00:50 +0000 |
---|---|---|
committer | earthdok@chromium.org <earthdok@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-04 19:00:50 +0000 |
commit | b07daaa78606b701edf0904c9e5f5c837c54b471 (patch) | |
tree | 41666fa72830164c9af7c494e8d1e5c8464137c0 | |
parent | fee1504370b2a009015985cdd84caf12e0c7ec6e (diff) | |
download | chromium_src-b07daaa78606b701edf0904c9e5f5c837c54b471.zip chromium_src-b07daaa78606b701edf0904c9e5f5c837c54b471.tar.gz chromium_src-b07daaa78606b701edf0904c9e5f5c837c54b471.tar.bz2 |
Instrumented libraries: add a script to install build deps.
BUG=313751
R=glider@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/315563005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274881 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-x | third_party/instrumented_libraries/install-build-deps.sh | 18 |
1 files changed, 18 insertions, 0 deletions
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 0000000..d86db48 --- /dev/null +++ b/third_party/instrumented_libraries/install-build-deps.sh @@ -0,0 +1,18 @@ +#!/bin/bash -e + +# Copyright 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. |