OLD | NEW |
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 *) |
227 arm_list="libc6-dev-armhf-cross | 227 arm_list="binutils-aarch64-linux-gnu |
| 228 libc6-dev-armhf-cross |
228 linux-libc-dev-armhf-cross | 229 linux-libc-dev-armhf-cross |
229 ${GPP_ARM_PACKAGE}" | 230 ${GPP_ARM_PACKAGE}" |
230 ;; | 231 ;; |
231 esac | 232 esac |
232 | 233 |
233 # Work around for dependency issue Ubuntu/Trusty: http://crbug.com/435056 | 234 # Work around for dependency issue Ubuntu/Trusty: http://crbug.com/435056 |
234 case $lsb_release in | 235 case $lsb_release in |
235 trusty) | 236 trusty) |
236 arm_list+=" g++-4.8-multilib-arm-linux-gnueabihf | 237 arm_list+=" g++-4.8-multilib-arm-linux-gnueabihf |
237 gcc-4.8-multilib-arm-linux-gnueabihf" | 238 gcc-4.8-multilib-arm-linux-gnueabihf" |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 if (echo "${OLD_LOCALE_GEN}" | cmp -s ${LOCALE_GEN}); then | 553 if (echo "${OLD_LOCALE_GEN}" | cmp -s ${LOCALE_GEN}); then |
553 echo "Locales already up-to-date." | 554 echo "Locales already up-to-date." |
554 else | 555 else |
555 sudo locale-gen | 556 sudo locale-gen |
556 fi | 557 fi |
557 else | 558 else |
558 for CHROMIUM_LOCALE in ${CHROMIUM_LOCALES}; do | 559 for CHROMIUM_LOCALE in ${CHROMIUM_LOCALES}; do |
559 sudo locale-gen ${CHROMIUM_LOCALE} | 560 sudo locale-gen ${CHROMIUM_LOCALE} |
560 done | 561 done |
561 fi | 562 fi |
OLD | NEW |