| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 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=$(dirname $0) | 6 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
| 7 | 7 |
| 8 DISTRO=ubuntu | 8 DISTRO=ubuntu |
| 9 DIST=precise | 9 DIST=precise |
| 10 DIST_UPDATES=precise-updates | 10 DIST_UPDATES=precise-updates |
| 11 | 11 |
| 12 # This is where we get all the debian packages from. | 12 # This is where we get all the debian packages from. |
| 13 APT_REPO=http://archive.ubuntu.com/ubuntu | 13 APT_REPO=http://archive.ubuntu.com/ubuntu |
| 14 APT_REPO_ARM=http://ports.ubuntu.com | 14 APT_REPO_ARM=http://ports.ubuntu.com |
| 15 APT_REPO_ARM64=http://ports.ubuntu.com | 15 APT_REPO_ARM64=http://ports.ubuntu.com |
| 16 KEYRING_FILE=/usr/share/keyrings/ubuntu-archive-keyring.gpg | 16 KEYRING_FILE=/usr/share/keyrings/ubuntu-archive-keyring.gpg |
| 17 | 17 |
| 18 HAS_ARCH_AMD64=1 | 18 HAS_ARCH_AMD64=1 |
| 19 HAS_ARCH_I386=1 | 19 |
| 20 HAS_ARCH_ARM=1 | 20 # Precise supports these architectures but they are not needed by chrome. |
| 21 # HAS_ARCH_I386=1 |
| 22 # HAS_ARCH_ARM=1 |
| 21 | 23 |
| 22 # Sysroot packages: these are the packages needed to build chrome. | 24 # Sysroot packages: these are the packages needed to build chrome. |
| 23 # NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated | 25 # NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated |
| 24 # by running this script in GeneratePackageList mode. | 26 # by running this script in GeneratePackageList mode. |
| 25 DEBIAN_PACKAGES="\ | 27 DEBIAN_PACKAGES="\ |
| 26 comerr-dev | 28 comerr-dev |
| 27 gcc-4.6 | 29 gcc-4.6 |
| 28 krb5-multidev | 30 krb5-multidev |
| 29 libasound2 | 31 libasound2 |
| 30 libasound2-dev | 32 libasound2-dev |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 x11proto-render-dev | 197 x11proto-render-dev |
| 196 x11proto-scrnsaver-dev | 198 x11proto-scrnsaver-dev |
| 197 x11proto-xext-dev | 199 x11proto-xext-dev |
| 198 zlib1g | 200 zlib1g |
| 199 zlib1g-dev | 201 zlib1g-dev |
| 200 " | 202 " |
| 201 | 203 |
| 202 DEBIAN_PACKAGES_X86="libquadmath0" | 204 DEBIAN_PACKAGES_X86="libquadmath0" |
| 203 DEBIAN_PACKAGES_ARM="libdrm-omap1" | 205 DEBIAN_PACKAGES_ARM="libdrm-omap1" |
| 204 | 206 |
| 205 . ${SCRIPT_DIR}/sysroot-creator.sh | 207 . "${SCRIPT_DIR}/sysroot-creator.sh" |
| OLD | NEW |