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

Side by Side Diff: build/install-build-deps.sh

Issue 2740483002: [Workaround] For running layout tests locally on Ubuntu16.04
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/bash -e 1 #!/bin/bash -e
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to install everything needed to build chromium (well, ideally, anyway) 7 # Script to install everything needed to build chromium (well, ideally, anyway)
8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i nstructions.md 8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i nstructions.md
9 9
10 usage() { 10 usage() {
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 dev_list="${dev_list} php5-cgi libapache2-mod-php5" 470 dev_list="${dev_list} php5-cgi libapache2-mod-php5"
471 fi 471 fi
472 # ttf-mscorefonts-installer is in the Debian contrib repo, which has 472 # ttf-mscorefonts-installer is in the Debian contrib repo, which has
473 # dependencies on non-free software. Install it only if the user has already 473 # dependencies on non-free software. Install it only if the user has already
474 # enabled contrib. 474 # enabled contrib.
475 if package_exists ttf-mscorefonts-installer; then 475 if package_exists ttf-mscorefonts-installer; then
476 dev_list="${dev_list} ttf-mscorefonts-installer" 476 dev_list="${dev_list} ttf-mscorefonts-installer"
477 elif package_exists msttcorefonts; then 477 elif package_exists msttcorefonts; then
478 dev_list="${dev_list} msttcorefonts" 478 dev_list="${dev_list} msttcorefonts"
479 fi 479 fi
480 # Ubuntu 16.04 has this package deleted.
481 if package_exists ttf-kochi-gothic; then
482 dev_list="${dev_list} ttf-kochi-gothic"
483 fi
484 # Ubuntu 16.04 has this package deleted.
485 if package_exists ttf-kochi-mincho; then
486 dev_list="${dev_list} ttf-kochi-mincho"
487 fi
488 480
489 # Some packages are only needed if the distribution actually supports 481 # Some packages are only needed if the distribution actually supports
490 # installing them. 482 # installing them.
491 if package_exists appmenu-gtk; then 483 if package_exists appmenu-gtk; then
492 lib_list="$lib_list appmenu-gtk" 484 lib_list="$lib_list appmenu-gtk"
493 fi 485 fi
494 486
495 # When cross building for arm/Android on 64-bit systems the host binaries 487 # When cross building for arm/Android on 64-bit systems the host binaries
496 # that are part of v8 need to be compiled with -m32 which means 488 # that are part of v8 need to be compiled with -m32 which means
497 # that basic multilib support is needed. 489 # that basic multilib support is needed.
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 if (echo "${OLD_LOCALE_GEN}" | cmp -s ${LOCALE_GEN}); then 687 if (echo "${OLD_LOCALE_GEN}" | cmp -s ${LOCALE_GEN}); then
696 echo "Locales already up-to-date." 688 echo "Locales already up-to-date."
697 else 689 else
698 sudo locale-gen 690 sudo locale-gen
699 fi 691 fi
700 else 692 else
701 for CHROMIUM_LOCALE in ${CHROMIUM_LOCALES}; do 693 for CHROMIUM_LOCALE in ${CHROMIUM_LOCALES}; do
702 sudo locale-gen ${CHROMIUM_LOCALE} 694 sudo locale-gen ${CHROMIUM_LOCALE}
703 done 695 done
704 fi 696 fi
OLDNEW
« no previous file with comments | « build/experimental/install-build-deps.py ('k') | content/shell/test_runner/resources/fonts/fonts.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698