| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 # | 2 # |
| 3 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2013 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 #@ This script builds a Debian Wheezy sysroot for building Google Chrome. | 7 #@ This script builds a Debian Wheezy sysroot for building Google Chrome. |
| 8 #@ | 8 #@ |
| 9 #@ Generally this script is invoked as: | 9 #@ Generally this script is invoked as: |
| 10 #@ sysroot-creator-debian.wheezy.sh <mode> <args>* | 10 #@ sysroot-creator-debian.wheezy.sh <mode> <args>* |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 ###################################################################### | 30 ###################################################################### |
| 31 # Package Config | 31 # Package Config |
| 32 ###################################################################### | 32 ###################################################################### |
| 33 | 33 |
| 34 # this is where we get all the debian packages from | 34 # this is where we get all the debian packages from |
| 35 readonly DEBIAN_REPO=http://http.us.debian.org/debian | 35 readonly DEBIAN_REPO=http://http.us.debian.org/debian |
| 36 | 36 |
| 37 readonly PACKAGE_LIST_AMD64="${DEBIAN_REPO}/dists/wheezy/main/binary-amd64/Packa
ges.bz2" | 37 readonly PACKAGE_LIST_AMD64="${DEBIAN_REPO}/dists/wheezy/main/binary-amd64/Packa
ges.bz2" |
| 38 readonly PACKAGE_LIST_I386="${DEBIAN_REPO}/dists/wheezy/main/binary-i386/Package
s.bz2" | 38 readonly PACKAGE_LIST_I386="${DEBIAN_REPO}/dists/wheezy/main/binary-i386/Package
s.bz2" |
| 39 | 39 |
| 40 # TODO(thestig) Remove unused libbz2 packages in the next sysroot update. | |
| 41 # Sysroot packages: these are the packages needed to build chrome. | 40 # Sysroot packages: these are the packages needed to build chrome. |
| 42 # NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated | 41 # NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated |
| 43 # by running this script in GeneratePackageList mode. | 42 # by running this script in GeneratePackageList mode. |
| 44 readonly DEBIAN_PACKAGES="\ | 43 readonly DEBIAN_PACKAGES="\ |
| 45 comerr-dev \ | 44 comerr-dev \ |
| 46 gcc-4.6 \ | 45 gcc-4.6 \ |
| 47 krb5-multidev \ | 46 krb5-multidev \ |
| 48 libasound2 \ | 47 libasound2 \ |
| 49 libasound2-dev \ | 48 libasound2-dev \ |
| 50 libatk1.0-0 \ | 49 libatk1.0-0 \ |
| 51 libatk1.0-dev \ | 50 libatk1.0-dev \ |
| 52 libavahi-client3 \ | 51 libavahi-client3 \ |
| 53 libavahi-common3 \ | 52 libavahi-common3 \ |
| 54 libbz2-1.0 \ | |
| 55 libbz2-dev \ | |
| 56 libc6 \ | 53 libc6 \ |
| 57 libc6-dev \ | 54 libc6-dev \ |
| 58 libcairo2 \ | 55 libcairo2 \ |
| 59 libcairo2-dev \ | 56 libcairo2-dev \ |
| 60 libcairo-gobject2 \ | 57 libcairo-gobject2 \ |
| 61 libcairo-script-interpreter2 \ | 58 libcairo-script-interpreter2 \ |
| 59 libcap-dev \ |
| 60 libcap2 \ |
| 62 libcomerr2 \ | 61 libcomerr2 \ |
| 63 libcups2 \ | 62 libcups2 \ |
| 64 libcups2-dev \ | 63 libcups2-dev \ |
| 65 libdbus-1-3 \ | 64 libdbus-1-3 \ |
| 66 libdbus-1-dev \ | 65 libdbus-1-dev \ |
| 67 libdbus-glib-1-2 \ | 66 libdbus-glib-1-2 \ |
| 68 libelf1 \ | 67 libelf1 \ |
| 69 libelf-dev \ | 68 libelf-dev \ |
| 70 libexpat1 \ | 69 libexpat1 \ |
| 71 libexpat1-dev \ | 70 libexpat1-dev \ |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 echo "ERROR: unknown function '$1'." >&2 | 507 echo "ERROR: unknown function '$1'." >&2 |
| 509 echo "For help, try:" | 508 echo "For help, try:" |
| 510 echo " $0 help" | 509 echo " $0 help" |
| 511 exit 1 | 510 exit 1 |
| 512 else | 511 else |
| 513 ChangeDirectory | 512 ChangeDirectory |
| 514 SetEnvironmentVariables "$1" | 513 SetEnvironmentVariables "$1" |
| 515 SanityCheck | 514 SanityCheck |
| 516 "$@" | 515 "$@" |
| 517 fi | 516 fi |
| OLD | NEW |