Chromium Code Reviews| 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 |