"realpath" is used by several CrOS tools.
It is needed on builders that build Chromium through the CrOS toolchain.
BUG=chromium:491287
TEST=None
Review URL: https://codereview.chromium.org/1156763002
Cr-Original-Commit-Position: refs/heads/master@{#331434}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a8491d157d1613c41426e91a3ac479766dd7a31
Trusty seems to have dificulty installing gcc-arm-linux-gnueabihf
and gcc-4.8-multilib without these extra packages being listed
on the install line also.
BUG=435056
Review URL: https://codereview.chromium.org/1049833003
Cr-Original-Commit-Position: refs/heads/master@{#323281}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b5d4ded25739d583663fd17569de96394f84c267
On a fresh install of Ubuntu Trusty + Cinnamon, install-build-deps.sh failed, because:
* it was looking for libgl1-mesa-dev
* Cinnamon forced libgl1-mesa-dev-lts-utopic to be installed
* there cannot be two versions of libgl1-mesa-dev* installed
This CL adds libgl1-mesa-dev and mesa-common-dev to the group of packages, for which the correct "mesa_variant" suffix is guessed. It also adds "-lts-utopic" to the list of explored suffixes.
BUG=466787
Review URL: https://codereview.chromium.org/1003853003
Cr-Original-Commit-Position: refs/heads/master@{#320889}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f1e8b17f4827ad6030c19f71ebf8e34c91248e2b
Previously we were installing and using libssl0.9.8:i386
which was actually a miss-match with the 1.0.0 headers
installed by libssl-dev.
TEST=local (remove links and run install-build-deps.sh)
Review URL: https://codereview.chromium.org/913183004
Cr-Original-Commit-Position: refs/heads/master@{#316319}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6ab44c3694b129131b964cada9feb78a1cc880a2
Added utopic in list of supported version.
BUG=437593
TEST=run install-build-deps.sh on ubuntu14.10 or use utopic chroot
environment.
NOTRY=true
Review URL: https://codereview.chromium.org/769653002
Cr-Original-Commit-Position: refs/heads/master@{#306365}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6be55c61cc912e3b6ef911323e958f77e7d2f03f
Currently install-build-deps-android.sh installs g++-multilib which
conflicts with packages installed by install-build-deps.sh (since
gcc-multilib contains a /usr/include/asm symlink and the crosscompiler
packagers don't want you to accidentally include the wrong
architecture's asm headers).
The g++-multilib package was wrongly commented as being required for
Android SDK; it turns out these requirements have changed, so I
updated the libraries required for the Android SDK based on their docs.
g++-4.8-multilib is however still (likely) needed, alongside
linux-libc-dev:i386, for compiling the V8 snapshot. So I've
consolidated those deps, and the logic for selecting them, under the
--lib32 flag of install-build-deps (to avoid duplicating the code in
both). I updated the `if (trusty) install g++-4.8-multilib` logic so
it chooses the right version of the multilib automatically, rather
than hardcoding the version needed for trusty (which will break in
utopic or beyond).
Finally I removed the `sudo apt-get update` in
install-build-deps-android which is redundant now that we call
install-build-deps which already does that. And I added `sudo dpkg
--add-architecture i386` which seems to have been missing from these
scripts.
BUG=435056
Review URL: https://codereview.chromium.org/740963002
Cr-Original-Commit-Position: refs/heads/master@{#305991}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 49bb458a54a0e959f91ef612c79fad89e7d65c91
The package python-opencv recently added to install-build-deps depends on the python-numpy package. However, on Ubuntu 12.*, the package manager doesn't know about this dependency, so python-opencv crashes without explicitly installing python-numpy.
So basically, this just explicitly lists a dependency that already was a dependency.
BUG=424345
Review URL: https://codereview.chromium.org/744883002
Cr-Original-Commit-Position: refs/heads/master@{#305214}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f041a51d5b0fd89519aa0d5dc772d658723a29a6
dpks-query is spamming stderr when the packages we query are not found.
Silencing stderr for dpkg-query.
BUG=429719
NOTRY=true
Review URL: https://codereview.chromium.org/695373002
Cr-Original-Commit-Position: refs/heads/master@{#302457}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b83ed9b4f2089e06fa6aa1808f85eae7c34ebd01
In order for us to support OAuth-authenticated access to Rietveld, we
need to be able to generate signed authorization requests in the Rietveld
upload scripts. That requires us to have either the python OpenSSL wrappers
plus OpenSSL itself installed, or to use the python pyCrypto library.
Currently the bots use python-openssl, but don't work on Windows as a result.
We add the python-openssl wrapper to be consistent, but want to switch
to pycrypto, so once we have all the bots using pycrypto, we can drop
python-openssl from the list.
R=thestig@chromium.org
BUG=371620, 375971
NOTRY=true
Review URL: https://codereview.chromium.org/287053007
Cr-Original-Commit-Position: refs/heads/master@{#297021}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fedbbb0aa762826ba2fc85a2b934dc9660639aa7
BUG=chromium:410129
TEST=remove linux-libc-dev:i386 then run ninja -> fails
TEST=install linux-libc-dev:i386 then run ninja -> works
Review URL: https://codereview.chromium.org/593573002
Cr-Original-Commit-Position: refs/heads/master@{#296231}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 34687555d4f325291d0c660dda2f6970f8df5b9a
This package makes avconv available which is used by Telemetry benchmarks to
decode mpg video captures from Android devices into Bitmaps which can be
processed frame-by-frame.
Installing this package allows the benchmarks to work on the bots.
BUG=388910
Review URL: https://codereview.chromium.org/339183012
git-svn-id: http://src.chromium.org/svn/trunk/src/build@280208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
crrev.com/106633002 has recently introduced a dependency on libgbm-dev.
Unfortunatelly, this package is a bit more trickier to install, for the
following reason: it depends on mesa-glx and, conversely to most of the
other packages, only one version of mesa (w.r.t backports) can exist in
the system. Google's workstations are configured to use the -lts-saucy
version of mesa. The right package in this case is libgbm-dev-lts-saucy
and attempting to install just libgbm-dev ends up in a failure.
This change fixes install-build-deps.sh, installing the matching version
of libgbm-dev (w.r.t libgl1-mesa-glx), falling back to libgbm-dev.
BUG=
NOTRY=true
Review URL: https://codereview.chromium.org/344623002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@278433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Aside from accepting the new lsb distro name that only
changes needed were to the arm cross compile packages
list. This was reduced a minimal set. Also gcc-multilib
in Trust conflicts with the arm cross compiler so we
use gcc-4.8-multilib here instead.
NOTRY=true
Review URL: https://codereview.chromium.org/294663013
git-svn-id: http://src.chromium.org/svn/trunk/src/build@272035 4ff67af0-8c30-449e-8e8b-ad334ec8d88c