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

245 Коммитов

Автор SHA1 Сообщение Дата
Tom Anderson 572016ddad install-build-deps.sh: Fix package_exists
package_exists() used to check if the output of 'apt-cache search' was nonempty
to check if a package is available for install.  But it does not work in some
cases.  For example, on Debian Testing, libgtk-3-0-dbg is not available, but
libgtk-3-0-dbgsym is.  This package would show up in the apt-cache output and we
would incorrectly determine that libgtk-3-0-dbg was available.  Additionally,
there can be more than one package that is listed.

This CL does a check for the exact package name.

BUG=785818
R=dpranke@chromium.org

Change-Id: Ic81f1c059223e3cec643e116dea26b30c9ac75f1
Reviewed-on: https://chromium-review.googlesource.com/791371
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#519415}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9c70eb73a314e3f164b0f4ad6ad9bde679f549a0
2017-11-27 21:47:38 +00:00
Dominik Röttsches 273aad6ff8 Download an initial set of third_party fonts from cloud storage
This should help to run layout tests on a more diverse set of Linux
distributions and avoid running into differences in font target file
name differences for common font packages.

We should move as much as possible of the test fonts for layout tests
from distribution packages to our own mechanism.

Modeled after a previously used approach for blimp fonts, compare
https://codereview.chromium.org/1776133002/

Bug: 772116
Change-Id: Ia1929d3d22a047d540f841741f5e9a369142e1b6
Reviewed-on: https://chromium-review.googlesource.com/725809
Commit-Queue: Dominik Röttsches <drott@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Justin Schuh <jschuh@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#517350}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f49ef761da1fc44dd41589b1ccd32ac54791cecb
2017-11-17 09:26:31 +00:00
Tom Anderson 27e9dd8656 Unversion libdbus symbols in Linux sysroot
BUG=751812
R=thestig@chromium.org
TBR=dpranke@chromium.org

Change-Id: Ib372e897e0ea37ea7274d08f40affca3be4c1e29
Reviewed-on: https://chromium-review.googlesource.com/764588
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#515818}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 81e7f179103597820ffd01269c2740e8e8815b82
2017-11-11 03:56:33 +00:00
marcin c5d82db641 Add Ubuntu 17.10 and remove 16.10 (EOL) for install-build-deps.sh
Bug: 
Change-Id: If2a9409b0f1db115e67cb63d7adea4634ab574e9
Reviewed-on: https://chromium-review.googlesource.com/736729
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#512425}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 38933dd9350f5142c711241167b7def029626a48
2017-10-30 00:05:52 +00:00
Tim Brown b3765543a0 Reland "Add libdconf-dev to to install-build-deps.sh"
Test: Manually installed packages to make sure no conflict

This is a reland of 5b267c0c4ffb22f07bea43853567c0b8a2ab9c21
Original change's description:
> Add libdconf-dev to to install-build-deps.sh
> 
> This is the first step in moving from using gconf to dconf.
> 
> Bug: 768027
> Change-Id: Ifb05a6679c38e115b322e0a7caa6c3aad309389e
> Reviewed-on: https://chromium-review.googlesource.com/691097
> Commit-Queue: Tim Brown <timbrown@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#505183}

Bug: 768027
Change-Id: I151d1c1e708fa763f3d2d5a4a18b44bfdbe351fd
Reviewed-on: https://chromium-review.googlesource.com/692616
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Tim Brown <timbrown@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#505437}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 357bdbf7f33061d9ecf3052813cced0e9da45498
2017-09-29 19:11:29 +00:00
Dmytro Golovchenko a8cbb627f0 Revert "Add libdconf-dev to to install-build-deps.sh"
Script is failing on goobuntu-trusty_desktop-stable-amd64 due to packages conflict:
The following packages have unmet dependencies:
 libdconf-dev : Conflicts: libdconf-dev:i386 but 0.20.0-1 is to be installed
 libdconf-dev:i386 : Depends: libglib2.0-dev:i386 (>= 2.25.7) but it is not going to be installed
                     Recommends: libdconf-doc:i386 but it is not installable
                     Conflicts: libdconf-dev but 0.20.0-1 is to be installed

This reverts commit 5b267c0c4ffb22f07bea43853567c0b8a2ab9c21.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Add libdconf-dev to to install-build-deps.sh
> 
> This is the first step in moving from using gconf to dconf.
> 
> Bug: 768027
> Change-Id: Ifb05a6679c38e115b322e0a7caa6c3aad309389e
> Reviewed-on: https://chromium-review.googlesource.com/691097
> Commit-Queue: Tim Brown <timbrown@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#505183}

TBR=dpranke@chromium.org,thomasanderson@chromium.org,timbrown@chromium.org

Change-Id: Icec37c78711a2016667ee7f134d5db49b918b7d2
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 768027
Reviewed-on: https://chromium-review.googlesource.com/692974
Commit-Queue: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#505391}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3cd469287f3ce7290d3bfe3f1971aa529b6b1303
2017-09-29 16:40:27 +00:00
Tim Brown 783e3bb6cd Add libdconf-dev to to install-build-deps.sh
This is the first step in moving from using gconf to dconf.

Bug: 768027
Change-Id: Ifb05a6679c38e115b322e0a7caa6c3aad309389e
Reviewed-on: https://chromium-review.googlesource.com/691097
Commit-Queue: Tim Brown <timbrown@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#505183}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5b267c0c4ffb22f07bea43853567c0b8a2ab9c21
2017-09-28 22:08:00 +00:00
Tom Anderson c4d63f1a67 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).

This CL is a Gerrit reupload of Rietveld CL [3].

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

BUG=665515
R=dpranke@chromium.org,thakis@chromium.org
CC=jack@nottheoilrig.com

Change-Id: I4200db2632f9b9b930c8602d3ca93666c732f702
Reviewed-on: https://chromium-review.googlesource.com/633805
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#497918}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: deeebba6d6e765be897e8ffaac7ad18849ba12c1
2017-08-28 23:01:11 +00:00
Andrew Grieve b95ce80d77 Add "locales" package to install-build-deps.sh
Provides locale-gen, which install-build-deps.sh itself requires.

Bug: 757518
Change-Id: I74352a2e44d70c214423060a6aeb57c240c5f036
Reviewed-on: https://chromium-review.googlesource.com/624524
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#496056}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e41aeaed051c8cc401e0bce2a6d57dcc330808e6
2017-08-21 20:53:21 +00:00
Tom Anderson 4c0f95ff7a Add x11-utils to install-build-deps.sh
xdpyinfo from the package x11-utils is necessary for run-webkit-tests.

BUG=749222
R=dpranke@chromium.org

Change-Id: I4ee4d880895e56c947741debdaa2095f03efc91e
Reviewed-on: https://chromium-review.googlesource.com/601354
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#492466}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d79de41d48ab8813d3793d8df5c6bafe4d77b6ab
2017-08-08 00:23:23 +00:00
marcin e9a431763e Adding support for Ubuntu 17.04 for install-build-deps.sh
Bug: 
Change-Id: If144613a6ce43dcac7943623442698c3bcfaf8c0
Reviewed-on: https://chromium-review.googlesource.com/554079
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#483624}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3a0793ae0128c73d8731ee5b0c8434fe4980b6cf
2017-06-30 03:51:28 +00:00
Tanin Na Nakorn 0312f982ba Add libpci3:i386 for install-build-deps.sh --lib32
Bug: 727722
Change-Id: I3170d3cf587f8afa8cdcf2fc96d69fbea69543b6
Reviewed-on: https://chromium-review.googlesource.com/518306
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Tanin Na Nakorn <tanin@google.com>
Cr-Original-Commit-Position: refs/heads/master@{#475684}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6cbe32e557082c3bcff97ca94bd881bcd37b1549
2017-05-30 22:05:44 +00:00
thomasanderson 3532f276d6 install-build-deps: Remove dpkg armhf architecture
No armhf binary packages are needed, so this CL removes 'dpkg
--add-architecture armhf'.  Only armhf cross-compiler tools are needed
(for the host architecture).

R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2901093008
Cr-Original-Commit-Position: refs/heads/master@{#474529}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ebf58c8008b059bbad0dee9d61f147b9cb85fcd0
2017-05-25 02:29:09 +00:00
thomasanderson f49dc308ed install-build-deps.sh: Support debian stretch
R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2847833002
Cr-Original-Commit-Position: refs/heads/master@{#469235}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dfefc6c0af8e45eb85780db91150380a3da6f49a
2017-05-04 01:29:11 +00:00
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