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

Side by Side Diff: build/linux/sysroot_scripts/sysroot-creator.sh

Issue 2277633002: Sysroot: Update install-sysroot.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@UpdatePackagelists
Patch Set: Remove dependent patch set Created 4 years, 3 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 # 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
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
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
OLDNEW
« no previous file with comments | « build/linux/sysroot_scripts/install-sysroot.py ('k') | build/linux/sysroot_scripts/sysroot-creator-precise.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698