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

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

Issue 2732353002: Instrumented libraries: Remove Precise support (Closed)
Patch Set: Rebase Created 3 years, 9 months 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 | « third_party/instrumented_libraries/scripts/download_binaries.py ('k') | no next file » | 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 # Enable source repositories in Goobuntu. 9 # Enable source repositories in Goobuntu.
10 if hash goobuntu-config 2> /dev/null 10 if hash goobuntu-config 2> /dev/null
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 libxrender1 \ 61 libxrender1 \
62 libxss1 \ 62 libxss1 \
63 libxtst6 \ 63 libxtst6 \
64 nss \ 64 nss \
65 pango1.0 \ 65 pango1.0 \
66 pulseaudio \ 66 pulseaudio \
67 udev \ 67 udev \
68 zlib1g \ 68 zlib1g \
69 brltty" 69 brltty"
70 70
71 precise_specific_packages="libtasn1-3"
72 trusty_specific_packages="\ 71 trusty_specific_packages="\
73 libtasn1-6 \ 72 libtasn1-6 \
74 harfbuzz 73 harfbuzz
75 libsecret" 74 libsecret"
76 75
77 ubuntu_release=$(lsb_release -cs) 76 ubuntu_release=$(lsb_release -cs)
78 77
79 if test "$ubuntu_release" = "precise" ; then 78 if test "$ubuntu_release" = "trusty" ; then
80 packages="$common_packages $precise_specific_packages"
81 else
82 packages="$common_packages $trusty_specific_packages" 79 packages="$common_packages $trusty_specific_packages"
83 fi 80 fi
84 81
85 # Extra build deps for pulseaudio, which apt-get build-dep may fail to install 82 # Extra build deps for pulseaudio, which apt-get build-dep may fail to install
86 # for reasons which are not entirely clear. 83 # for reasons which are not entirely clear.
87 sudo apt-get install libltdl3-dev libjson0-dev \ 84 sudo apt-get install libltdl3-dev libjson0-dev \
88 libsndfile1-dev libspeexdsp-dev libjack0 \ 85 libsndfile1-dev libspeexdsp-dev libjack0 \
89 chrpath -y # Chrpath is required by fix_rpaths.sh. 86 chrpath -y # Chrpath is required by fix_rpaths.sh.
90 87
91 sudo apt-get build-dep -y $packages 88 sudo apt-get build-dep -y $packages
92 89
93 if test "$ubuntu_release" = "trusty" ; then 90 if test "$ubuntu_release" = "trusty" ; then
94 # On Trusty, build deps for some of the instrumented packages above conflict 91 # On Trusty, build deps for some of the instrumented packages above conflict
95 # with Chromium's build deps. In particular: 92 # with Chromium's build deps. In particular:
96 # zlib1g and libffi remove gcc-4.8 in favor of gcc-multilib, 93 # zlib1g and libffi remove gcc-4.8 in favor of gcc-multilib,
97 # libglib2.0-0 removes libelf in favor of libelfg0. 94 # libglib2.0-0 removes libelf in favor of libelfg0.
98 # We let Chromium's build deps take priority. So, run Chromium's 95 # We let Chromium's build deps take priority. So, run Chromium's
99 # install-build-deps.sh to reinstall those that have been removed. 96 # install-build-deps.sh to reinstall those that have been removed.
100 $(dirname ${BASH_SOURCE[0]})/../../../build/install-build-deps.sh --no-prompt 97 $(dirname ${BASH_SOURCE[0]})/../../../build/install-build-deps.sh --no-prompt
101 fi 98 fi
OLDNEW
« no previous file with comments | « third_party/instrumented_libraries/scripts/download_binaries.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698