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

291 Коммитов

Автор SHA1 Сообщение Дата
Tom Anderson bc497ad7d6 Add snapcraft to install-build-deps
This is needed for building the snap package on the CQ/CI bots.

BUG=1055026
R=thestig

Change-Id: I7da96dd382e629c166357b90a4a700289673682d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2068869
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#743750}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e1fc6aa467ab64db271e5b98302cd5cd549b7227
2020-02-22 01:38:36 +00:00
Sean McAllister da0020f4ac support libbrlapi-0.7 when installing build dependencies
Change-Id: I374fd452155ff8e9db96908f40ca98030fb12c80
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2062921
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Sean McAllister <smcallis@google.com>
Cr-Original-Commit-Position: refs/heads/master@{#742348}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b611f442e4931d372db424086254dc7fe50150c8
2020-02-18 22:46:47 +00:00
Tom Anderson d353c63091 Conditionally install libinput based on availability
libinput is not available on Trusty.

BUG=1034916
R=friedman

Change-Id: Ic408cb7b2a1c28e6d4fec10e1c4b4a50c9c8b414
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1980904
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Elliott Friedman <friedman@chromium.org>
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Elliott Friedman <friedman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#727203}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d5173731b4c596817d724eca39caa9b970587aae
2019-12-23 19:24:14 +00:00
Tom Anderson 20231db387 Move Linux documents to a subdir
There were 32 linux documents in docs. It's getting out of hand, so lets
move them to a subdirectory.

R=sky,jorgelo
CC=thestig
BUG=None

Change-Id: Ib7de415c72fe6ec3c51dc2b28f06b34487b5b6d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1974901
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#726499}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9f5be07962f0dca72f17ab978df836a29e06dd7e
2019-12-19 20:54:32 +00:00
Tom Anderson 0afeb947e2 Add evdev, input, drm, gbm, and vulkan libs to build deps
BUG=1034916,1031269,1034606
R=msisov

Change-Id: I30a000d89aeff9dceed4f3ccf3b310e55a3c8456
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1972511
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Maksim Sisov <msisov@igalia.com>
Reviewed-by: Maksim Sisov <msisov@igalia.com>
Cr-Original-Commit-Position: refs/heads/master@{#725653}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 25a7c92e33e14056db725a436dd2b9aa6e8a01b7
2019-12-17 20:09:44 +00:00
Marcin 11786d1103 Upgrading build scripts for Ubuntu 19.10
CL is providing necessary changes to scripts to allow
them installing necessary libs for building Android version.

Change-Id: If93bc950fa5a2c51bc2668cd59f5d12af23cf872
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1924468
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Marcin Wiącek <marcin@mwiacek.com>
Cr-Original-Commit-Position: refs/heads/master@{#717545}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8dd4550a65b0f4025ed3365d736f4bfa71d3128b
2019-11-21 08:42:36 +00:00
Nico Weber 4b2f475500 Remove g++ and git-svn from install-build-deps.sh
The build hasn't used gcc for a long time now, and we've been
off svn for a while as well.

Bug: none
Change-Id: I3c90b7395bec146dc29bd86b869d55e1f68550fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763872
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#689076}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 255521f821ff7a2add2c6ffe1f4f65b6b6416d5f
2019-08-21 18:07:22 +00:00
Raul Tambre 0fdfe6341a //build: Convert print statements to Python 3 style
Ran "2to3 -w -n -f print ./base" and manually added imports.
There are no intended behaviour changes.

Bug: 941669
Change-Id: Ie2830e213eae3a5d7753ce503020e02811b726d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1585890
Commit-Queue: Raul Tambre <raul@tambre.ee>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Auto-Submit: Raul Tambre <raul@tambre.ee>
Cr-Original-Commit-Position: refs/heads/master@{#658917}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9e24293bf2459779641201495baa3b2ae9d13cd9
2019-05-12 06:11:07 +00:00
Marcin Wiącek ca7aa0f223 Remove support for Artful+add support for Disco+first code for Java 11
Before CL: scripts are not installing packages for compiling in Ubuntu 19.10 Disco Dingo.

After CL:

1. it's possible to compile Android version using g++-9 in Ubuntu 19.04
2. there is added proposal about installing Java 8 from Ubuntu 18.04 LTS Bionic Beaver, when it's not available in Ubuntu 19.04
3. there is removed support for Ubuntu 17.10 Artful Aardvark (EoL July 2018)
4. there is added some first code and notes about Java 11

Change-Id: I6c8dd875dbd1e6c67d8d2ff175511bda132b3f4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1574718
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Marcin Wiącek <marcin@mwiacek.com>
Cr-Original-Commit-Position: refs/heads/master@{#653765}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 73d9ec504db74c3457c4d7a444e25c26f42f8887
2019-04-24 21:40:17 +00:00
Elliott Friedman f9e86864f1 [install-build-deps] fix error in package_exists detection.
Also removed conflicting packages

R=dpranke@chromium.org, inferno@chromium.org, thomasanderson@chromium.org

Bug: 952546
Change-Id: Ie6d0bf326ee717ff519c3d49e4309edd85922b44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1565442
Commit-Queue: Elliott Friedman <friedman@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Auto-Submit: Elliott Friedman <friedman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#651373}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 91f373e993e840d78fc5f7a2b84688bcf37de06e
2019-04-16 18:27:17 +00:00
Daniel Bratell 139c6dd3f7 Explicitly upgrade old packages in install-build-deps.sh
The old code would only sometimes upgrade packages, depending
on whether apt-get had to ask a y/n question before the
upgrade or not. This makes the upgrade more explicit
rather than a side effect of the query command.

This also adds lists libc6-dev as a dependency since it is needed
and without it being listed it might not be upgraded.

Bug: 934256
Change-Id: Iee2aae09374557e77ce9c1ef4b36b9366827015d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1491972
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Auto-Submit: Daniel Bratell <bratell@opera.com>
Cr-Original-Commit-Position: refs/heads/master@{#639964}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8cc92d37858a12b6a09bc96ecaf99076529c9a59
2019-03-12 16:42:06 +00:00
Tom Anderson 4f8cce243a Add libgtk-3-0:i386 to backwards-compatible list
The package was removed from nacl_list in r607986.

BUG=None
TBR=dpranke

Change-Id: I052e3a0fdc5f58834bfec9b38502b5aa60e2edf0
Reviewed-on: https://chromium-review.googlesource.com/c/1354353
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#611947}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 99ffaaeb93e2cd406be3e2eccf5fbde615f364c8
2018-11-29 00:08:31 +00:00
Mihai Sardarescu e7e914fe81 Remove libgtk-3-0:i386 from install-build-deps.sh
The CL removes libgtk-3-0:i386 from install-build-deps.sh as it fails to be
installed on the freshly installed Google glinux machine.

For more info and the errors installing the package, see
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/ODZ88EuoxK4

Change-Id: I4cf64ef3b98fd2a8a5299d4859da63c7a0c5f4f9
Reviewed-on: https://chromium-review.googlesource.com/c/1332207
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Mihai Sardarescu <msarda@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#607986}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7a9a24b45775ace57856ebb7567e497e66f3d289
2018-11-14 15:33:36 +00:00
Tom Anderson fc0cf30b4c Add libatspi2 to install-build-deps.sh
This became necessary to build Chrome after [1] when building without the
sysroot.

[1] 297928530f

BUG=879147
TBR=dpranke

Change-Id: Iff2d59b247cd764f404f0beeaf232cc8dc8188aa
Reviewed-on: https://chromium-review.googlesource.com/1214699
Reviewed-by: Michael Moss <mmoss@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#590093}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1320001a996e8d90162d86cf88ca1f8bc8a23c82
2018-09-10 22:29:02 +00:00
Tom Anderson c20514191c Remove GTK2 code
GTK2 code was historically kept around to keep the electron build working.  But
as of Nov 26, 2017, electron now uses GTK3 [1], so it should now be safe to
remove all of the old GTK2-only code.

[1] https://github.com/electron/electron/issues/2927#issuecomment-347092515

BUG=876558
R=sky

Change-Id: I78402053ae508ccd8fc7ac73697a861bb1ebacf6
Reviewed-on: https://chromium-review.googlesource.com/1183858
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#585265}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 287339e07364162daa8fd6f90ef1d2338f32bed5
2018-08-22 21:52:02 +00:00
Tom Anderson ee922ea8f8 Require CHROME_DEVEL_SANDBOX to be built with a non-component config
Also:
* Remove an out-of-date comment.
* Add binutils to install-build-deps.sh for readelf and grep.  We already use
  binutils in many places, and it's likely already installed everywhere, but
  it's good to list out direct dependencies.

BUG=850682
R=thakis

Change-Id: I80830ad42fe37f1b93f393f5a6ca5af68ef92998
Reviewed-on: https://chromium-review.googlesource.com/1157436
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#579853}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b8a836630dcf0d5c5eba4ecdcc71a5f1ebfb914
2018-08-01 17:41:34 +00:00
Daniel Bratell d6e44e6f3f Building chromium now requires uuid-dev (uuid/uuid.h)
The latest version of fontconfig requires uuid/uuid.h so
we need to install that in install-build-deps.sh.

(Only tested in Ubuntu 16.04)

Bug: 856666,829890
Change-Id: I586aa703e24a1ea2c10d08948acad37ce177f70f
Reviewed-on: https://chromium-review.googlesource.com/1115129
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#570454}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bec626a2ddc55ab82001da16d0bfc15fe0e9421f
2018-06-26 17:40:52 +00:00
Tom Anderson f56786118f install-build-deps: Add --backwards-compatible option
When the --backwards-compatible option is given, all packages that have been
removed from this script in the past 3 years will be included.

R=dpranke
CC=inferno
BUG=None

Change-Id: I396314c2204c45cfe2a78881e8cfc6838a68c2f5
Reviewed-on: https://chromium-review.googlesource.com/1106648
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Abhishek Arya <inferno@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#568664}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e9883cd1b7a57dd478164fb8d2974c3a91002b3b
2018-06-20 00:32:21 +00:00
Tom Anderson 59ac9bda0b Add libuuid1 to install-build-deps
This is necessary to reland [1].  Libuuid is now a dependency of fontconfig,
which is statically linked on Linux builds.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/1095538

BUG=787020
R=dpranke

Change-Id: I42a747359a4dd39e1a8ebad26e1db67467d73620
Reviewed-on: https://chromium-review.googlesource.com/1102009
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#567489}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f8a0c66eb4bae6b908da6a8db730f0b0bba8ecb7
2018-06-14 23:54:14 +00:00
Tom Anderson 25a69552e9 Refactor install-build-deps
* Changes usages of "test" to "[".
* Removes interactive prompts
  * Most developers don't need debug symbols (as indicated by the message that
    used to get printed out).  Now --syms must be passed.  This follows the
    convention of all of the other options, like --lib32, --arm, --nacl, etc.
  * A message is printed out to rerun the script with --add-deb-cross-tool-repo
    if the host machine is Debian Jessie.
* Adds libstdc++ debugging symbols for more versions of gcc including 4.7, 5,
  7, and 8.

BUG=None
R=dpranke

Change-Id: Ia6e941b4f78c3fc4540bcfa23c45885dc402db98
Reviewed-on: https://chromium-review.googlesource.com/1100131
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#567452}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8e0a484ed06906d1d3be56e321cd76128c40a813
2018-06-14 22:47:02 +00:00
Tom Anderson f178168205 install-build-deps: Fix for Debian Sid
R=dpranke
BUG=None

Change-Id: I7ca639867a7a31738d8fe1fc9d0db365a92cba88
Reviewed-on: https://chromium-review.googlesource.com/1081555
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#567076}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 96a2efcbc472e2c28c8e4ce592fc9580e7bd2891
2018-06-14 01:12:14 +00:00
Tom Anderson 3f7d01f56b install-build-deps: Automatically determine appropriate dbg packages
Debian is in the process of transitioning to automatic debug packages, which
have the -dbgsym suffix.  The old debug packages had a -dbg suffix.  Due to the
rename, it's becoming unmaintainable to add new cases whenever a package
updates, so this CL switches to an automatic way to determine the right debug
package to use.

R=dpranke
BUG=None

Change-Id: Ica1f6e1e01478510f9ef564c1d945a1666eba076
Reviewed-on: https://chromium-review.googlesource.com/1081233
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#566248}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8206da9ad30ac0015ebcbb21449c87196f6d04c0
2018-06-12 01:49:09 +00:00
Yves Gerey 472d5df73f Use preferably -dbgsym over -dbg for all libs
*-dbg packages are deprecated in favor of *-dbgsym
    (cf https://wiki.debian.org/AutomaticDebugPackages)
    Some *-dbg packages may have conflicting version requirements,
    which would cause the script to abort.
    That's another good reason to favor -dbgsym version.

R=dpranke@chromium.org

    the fix to all libraries via refactorization (50 lines saved).
    BTW, this leads to more debug-symbols packages to be detected and installed.

NB: it has already been fixed for libglib2 and libpixman, but this extends
Change-Id: I13f252b05ab95fb17eb8851d3b5a2b1b7a7d6295
Reviewed-on: https://chromium-review.googlesource.com/1080607
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Yves Gerey <yvesg@google.com>
Cr-Original-Commit-Position: refs/heads/master@{#565582}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e1fe0dffc89ef789703a45c603c34a30c8d5de22
2018-06-08 08:01:47 +00:00
Esmael El-Moslimany bd04ef7233 Extensions WebUI: add ui::SelectFileDialog::SELECT_EXISTING_FOLDER
Use SELECT_EXISTING_FOLDER when choosing an unpacked extension. Disable
folder creation for SELECT_EXISTING_FOLDER and SELECT_UPLOAD_FOLDER (for
all desktop platforms excluding kde). For GTK when selecting a folder,
show only folders.

Bug: 772180
Change-Id: I0f513180ff7f10b5af91e8c518b3d9fd4b0fc8f1
Reviewed-on: https://chromium-review.googlesource.com/1019732
Commit-Queue: Esmael El-Moslimany <aee@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#561344}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc859bf07d39ffb99f1e19827c894327fb4d9849
2018-05-24 00:59:47 +00:00
Tom Anderson 8faf0bb334 Fix install-build-deps.sh on Debian Testing
BUG=845608
R=dpranke

Change-Id: I365f7a2a732c0c38082b6ef76a83ed39839acb9c
Reviewed-on: https://chromium-review.googlesource.com/1067742
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#560747}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: debc5f543a5b2a7142be6ceee8f05cde0e8a4912
2018-05-22 20:10:13 +00:00
George Burgess IV c9bb242447 Add profile-unpacking build deps to Linux
In order to use AFDO on Linux, we need to be able to locally unpack the
profiles we fetch (which is likely preferable to storing a second,
unpacked version in gs://).

It used to be that we only needed these for Android, since these
profiles were previously only used by Android.

This was split out from
https://chromium-review.googlesource.com/c/chromium/src/+/1025132

Bug: 805098
Test: Ran install-build-deps.sh
Change-Id: I1374b2b84c26f6ef808c00217bfbb51e8fbf980d
Reviewed-on: https://chromium-review.googlesource.com/1054613
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: George Burgess <gbiv@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#557698}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3d20a813bf5977d7cd191597855e50d32276e5e7
2018-05-10 22:24:17 +00:00
Tom Anderson 3c86596996 Remove font packgaes from install-build-deps.sh
There's no longer a dependency on any system fonts when running Linux tests, so
font packages may be removed.  The CrOs fonts are kept because, presumably,
folks might still want them when testing Linux CrOs builds, though the CrOs
tests also no longer depend on any system fonts.

BUG=787020
R=dpranke

Change-Id: I6074842eb67eba6194fa90e549e0485b529aa814
Reviewed-on: https://chromium-review.googlesource.com/1036585
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#554930}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a4c92980d887f00be05ed676a246e81030b0356
2018-05-01 00:02:43 +00:00
Marcin Wiacek 343b7396c7 Updating install-build-deps.sh for Ubuntu 17.04 / 18.04 / LTS
Trivial fix for next LTS Ubuntu (similar to the
https://chromium-review.googlesource.com/c/chromium/src/+/736729)
+ adding LTS info to older versions mentioned in changed sh file
+ removing 17.04 info

Change-Id: Ib3889ac68bc41ff90cc6e36d9c60f56e2af76527
Reviewed-on: https://chromium-review.googlesource.com/1034055
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#554836}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d7577c3d87fc74d4eb76b88f2fe2bd75163f3d4f
2018-04-30 19:12:51 +00:00
Scott Violet bf6af18d01 Adds wayland-egl to the list of required libraries
Apparently this has been required for a while now on ChromeOS. It's
not really required on non-ChromeOS, but no doubt it will soon, so
adding to both.

BUG=831700
TEST=none

Change-Id: I6f859ff4767582c6c2a7155c995347d1963ceebd
Reviewed-on: https://chromium-review.googlesource.com/1008420
Reviewed-by: David Reveman <reveman@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#549987}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dd7e237ba9b69855adf60e8141b7dc45c613b6a7
2018-04-12 01:11:26 +00:00
Tom Anderson ac4f28cd29 Fix install-build-deps.sh on Debian Testing
BUG=822410
TBR=dpranke

Change-Id: I8b9922029b0b1cfbf327ba4de4dec346bb01a2ca
Reviewed-on: https://chromium-review.googlesource.com/1006168
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#549699}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c9790a3beefb04623d157b88f352422c36af18ca
2018-04-11 00:42:28 +00:00
Tom Anderson c59bd0cca5 Add libx11-xcb1:i386 as a 32-bit build dep
libX11-xcb.so.1 is required to generate the v8 context shapshot.  This was
causing the LUCI version of Linux Build (dbg)(32) to fail [1].

Patch adapted from [2] from timbrown@.

[1] https://logs.chromium.org/v/?s=chromium%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8951515267836408512%2F%2B%2Fsteps%2Fcompile%2F0%2Fstdout
[2] https://chromium-review.googlesource.com/c/chromium/src/+/940196

BUG=823962
R=dpranke
CC=timbrown

Change-Id: I8fa8f8d8281613193bc9faf2f2c0c86d900ac401
Reviewed-on: https://chromium-review.googlesource.com/972590
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#544802}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dd47ad310164aa2160129d98bd8be7b7357ddc51
2018-03-21 19:30:19 +00:00
Tom Anderson 80d650ad75 Remove mesa packages from install-build-deps
The mesa packages were originally added because of an issue with installing
libgbm-dev on Saucy.  The CL description is inlined below:

------------------------------------------------------------------------
commit: 419a9a64b69f1d113c28d1e78c7117adf510aa95
Author: primiano@chromium.org <primiano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Thu Jun 19 18:26:18 2014 +0000

Fix installation of libgbm-dev package in install-build-deps.sh

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.
------------------------------------------------------------------------

Currently, this is causing issues on Googler's machines (see chrome-linux
mailing list).  Since the Saucy days are over, just depend on libgbm-dev
directly.  Tested on Ubuntu Trusty, Ubuntu Xenial, Debian Stretch, and Debian
Testing.

R=dpranke

Change-Id: I43568ab8b8c66c2aa6cd394c67f2cf90d6d1762c
Reviewed-on: https://chromium-review.googlesource.com/944047
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#540271}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d4ea25245efc1436926aa2ff4dcd1e72d2faa229
2018-03-01 20:34:38 +00:00
Dmytro Golovchenko a179cc09e7 Revert "Add 32-bit version of libappindicator3-1"
This reverts commit 6e3fb99a7265b2481b9570344de4669f4c26a14c.

Reason for revert: install-build-deps.sh brocken:

The following packages have unmet dependencies:
 libappindicator3-1 : Conflicts: libappindicator3-1:i386 but 12.10.1+13.10.20130920-0ubuntu4.1 is to be installed
 libappindicator3-1:i386 : Depends: libindicator3-7:i386 (>= 0.4.90) but it is not going to be installed
                           Conflicts: libappindicator3-1 but 12.10.1+13.10.20130920-0ubuntu4.1 is to be installed
E: Unable to correct problems, you have held broken packages.

Original change's description:
> Add 32-bit version of libappindicator3-1
> 
> When doing a 32-bit build on a 64-bit system, the 32-bit version of the
> library is not available. This CL should fix that.
> 
> Bug: 799144
> Change-Id: I40c6d16d708db102eb4da90ded7bc336cb9f9b09
> Reviewed-on: https://chromium-review.googlesource.com/940196
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Commit-Queue: Tim Brown <timbrown@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#539851}

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

Change-Id: Ic6ee1c67eb9c8a5cd438b7f0bc86fbea18125b46
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 799144
Reviewed-on: https://chromium-review.googlesource.com/941614
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Dmytro Golovchenko <dgolovchenko@google.com>
Cr-Original-Commit-Position: refs/heads/master@{#539949}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bcd0c529a6b5c3512b48cc9aad98dd393199066d
2018-02-28 23:52:32 +00:00
Tim Brown dd46f097ea Add 32-bit version of libappindicator3-1
When doing a 32-bit build on a 64-bit system, the 32-bit version of the
library is not available. This CL should fix that.

Bug: 799144
Change-Id: I40c6d16d708db102eb4da90ded7bc336cb9f9b09
Reviewed-on: https://chromium-review.googlesource.com/940196
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Tim Brown <timbrown@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#539851}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6e3fb99a7265b2481b9570344de4669f4c26a14c
2018-02-28 16:45:50 +00:00
Nico Weber b5d1b49044 Add p7zip to install-build-deps.sh.
It's only needed for win/cross builds, but it's a small package and the
only additional package needed for cross builds, so add it unconditionally.

Change a/chrome/tools/build/win/create_installer_archive.py to use
7zr instead of 7za (both suffice for us), so that the smaller p7zip is enough.

Bug: 495204
Change-Id: I5f4c5326dbab2f3a3257c8cad4d3524cb338fca6
Reviewed-on: https://chromium-review.googlesource.com/934686
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#538828}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a9fa6a7144fbd7fdae3d2501b94ac98e5a2bb6eb
2018-02-23 18:26:02 +00:00
Tom Anderson 3834707f87 Fix install-build-deps on Debian Buster
/usr/bin/realpath has been moved into coreutils.

Also remove support for Ubuntu Zesty since it has reached EOL.

BUG=814450
R=dpranke

Change-Id: I3081323f36da0ecee72bb487689ed4b346850b88
Reviewed-on: https://chromium-review.googlesource.com/932361
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#538613}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6b2b2ad55f2a221f9ba6064fba5f9f9dae16f14c
2018-02-22 23:28:14 +00:00
Tom Anderson 747ef12668 Prefer libxcursor1-dbgsym over libxcursor1-dbg in install-build-deps
BUG=814331
R=dpranke

Change-Id: Ied6e6c8891ae818a4ed9bca91f581d6250c519fb
Reviewed-on: https://chromium-review.googlesource.com/930232
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#538457}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b25820415f6630e4b57a55e2fd56a6e475961cf0
2018-02-22 16:56:07 +00:00
Tom Anderson 946e8fb0db Fix install-build-deps.sh installing dbg packages when instructed not to
BUG=814331
R=dpranke

Change-Id: I6b18b7e822de763ace012aafe0eaf5088d537a70
Reviewed-on: https://chromium-review.googlesource.com/929313
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#538206}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1ce9314ff14bf36b8045627ea0884c276f3a6f45
2018-02-21 21:04:28 +00:00
Tom Anderson db179c8a2b Add dbus-x11 to install-build-deps
dbus_unittests relies on the presence of /usr/bin/dbus-launch, which is provided
by the dbus-x11 package.  The absence of this package is currently causing
dbus_unittests to fail on the Linux Xenial bot.

BUG=789768
R=dpranke
NOTRY=true

Change-Id: Ic844648f3651e518e276c1fb764849b09145b34b
Reviewed-on: https://chromium-review.googlesource.com/924693
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#537483}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8bfb0b04662d7cdb4a08240ac30024891aceef91
2018-02-17 00:44:15 +00:00
Tim Brown 10d3258817 Add libappindicator and dependencies to the sysroot
This adds in both the Gtk+2 and Gtk+3 packages.

TBR=dpranke@chromium.org

Bug: 799144
Change-Id: I692e16bd62ab2120c4855cd75ce6f3260e5d6ece
Reviewed-on: https://chromium-review.googlesource.com/904856
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#535457}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 06ee43ab03a2a91ace88a195865e29cdcd0468c3
2018-02-08 18:42:12 +00:00
Robert Ma 71f9fa49ef Revert "build: Add Garuda TTF fonts to build deps"
This reverts commit 3aeec4449b15c08e97037cb6caf7eb31ac2c3b2e.

Reason for revert: not needed any more as we put the fonts on GCS
(https://crrev.com/c/836549)

Original change's description:
> build: Add Garuda TTF fonts to build deps
> 
> Debian builds require this package to be installed in order to build.
> 
> Change-Id: I6066fb1f3a39842ec076ec82495f0a44a2e17e93
> Reviewed-on: https://chromium-review.googlesource.com/817649
> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Commit-Queue: Conley Owens <cco3@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#523139}

TBR=dpranke@chromium.org,cco3@chromium.org,thomasanderson@chromium.org,odejesush@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I9c5ecf06c727e762cc95796a23577ae77fd61502
Reviewed-on: https://chromium-review.googlesource.com/840121
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Conley Owens <cco3@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#527290}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3ec36782b480b24e3e7f5185a8e3ad9e6f304aee
2018-01-05 16:17:07 +00:00
Tim Brown 1a72f99184 Remove gconf and dconf from install deps
Also update the "Notes for other distros" in the build instructions.

All usages of gconf has been removed, and we depend on gsettings, not
dconf directly.

This is the final step in switching from gconf to gsettings.

Bug: 768027
Change-Id: I4430c261ac2c9691838e7dfe9c0d7c6842fa535f
Reviewed-on: https://chromium-review.googlesource.com/831106
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Tim Brown <timbrown@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524503}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 36312fccc6b5f9bba0fa427d6b9756daad3b94e6
2017-12-15 22:56:20 +00:00
Tom Anderson bf7b21f19d install-build-deps: Check for newer packages first
Comment [1] explains that libssl1.0.0 can be manually installed on systems that
are expected to have libssl1.0.2.  In this case, libssl1.0.0 will appear to be
available in the repos when it is not.

The fix is to check for newer packages first.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=785818#c13

BUG=785818
R=dpranke@chromium.org

Change-Id: I52a69adc5271b5485f7d09aabd1a01a24ff10352
Reviewed-on: https://chromium-review.googlesource.com/819976
Commit-Queue: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523195}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0524b2b7b70eff655189206acfb599fe9b27c40d
2017-12-11 20:39:18 +00:00
Conley Owens cd9f768ff7 build: Add Garuda TTF fonts to build deps
Debian builds require this package to be installed in order to build.

Change-Id: I6066fb1f3a39842ec076ec82495f0a44a2e17e93
Reviewed-on: https://chromium-review.googlesource.com/817649
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Conley Owens <cco3@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#523139}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3aeec4449b15c08e97037cb6caf7eb31ac2c3b2e
2017-12-11 18:15:36 +00:00
Dominik Röttsches 4d11614b3e Add Noto Sans Khmer to GCS synced linux fonts
This should fix another set of layout tests and make us less dependent
on distribution specific font packages. Add a font usage line in
languages-emoji-rare-glyphs.js to make sure that Noto Sans Khmer is
used.

Bug: 772116
Change-Id: I0acfb2186eeb180a3a464cd6337539cbe1cdf45d
Reviewed-on: https://chromium-review.googlesource.com/779520
Commit-Queue: Dominik Röttsches <drott@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#519621}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 542c9ca65d335166b48ea40d737c1a53b54c5b55
2017-11-28 09:09:15 +00:00
Tom Anderson e548c6a7df install-build-deps: Be explicit about dbg packages
Many *-dbg packages are being replaced with *-dbgsym ones.  This CL begins using
those packages when they are available, instead of just skipping the package.

BUG=785818
R=dpranke@chromium.org

Change-Id: If2d3ea398353628caec77b202a1526451d628931
Reviewed-on: https://chromium-review.googlesource.com/792608
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#519560}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 17d6cdd5aa1300f1b00425e36eefc7d809a74e0c
2017-11-28 04:13:25 +00:00
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