3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
7 # Script to install build dependencies of packages which we instrument.
9 grep \'\
<\
(\_sanitizer_type \
10 $
(dirname ${BASH_SOURCE[0]})/instrumented_libraries.gyp | \
11 sed "s;\s*'<(_sanitizer_type)-\(.*\)',;\1;" |
sort |
uniq | \
12 xargs sudo apt-get build-dep
-y
14 # Extra build deps for pulseaudio, which apt-get build-dep may fail to install
15 # for reasons which are not entirely clear.
16 sudo apt-get
install libltdl3-dev libjson0-dev \
17 libsndfile1-dev libspeexdsp-dev \
18 chrpath
-y # Chrpath is required by fix_rpaths.sh.