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

Side by Side Diff: third_party/instrumented_libraries/install-build-deps.sh

Issue 711283003: Instrumented libraries: rewrite install-build-deps.sh. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/instrumented_libraries/instrumented_libraries.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash -e 1 #!/bin/bash -e
2 2
3 # Copyright 2014 The Chromium Authors. All rights reserved. 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 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to install build dependencies of packages which we instrument. 7 # Script to install build dependencies of packages which we instrument.
8 8
9 grep \'\<\(\_sanitizer_type \ 9 common_packages="\
10 $(dirname ${BASH_SOURCE[0]})/instrumented_libraries.gyp | \ 10 atk1.0 \
11 sed "s;\s*'<(_sanitizer_type)-\(.*\)',;\1;" | sort | uniq | \ 11 dee \
Alexander Potapenko 2014/11/11 14:41:02 I don't really like the idea of duplicating this l
12 xargs sudo apt-get build-dep -y 12 freetype \
13 libappindicator1 \
14 libasound2 \
15 libcairo2 \
16 libcap2 \
17 libcups2 \
18 libdbus-1-3 \
19 libdbus-glib-1-2 \
20 libdbusmenu \
21 libdbusmenu-glib4 \
22 libexpat1 \
23 libffi6 \
24 libfontconfig1 \
25 libgconf-2-4 \
26 libgcrypt11 \
27 libgdk-pixbuf2.0-0 \
28 libglib2.0-0 \
29 libgnome-keyring0 \
30 libgpg-error0 \
31 libgtk2.0-0 \
32 libnspr4 \
33 libp11-kit0 \
34 libpci3 \
35 libpcre3 \
36 libpixman-1-0 \
37 libpng12-0 \
38 libunity9 \
39 libx11-6 \
40 libxau6 \
41 libxcb1 \
42 libxcomposite1 \
43 libxcursor1 \
44 libxdamage1 \
45 libxdmcp6 \
46 libxext6 \
47 libxfixes3 \
48 libxi6 \
49 libxinerama1 \
50 libxrandr2 \
51 libxrender1 \
52 libxss1 \
53 libxtst6 \
54 nss \
55 overlay-scrollbar \
56 pango1.0 \
57 pulseaudio \
58 udev \
59 zlib1g"
60
61 precise_specific_packages="libtasn1-3"
62 trusty_specific_packages="libtasn1-6"
63
64 ubuntu_release=$(lsb_release -cs)
65
66 if test "$ubuntu_release" = "precise" ; then
67 packages="$common_packages $precise_specific_packages"
68 else
69 packages="$common_packages $trusty_specific_packages"
70 fi
71
72 echo $packages
73 sudo apt-get build-dep -y $packages
13 74
14 # Extra build deps for pulseaudio, which apt-get build-dep may fail to install 75 # Extra build deps for pulseaudio, which apt-get build-dep may fail to install
15 # for reasons which are not entirely clear. 76 # for reasons which are not entirely clear.
16 sudo apt-get install libltdl3-dev libjson0-dev \ 77 sudo apt-get install libltdl3-dev libjson0-dev \
17 libsndfile1-dev libspeexdsp-dev \ 78 libsndfile1-dev libspeexdsp-dev \
18 chrpath -y # Chrpath is required by fix_rpaths.sh. 79 chrpath -y # Chrpath is required by fix_rpaths.sh.
OLDNEW
« no previous file with comments | « no previous file | third_party/instrumented_libraries/instrumented_libraries.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698