Граф коммитов

231 Коммитов

Автор SHA1 Сообщение Дата
kjellander 53b5a6a762 Fix case error in install-build-deps.sh
It appears the "*" path in the case statement is never
matched due to the double-quotes (tested with bash 4.3.11 on
Trusty 14.04). Removing the quoting aligns with other case
statements in the script, and solves the problem. This bug
made https://codereview.chromium.org/2650823010 not have any
effect, which was discovered when deploying ARM 64 bots for
WebRTC.

BUG=684356,webrtc:7024

Review-Url: https://codereview.chromium.org/2790453002
Cr-Original-Commit-Position: refs/heads/master@{#460733}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 95504aea9818ec4e593358d0373f9c41531a3b67
2017-03-30 12:30:31 +00:00
thomasanderson ee47daef90 install-build-deps: Remove support for EOL distros
This CL
* Removes support for Precise, Utopic, Vivid, and Wily.
  * Precise is not really EOL, but Chrome no longer supports it.
* Fixes install-build-deps.sh on Yakkety.

R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2774743002
Cr-Original-Commit-Position: refs/heads/master@{#460187}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 05c4029f2ac708568f984a5ce4d75eabca12a915
2017-03-28 19:28:45 +00:00
thomasanderson 2930f010f7 Add libgtk-3 to install-build-deps.sh
This CL adds the following packages to install-build-deps.sh:
libgtk-3-dev
libgtk-3-0
libgtk-3-0-dbg
libgtk-3-0:i386

In addition, it also refactors dev_list, lib_list, dbg_list, and
nacl_list so that each package is on a separate line.  It was getting
ridiculous reformatting everything every time a new package was added.

BUG=695541
R=dpranke@chromium.org
CC=thestig@chromium.org,erg@chromium.org

Review-Url: https://codereview.chromium.org/2730523002
Cr-Original-Commit-Position: refs/heads/master@{#454118}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 20032a5cd3037ac303100cae6585e279d6908c23
2017-03-02 00:28:20 +00:00
friedman bd3d6f57f3 Fix arm-list for Precise (binutils-aarch64-linux-gnu doesn't exist there)
R=kjellander@chromium.org, mcgrathr@chromium.org, thakis@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2708913005
Cr-Original-Commit-Position: refs/heads/master@{#452232}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0eef9e491c2d50e0c8506aff89c1759bd3bb2348
2017-02-22 22:21:22 +00:00
kjellander 8a46c81b62 Add binutils-aarch64-linux-gnu to support Linux ARM64 build.
This is needed to avoid AR errors in build/toolchain/gcc_ar_wrapper.py
during compile when building for Linux ARM64.
The size of thew new dependency is ~19MB on Linux.

BUG=684356,webrtc:7024

Review-Url: https://codereview.chromium.org/2650823010
Cr-Original-Commit-Position: refs/heads/master@{#446656}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 74c7e4b3a075d01cb9f04b8c746fa8bc888ed768
2017-01-27 13:15:44 +00:00
marcin 9cde9c94fc Supporting Ubuntu 16.10 in scripts for getting Android Chromium
Review-Url: https://codereview.chromium.org/2608733005
Cr-Original-Commit-Position: refs/heads/master@{#441479}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 73929a70f66473ab4be0f6431721b1728b3db019
2017-01-04 22:07:51 +00:00
thomasanderson a1be66142b Add jessie support to install-build-deps.sh
This CL
- Enables jessie support in install-build-deps.sh
- Adds a note in linux_build_instructions.md about adding the
  'contrib' component in sources.list.
- Fixes a bug in package_exists where if a ppa is added, a package is
  installed from it, and then the ppa is removed, and the package is
  removed but not purged, package_exists would still return true for
  the package.

R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2556133003
Cr-Original-Commit-Position: refs/heads/master@{#437198}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b4a2bcaef478f19b5a244d5102b412dea5372ecd
2016-12-08 06:48:04 +00:00
thomasanderson 53448a6ec0 install-build-deps: install locales using locale-gen
Previously we were installing Ubuntu language packs to just for their locales.
According to apt, these packages took up ~25Mb of space, and the packages are
not available on Debian.  This CL uses locale-gen to generate the needed locales
instead.

The locales are only needed in the following tests:
fr_FR.UTF-8: TimeFormatBrowserTest.DecimalPointNotDot
da_DK.UTF-8: LocaleTestDanish.TestStart
he_IL.UTF-8: LocaleTestHebrew.TestStart
zh_TW.UTF-8: LocaleTestTraditionalChinese.TestStart

R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2559463004
Cr-Original-Commit-Position: refs/heads/master@{#437136}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5ef5c3d2c48d8ae8cb9b90376649688b35ce2057
2016-12-08 02:01:47 +00:00
thomasanderson 6c640b4a5c install-build-deps: support debian armhf packages
R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2553853002
Cr-Original-Commit-Position: refs/heads/master@{#437020}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4e3d30fe2c702f521b7939ac0b040f36dc07260c
2016-12-07 19:00:58 +00:00
anthonyvd f36a5225a3 Revert of Add check_build_deps step to gclient runhooks (patchset #2 id:20001 of https://codereview.chromium.org/2505413003/ )
Reason for revert:
This change breaks the following bot: http://build.chromium.org/p/chromium.linux/builders/Cast%20Android%20%28dbg%29/builds/56654

This appears to be the intended behavior of the change, although the bots should probably not break when it lands to avoid a closed tree.

Original issue's description:
> Add check_build_deps step to gclient runhooks
>
> This CL adds a build hook to ensure that any necessary build
> dependencies are installed before proceeding with the
> build.  A failure would indicate install_build_deps.sh
> needs to be rerun.
>
> BUG=666937
> R=dpranke@chromium.org
>
> Committed: https://crrev.com/e8942c0a68a986313e2927de584a644c8d21b230
> Cr-Commit-Position: refs/heads/master@{#433603}

TBR=dpranke@chromium.org,thomasanderson@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=666937

Review-Url: https://codereview.chromium.org/2521733002
Cr-Original-Commit-Position: refs/heads/master@{#433611}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2ae919e5336c1d4a3a3455f82f85cdd06162d2f1
2016-11-21 19:51:14 +00:00
jack 3757242f1c Add IPA Fonts to install-build-deps.*.
I'm preparing to replace kochi-gothic.ttf and kochi-mincho.ttf,
which were deprecated [1] and dropped from Debian and Ubuntu [2].

[1] https://packages.debian.org/wheezy/ttf-kochi-gothic
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726382#33

BUG=665515

Review-Url: https://codereview.chromium.org/2519793002
Cr-Original-Commit-Position: refs/heads/master@{#433604}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f3d98882c70a1b44431bf3e75b457c56d6e02347
2016-11-21 19:40:26 +00:00
thomasanderson a3dd5f3408 Add check_build_deps step to gclient runhooks
This CL adds a build hook to ensure that any necessary build
dependencies are installed before proceeding with the
build.  A failure would indicate install_build_deps.sh
needs to be rerun.

BUG=666937
R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2505413003
Cr-Original-Commit-Position: refs/heads/master@{#433603}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e8942c0a68a986313e2927de584a644c8d21b230
2016-11-21 19:37:28 +00:00
thomasanderson fb9822b974 Fix install-build-deps.sh --quick-check
The algorithm we were using to parse the output of dpkg-query was out of date because the format changed.

This CL tries to make as little assumptions as possible about the output of dpkg-query, using the return code to determine failure instead of the output.  However, we still rely on the last word of an error message being a package name, although this is only used to display which packages are missing.

BUG=666937
R=mmoss@chromium.org,dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2519523002
Cr-Original-Commit-Position: refs/heads/master@{#433327}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 73b3a441a128d14c81bed7afc981d35f0f401f1d
2016-11-18 23:18:58 +00:00
horo b079e2922a Revert of Replace kochi-*.ttf with IPA Fonts. (patchset #3 id:40001 of https://codereview.chromium.org/2500063003/ )
Reason for revert:
Looks like caused many failures in webkit_tests.

BUG=665693

Original issue's description:
> Replace kochi-*.ttf with IPA Fonts.
>
> kochi-gothic.ttf and kochi-mincho.ttf were deprecated [1]
> and dropped from Debian and Ubuntu [2].
> They were replaced with ipag.ttf and ipam.ttf (fonts-ipafont package).
>
> [1] https://packages.debian.org/wheezy/ttf-kochi-gothic
> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726382#33
>
> BUG=665515
>
> Committed: https://crrev.com/a15698acc363af3e3b28543135e765019ef709a1
> Cr-Commit-Position: refs/heads/master@{#432306}

TBR=thomasanderson@chromium.org,asvitkine@chromium.org,msw@chromium.org,derat@chromium.org,thomasanderson@google.com,thakis@chromium.org,jack@nottheoilrig.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=665515

Review-Url: https://codereview.chromium.org/2504863002
Cr-Original-Commit-Position: refs/heads/master@{#432371}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 233d31c7c642db349b8d127d333c9672acc52eca
2016-11-16 03:47:34 +00:00
jack 0c7aa6f96f Replace kochi-*.ttf with IPA Fonts.
kochi-gothic.ttf and kochi-mincho.ttf were deprecated [1]
and dropped from Debian and Ubuntu [2].
They were replaced with ipag.ttf and ipam.ttf (fonts-ipafont package).

[1] https://packages.debian.org/wheezy/ttf-kochi-gothic
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726382#33

BUG=665515

Review-Url: https://codereview.chromium.org/2500063003
Cr-Original-Commit-Position: refs/heads/master@{#432306}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a15698acc363af3e3b28543135e765019ef709a1
2016-11-16 00:17:33 +00:00
thomasanderson 5e9f10f067 Linux: Add xcb to install-build-deps
BUG=634085

Review-Url: https://codereview.chromium.org/2212143002
Cr-Original-Commit-Position: refs/heads/master@{#409955}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 41f9e395f017af1d8c3c2b51f13e404445ba5f07
2016-08-05 00:52:16 +00:00
thakis 5e212360a9 "up-to-date" should only use hyphens when used as compound modifier of a noun
See bug, apparently it's "an up-to-date thing" but "thing is up to date".
The bug is only about grd files, but I went through `git grep -l up-to-date`
while I was at it.

BUG=344535
TBR=IPC owner
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;tryserver.blink:linux_blink_rel

Review-Url: https://codereview.chromium.org/2059143002
Cr-Original-Commit-Position: refs/heads/master@{#399698}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3e861deabe8e47db274ed779acc1a3b80837e16d
2016-06-14 14:25:32 +00:00
j.isorce c6b5752d42 Add xcompmgr to install-build-deps.sh
xcompmgr is a simple compositor manager to work with Xvfb.
It will be started by testing/xvfb.py in addition to Xvfb and
openbox, to make use of --enable-transparent-visuals in unit tests.

BUG=614512

R=danakj@chromium.org, dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2008313002
Cr-Original-Commit-Position: refs/heads/master@{#395899}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5ecfacff9a836ea69334bc3d3526bae91d621ad9
2016-05-25 16:10:24 +00:00
vadimsh 0b6bad6e2f Always install xfonts-mathml package if it is available.
It contains "Symbol" font used by gfx_unittests.

The package was effectively removed from install-build-deps in
https://codereview.chromium.org/1580663002. Looks like it doesn't exist in
Ubuntu 15.10. So use 'package_exists' check before attempting to install it.

R=dpranke@chromium.org
BUG=610784

Review-Url: https://codereview.chromium.org/1998443002
Cr-Original-Commit-Position: refs/heads/master@{#394611}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 278ff066e18d726f7273263c6e2b9c71a7722397
2016-05-19 00:08:05 +00:00
krasin 0142b02692 build/install-build-deps.sh: support Ubuntu 16.04 (xenial).
BUG=

Review URL: https://codereview.chromium.org/1910283002

Cr-Original-Commit-Position: refs/heads/master@{#388983}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eef3d4b229af09da83a2dfee8fe691c2874c0d36
2016-04-22 00:53:34 +00:00
friedman 4938a88ade Updating install-build-deps.sh to fix dependency issues in wily
Here's my testing:

% /tmp/case_test.sh precise
dummy-package_1 dummy-package_2

% /tmp/case_test.sh trusty
dummy-package_1 dummy-package_2 g++-4.8-multilib-arm-linux-gnueabihf gcc-4.8-multilib-arm-linux-gnueabihf

% /tmp/case_test.sh wily
dummy-package_1 dummy-package_2 g++-5-multilib-arm-linux-gnueabihf gcc-5-multilib-arm-linux-gnueabihf gcc-arm-linux-gnueabihf

% cat /tmp/case_test.sh
lsb_release=$1
arm_list="dummy-package_1
          dummy-package_2"
case $lsb_release in
  trusty)
    arm_list+=" g++-4.8-multilib-arm-linux-gnueabihf
                gcc-4.8-multilib-arm-linux-gnueabihf"
    ;;
  wily)
    arm_list+=" g++-5-multilib-arm-linux-gnueabihf
                gcc-5-multilib-arm-linux-gnueabihf
                gcc-arm-linux-gnueabihf"
    ;;
esac
echo $arm_list

R=dpranke@chromium.org
BUG=435056

Review URL: https://codereview.chromium.org/1909713002

Cr-Original-Commit-Position: refs/heads/master@{#388652}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bf8b90af01f4e821a56d9c4a3dcfd908ecaa5837
2016-04-21 01:18:38 +00:00
ellyjones b29e9ac7d1 install-build-deps: fix syntax error
If you run this script on an unsupported platform, you get:

  are currently supported: command not found

BUG=

Review URL: https://codereview.chromium.org/1881043005

Cr-Original-Commit-Position: refs/heads/master@{#387093}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bc90a3e5e6cf04d92dd57300f0d26b1aa0cbbe96
2016-04-13 21:18:42 +00:00
tommycli b1ea05e4e6 Reland: Media Galleries Partial Deprecation: Remove image metadata & libexif.
This relands https://codereview.chromium.org/1773233002/.

Original description:

Media Galleries Partial Deprecation: Remove image metadata & libexif.

Removing libexif is a great thing.

It will remove a ~200KB DLL from Windows, Mac, and ChromeOS. It will remove bugs and security issues.

BUG=542912,577272
TBR=

Review URL: https://codereview.chromium.org/1803883002

Cr-Original-Commit-Position: refs/heads/master@{#381121}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cd96b6f874573d7089bf2eb9d54ed53d7469bb56
2016-03-14 23:58:38 +00:00
erikchen 8c7bcc1246 Revert of Media Galleries Partial Deprecation: Remove image metadata & libexif. (patchset #6 id:100001 of https://codereview.chromium.org/1773233002/ )
Reason for revert:
Causes build errors on official waterfall.

https://bugs.chromium.org/p/chromium/issues/detail?id=593580

Original issue's description:
> Media Galleries Partial Deprecation: Remove image metadata & libexif.
>
> Removing libexif is a great thing.
>
> It will remove a ~200KB DLL from Windows, Mac, and ChromeOS. It will remove bugs and security issues.
>
> BUG=542912,577272
>
> Committed: https://crrev.com/f3890c75101ff9b07f48aed992285cc45bf5b4d5
> Cr-Commit-Position: refs/heads/master@{#380306}

TBR=phajdan.jr@chromium.org,rdevlin.cronin@chromium.org,thakis@chromium.org,tommycli@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=542912,577272

Review URL: https://codereview.chromium.org/1791623002

Cr-Original-Commit-Position: refs/heads/master@{#380852}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0978e4ebde4a1c07f4e8da88cc9daa7732a63b1a
2016-03-12 04:50:55 +00:00
tommycli 0d98be496d Media Galleries Partial Deprecation: Remove image metadata & libexif.
Removing libexif is a great thing.

It will remove a ~200KB DLL from Windows, Mac, and ChromeOS. It will remove bugs and security issues.

BUG=542912,577272

Review URL: https://codereview.chromium.org/1773233002

Cr-Original-Commit-Position: refs/heads/master@{#380306}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f3890c75101ff9b07f48aed992285cc45bf5b4d5
2016-03-10 02:15:45 +00:00
torne 2318fa6bf7 Silence dpkg-query errors in install-build-deps.
On leading-edge Ubuntu versions there are no LTS backport packages, and
dpkg-query prints an error about nothing matching the wildcard to
stderr, which has caused at least one user to think the script didn't
install mesa correctly. The script handles this case just fine, though
(it expands to an empty array and sets mesa_variant to emptystring,
whcih is correct), so just redirect stderr to avoid this spurious error
message.

BUG=

Review URL: https://codereview.chromium.org/1721763003

Cr-Original-Commit-Position: refs/heads/master@{#377332}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 12cd9f6cf09631a18f11f123cc02e753dfcaa199
2016-02-24 18:54:06 +00:00
mostynb 9f4b949d37 update obsolete code.google.com documentation links
This is a documentation-only change.

Disabling presubmit checks, due to "noparent" settings for the following files:
components/policy/resources/policy_templates.json
content/common/font_config_ipc_linux.h

BUG=567488
NOPRESUBMIT=true
TBR=atwilson,dcheng

Review URL: https://codereview.chromium.org/1592403002

Cr-Original-Commit-Position: refs/heads/master@{#374213}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: df175a8c3d1c1060f96d123a5896fdfbe4b3782d
2016-02-08 23:28:49 +00:00
halton.huo cb63c8c1ab Add support for ubuntu 15.10(wily) to install-build-deps.[sh|py]
Use new package names on 15.10 conditionally:
  apache2.2-bin -> apacahe2-bin
  xfonts-mathml -> fonts-stix

BUG=None

Review URL: https://codereview.chromium.org/1580663002

Cr-Original-Commit-Position: refs/heads/master@{#370310}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3e728c40b36cb9ea3c6bd12fc272f145fb2bb06e
2016-01-20 05:13:18 +00:00
reveman 01b1b1931e build: Add libffi as a build dependency on linux.
libffi is already a run-time dependency as libgobject depends on it.

BUG=549782

Review URL: https://codereview.chromium.org/1410093009

Cr-Original-Commit-Position: refs/heads/master@{#358662}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dd26069ac26c43fcb8628e61eb6d45cc1f696f01
2015-11-09 21:40:17 +00:00
torne 7283999c65 Improve install-build-deps mesa handling.
Instead of hardcoding a list of which LTS variants of mesa might be
installed, just query for any package that matches the expected pattern
and if exactly one is installed, use that. If zero are installed, use
the base package. There shouldn't be more than one as these packages
conflict with each other, so just abort if that happens.

This avoids needing to extend the loop in this script every time a new
Ubuntu backport package is added.

BUG=

Review URL: https://codereview.chromium.org/1434453002

Cr-Original-Commit-Position: refs/heads/master@{#358039}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8a6eb6958e85d742f70a8cc4c85a24c5efa93cee
2015-11-05 12:43:59 +00:00
ki.stfu ea648b32fc Fix a detection of 64-bit architecture
This CL fixes a detection of 64-bit architecture when /sbin/init is
symlink. On Ubuntu 15.04, /sbin/init is symlink to /lib/systemd/systemd
and therefore the |file| command doesn't show anything except the path
it refers to.

BUG=
TEST=
R=primiano@chromium.org,sbc@chromium.org,scottmg@chromium.org

Review URL: https://codereview.chromium.org/1300613002

Cr-Original-Commit-Position: refs/heads/master@{#349373}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0a79d699ff6d87346347aa0f2d91d8e5dddd6924
2015-09-17 07:27:57 +00:00
abarth 8bcb87add0 Add python-yaml to install-build-deps
We'd like to use the |yaml| Python package to parse yaml files.

R=cjhopman@chromium.org

Review URL: https://codereview.chromium.org/1219623009

Cr-Original-Commit-Position: refs/heads/master@{#336913}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: df3a88fdd315c9fe3d7a65850d919e976dd2d6b2
2015-06-30 23:25:17 +00:00
dnj 5d594b2b14 Add "realpath" to CrOS build deps.
"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
2015-05-26 21:08:41 +00:00
halton.huo 41c5278bf7 Add support for ubuntu 15.04(vivid) to install-build-deps.sh
Added vivid in list of supported version.

BUG=

Review URL: https://codereview.chromium.org/1107303002

Cr-Original-Commit-Position: refs/heads/master@{#327638}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4840525ace73064dcea470fb8f97fae0b291a7a4
2015-04-30 01:53:15 +00:00
sbc 94416e3284 Fix dependency issue with install-build-deps.sh on Trusty
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
2015-04-01 17:49:41 +00:00
sbc f9ce079ee8 Restore 'apt-get update' in install-build-deps.sh
This was accidentally commented out in 6ab44c36
(See: https://codereview.chromium.org/913183004)

BUG=none

Review URL: https://codereview.chromium.org/1048293002

Cr-Original-Commit-Position: refs/heads/master@{#323158}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4256409b82ce6c756f8ee45778c1276efbcba170
2015-04-01 01:02:28 +00:00
thestig 8af40307fd Linux: Remove support for EOL distros in install-build-deps.sh.
Review URL: https://codereview.chromium.org/1002623005

Cr-Original-Commit-Position: refs/heads/master@{#321533}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 83d03506fd8642cd9fb66f59104c1c1a5ef0c358
2015-03-20 08:07:07 +00:00
lfg bf5425a06c Fixing install-build-deps.sh to install the correct version of libstdc++ with debugging symbols.
Review URL: https://codereview.chromium.org/1007893004

Cr-Original-Commit-Position: refs/heads/master@{#321011}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ad917d11c19c9ca8bda612e9a566168f3d445578
2015-03-17 23:28:28 +00:00
vabr f59d344146 Fix installation of libgl1-mesa-dev and mesa-common-dev in install-build-deps.sh
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
2015-03-17 10:57:26 +00:00
sbc e8a433670f Add libssl1.0.0:i386 to install-build-deps.sh for naclports
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
2015-02-13 23:19:54 +00:00
johnme ec66d6b1f7 Fix install-build-deps.sh --quick-check on Trusty
Sort :i386 packages to the front to avoid confusing dpkg-query;
see https://crbug.com/446172 for details.

BUG=446172

Review URL: https://codereview.chromium.org/795253007

Cr-Original-Commit-Position: refs/heads/master@{#310079}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4bd1030a750284a3c2f75757f7d686f269bf9690
2015-01-06 11:26:33 +00:00
samahto 373ce93a56 Add support for ubuntu 14.10(utopic) to install-build-deps.sh
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
2014-12-02 10:46:53 +00:00
johnme a522971031 Fix g++-multilib conflict between install-build-deps scripts
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
2014-11-27 15:45:59 +00:00
mthiesse ab4fdcc2a1 Explicitly add python-numpy dependency to install-build-deps.
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
2014-11-21 14:29:11 +00:00
primiano ef2a43c6dd Suppress stderr on mesa package detection in install_build_deps.sh
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
2014-11-03 19:03:11 +00:00
mthiesse 0ca824869b Add openCV dependency to install-build-deps.sh
Context: https://codereview.chromium.org/660893002/

BUG=424345

Review URL: https://codereview.chromium.org/646033009

Cr-Original-Commit-Position: refs/heads/master@{#301404}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 776da3a896a263d1edd906e6d29e4faad63c9d73
2014-10-27 19:29:15 +00:00
dpranke 5b727a6b3a Add python-crypto and python-openssl for rietveld uploads to work w/ oauth.
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
2014-09-26 20:24:05 +00:00
wnhuang ff0580056f Add missing linux-libc-dev:i386 package to arm_list
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
2014-09-23 20:56:18 +00:00
Henrik Kjellander 8aacc0c463 Add cdbs to install-build-deps
The Common Debian Build System (cdbs) is needed for
packaging .deb files in some configurations.

http://packages.ubuntu.com/search?keywords=cdbs
shows that it's available for all common Ubuntu
distributions.
On Precise and Trusty, the package is very small (~40kB),
so it shouldn't have much impact on users.

TESTED=ran install-build-deps.sh on Ubuntu Precise.
R=friedman@chromium.org

Review URL: https://codereview.chromium.org/531513002

Cr-Original-Commit-Position: refs/heads/master@{#295674}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 011f9c8ea361aab4ab654563ee53b650231630c3
2014-09-19 07:29:08 +00:00
Brad Nelson fcb7abbd2b Adding libaries needed to build x11 naclport + refactor.
Adding xutils-dev for naclport of xorg-server.
Adding intltool for xkeyboard-config.

NOTRY=true
BUG=None
TEST=None
R=sbc@chromium.org

Review URL: https://codereview.chromium.org/545013003

Cr-Original-Commit-Position: refs/heads/master@{#293604}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5e59c2c1bfb07c78d8170c9b41c6d275bb5a42f8
2014-09-06 06:20:43 +00:00