LevelDBDatabase::Compact compacts db (on disk) w/o requiring reopen.
[chromium-blink-merge.git] / third_party / instrumented_libraries / install-build-deps.sh
blobd86db48c5309767e2a4f8741cce8122bd1c206e9
1 #!/bin/bash -e
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.