| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/bash |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 SCRIPT_DIR=$(cd $(dirname $0) && pwd) | 6 SCRIPT_DIR=$(cd $(dirname $0) && pwd) |
| 7 | 7 |
| 8 DISTRO=debian | 8 DISTRO=debian |
| 9 DIST=wheezy | 9 DIST=wheezy |
| 10 APT_REPO=http://http.us.debian.org/debian | 10 APT_REPO=http://http.us.debian.org/debian |
| 11 REPO_BASEDIR="${APT_REPO}/dists/${DIST}" | 11 REPO_BASEDIR="${APT_REPO}/dists/${DIST}" |
| 12 KEYRING_FILE=${SCRIPT_DIR}/debian-archive-wheezy-stable.gpg | 12 KEYRING_FILE=${SCRIPT_DIR}/debian-archive-wheezy-stable.gpg |
| 13 | 13 |
| 14 HAS_ARCH_AMD64=1 |
| 15 HAS_ARCH_I386=1 |
| 16 HAS_ARCH_ARM=1 |
| 17 HAS_ARCH_MIPS=1 |
| 14 | 18 |
| 15 # Sysroot packages: these are the packages needed to build chrome. | 19 # Sysroot packages: these are the packages needed to build chrome. |
| 16 # NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated | 20 # NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated |
| 17 # by running this script in GeneratePackageList mode. | 21 # by running this script in GeneratePackageList mode. |
| 18 DEBIAN_PACKAGES="\ | 22 DEBIAN_PACKAGES="\ |
| 19 comerr-dev | 23 comerr-dev |
| 20 gcc-4.6 | 24 gcc-4.6 |
| 21 krb5-multidev | 25 krb5-multidev |
| 22 libasound2 | 26 libasound2 |
| 23 libasound2-dev | 27 libasound2-dev |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 x11proto-xinerama-dev | 187 x11proto-xinerama-dev |
| 184 zlib1g | 188 zlib1g |
| 185 zlib1g-dev | 189 zlib1g-dev |
| 186 " | 190 " |
| 187 | 191 |
| 188 DEBIAN_PACKAGES_X86="libquadmath0 libdrm-intel1" | 192 DEBIAN_PACKAGES_X86="libquadmath0 libdrm-intel1" |
| 189 DEBIAN_PACKAGES_ARM="libdrm-omap1" | 193 DEBIAN_PACKAGES_ARM="libdrm-omap1" |
| 190 DEBIAN_PACKAGES_AMD64="" | 194 DEBIAN_PACKAGES_AMD64="" |
| 191 | 195 |
| 192 . ${SCRIPT_DIR}/sysroot-creator.sh | 196 . ${SCRIPT_DIR}/sysroot-creator.sh |
| OLD | NEW |