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

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

Issue 2708913005: Fix arm-list for Precise (binutils-aarch64-linux-gnu doesn't exist there) (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 gpg --keyserver pgp.mit.edu --recv-keys ${EM_ARCHIVE_KEY_FINGER} 216 gpg --keyserver pgp.mit.edu --recv-keys ${EM_ARCHIVE_KEY_FINGER}
217 gpg -a --export ${EM_ARCHIVE_KEY_FINGER} | sudo apt-key add - 217 gpg -a --export ${EM_ARCHIVE_KEY_FINGER} | sudo apt-key add -
218 if ! grep "^${EM_REPO}" "${CROSSTOOLS_LIST}" &>/dev/null; then 218 if ! grep "^${EM_REPO}" "${CROSSTOOLS_LIST}" &>/dev/null; then
219 echo "${EM_SOURCE}" | sudo tee -a "${CROSSTOOLS_LIST}" >/dev/null 219 echo "${EM_SOURCE}" | sudo tee -a "${CROSSTOOLS_LIST}" >/dev/null
220 fi 220 fi
221 arm_list+=" ${GPP_ARM_PACKAGE}" 221 arm_list+=" ${GPP_ARM_PACKAGE}"
222 fi 222 fi
223 fi 223 fi
224 fi 224 fi
225 ;; 225 ;;
226 *) 226 "precise")
227 arm_list="libc6-dev-armhf-cross
228 linux-libc-dev-armhf-cross
229 ${GPP_ARM_PACKAGE}"
230 ;;
231 "*")
227 arm_list="binutils-aarch64-linux-gnu 232 arm_list="binutils-aarch64-linux-gnu
228 libc6-dev-armhf-cross 233 libc6-dev-armhf-cross
229 linux-libc-dev-armhf-cross 234 linux-libc-dev-armhf-cross
230 ${GPP_ARM_PACKAGE}" 235 ${GPP_ARM_PACKAGE}"
231 ;; 236 ;;
232 esac 237 esac
233 238
234 # Work around for dependency issue Ubuntu/Trusty: http://crbug.com/435056 239 # Work around for dependency issue Ubuntu/Trusty: http://crbug.com/435056
235 case $lsb_release in 240 case $lsb_release in
236 trusty) 241 trusty)
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 if (echo "${OLD_LOCALE_GEN}" | cmp -s ${LOCALE_GEN}); then 558 if (echo "${OLD_LOCALE_GEN}" | cmp -s ${LOCALE_GEN}); then
554 echo "Locales already up-to-date." 559 echo "Locales already up-to-date."
555 else 560 else
556 sudo locale-gen 561 sudo locale-gen
557 fi 562 fi
558 else 563 else
559 for CHROMIUM_LOCALE in ${CHROMIUM_LOCALES}; do 564 for CHROMIUM_LOCALE in ${CHROMIUM_LOCALES}; do
560 sudo locale-gen ${CHROMIUM_LOCALE} 565 sudo locale-gen ${CHROMIUM_LOCALE}
561 done 566 done
562 fi 567 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698