OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 # | 4 # |
5 # This script should not be run directly but sourced by the other | 5 # This script should not be run directly but sourced by the other |
6 # scripts (e.g. sysroot-creator-trusty.sh). Its up to the parent scripts | 6 # scripts (e.g. sysroot-creator-trusty.sh). Its up to the parent scripts |
7 # to define certain environment variables: e.g. | 7 # to define certain environment variables: e.g. |
8 # DISTRO=ubuntu | 8 # DISTRO=ubuntu |
9 # DIST=trusty | 9 # DIST=trusty |
10 # APT_REPO=http://archive.ubuntu.com/ubuntu | 10 # APT_REPO=http://archive.ubuntu.com/ubuntu |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 } | 561 } |
562 | 562 |
563 #@ | 563 #@ |
564 #@ BuildSysrootAll | 564 #@ BuildSysrootAll |
565 #@ | 565 #@ |
566 #@ Build sysroot images for all architectures | 566 #@ Build sysroot images for all architectures |
567 BuildSysrootAll() { | 567 BuildSysrootAll() { |
568 RunCommand BuildSysrootAmd64 | 568 RunCommand BuildSysrootAmd64 |
569 RunCommand BuildSysrootI386 | 569 RunCommand BuildSysrootI386 |
570 RunCommand BuildSysrootARM | 570 RunCommand BuildSysrootARM |
| 571 RunCommand BuildSysrootARM64 |
571 RunCommand BuildSysrootMips | 572 RunCommand BuildSysrootMips |
572 } | 573 } |
573 | 574 |
574 UploadSysroot() { | 575 UploadSysroot() { |
575 local rev=$1 | 576 local rev=$1 |
576 if [ -z "${rev}" ]; then | 577 if [ -z "${rev}" ]; then |
577 echo "Please specify a revision to upload at." | 578 echo "Please specify a revision to upload at." |
578 exit 1 | 579 exit 1 |
579 fi | 580 fi |
580 set -x | 581 set -x |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 echo " $0 help" | 824 echo " $0 help" |
824 exit 1 | 825 exit 1 |
825 else | 826 else |
826 ChangeDirectory | 827 ChangeDirectory |
827 if echo $1 | grep -qs "All$"; then | 828 if echo $1 | grep -qs "All$"; then |
828 "$@" | 829 "$@" |
829 else | 830 else |
830 RunCommand "$@" | 831 RunCommand "$@" |
831 fi | 832 fi |
832 fi | 833 fi |
OLD | NEW |