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

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: todo 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 # TODO(earthdok): find a way to pull the list from the build config.
10 $(dirname ${BASH_SOURCE[0]})/instrumented_libraries.gyp | \ 10 common_packages="\
11 sed "s;\s*'<(_sanitizer_type)-\(.*\)',;\1;" | sort | uniq | \ 11 atk1.0 \
12 xargs sudo apt-get build-dep -y 12 dee \
13 freetype \
14 libappindicator1 \
15 libasound2 \
16 libcairo2 \
17 libcap2 \
18 libcups2 \
19 libdbus-1-3 \
20 libdbus-glib-1-2 \
21 libdbusmenu \
22 libdbusmenu-glib4 \
23 libexpat1 \
24 libffi6 \
25 libfontconfig1 \
26 libgconf-2-4 \
27 libgcrypt11 \
28 libgdk-pixbuf2.0-0 \
29 libglib2.0-0 \
30 libgnome-keyring0 \
31 libgpg-error0 \
32 libgtk2.0-0 \
33 libnspr4 \
34 libp11-kit0 \
35 libpci3 \
36 libpcre3 \
37 libpixman-1-0 \
38 libpng12-0 \
39 libunity9 \
40 libx11-6 \
41 libxau6 \
42 libxcb1 \
43 libxcomposite1 \
44 libxcursor1 \
45 libxdamage1 \
46 libxdmcp6 \
47 libxext6 \
48 libxfixes3 \
49 libxi6 \
50 libxinerama1 \
51 libxrandr2 \
52 libxrender1 \
53 libxss1 \
54 libxtst6 \
55 nss \
56 overlay-scrollbar \
57 pango1.0 \
58 pulseaudio \
59 udev \
60 zlib1g"
61
62 precise_specific_packages="libtasn1-3"
63 trusty_specific_packages="libtasn1-6"
64
65 ubuntu_release=$(lsb_release -cs)
66
67 if test "$ubuntu_release" = "precise" ; then
68 packages="$common_packages $precise_specific_packages"
69 else
70 packages="$common_packages $trusty_specific_packages"
71 fi
72
73 echo $packages
74 sudo apt-get build-dep -y $packages
13 75
14 # Extra build deps for pulseaudio, which apt-get build-dep may fail to install 76 # Extra build deps for pulseaudio, which apt-get build-dep may fail to install
15 # for reasons which are not entirely clear. 77 # for reasons which are not entirely clear.
16 sudo apt-get install libltdl3-dev libjson0-dev \ 78 sudo apt-get install libltdl3-dev libjson0-dev \
17 libsndfile1-dev libspeexdsp-dev \ 79 libsndfile1-dev libspeexdsp-dev \
18 chrpath -y # Chrpath is required by fix_rpaths.sh. 80 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