OLD | NEW |
1 #!/bin/bash | 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=$(dirname $0) | 6 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
7 | 7 |
8 DISTRO=ubuntu | 8 DISTRO=ubuntu |
9 DIST=trusty | 9 DIST=trusty |
10 DIST_UPDATES=trusty-updates | 10 DIST_UPDATES=trusty-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 | |
19 HAS_ARCH_I386=1 | |
20 HAS_ARCH_ARM=1 | 18 HAS_ARCH_ARM=1 |
21 HAS_ARCH_ARM64=1 | 19 |
| 20 # Trusty supports these architectures but they are not needed by chrome. |
| 21 # HAS_ARCH_AMD64=1 |
| 22 # HAS_ARCH_I386=1 |
| 23 # HAS_ARCH_ARM64=1 |
22 | 24 |
23 # Sysroot packages: these are the packages needed to build chrome. | 25 # Sysroot packages: these are the packages needed to build chrome. |
24 # NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated | 26 # NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated |
25 # by running this script in GeneratePackageList mode. | 27 # by running this script in GeneratePackageList mode. |
26 DEBIAN_PACKAGES="\ | 28 DEBIAN_PACKAGES="\ |
27 comerr-dev | 29 comerr-dev |
28 gcc-4.8 | 30 gcc-4.8 |
29 krb5-multidev | 31 krb5-multidev |
30 libasound2 | 32 libasound2 |
31 libasound2-dev | 33 libasound2-dev |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 x11proto-record-dev | 184 x11proto-record-dev |
183 x11proto-render-dev | 185 x11proto-render-dev |
184 x11proto-scrnsaver-dev | 186 x11proto-scrnsaver-dev |
185 x11proto-xext-dev | 187 x11proto-xext-dev |
186 zlib1g | 188 zlib1g |
187 zlib1g-dev | 189 zlib1g-dev |
188 " | 190 " |
189 | 191 |
190 DEBIAN_PACKAGES_X86="libquadmath0" | 192 DEBIAN_PACKAGES_X86="libquadmath0" |
191 | 193 |
192 . ${SCRIPT_DIR}/sysroot-creator.sh | 194 . "${SCRIPT_DIR}/sysroot-creator.sh" |
OLD | NEW |