• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
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
4# found in the LICENSE file.
5
6SCRIPT_DIR=$(dirname $0)
7
8DIST=trusty
9
10# This is where we get all the debian packages from.
11APT_REPO=http://archive.ubuntu.com/ubuntu
12APT_REPO_ARM=http://ports.ubuntu.com
13REPO_BASEDIR="${APT_REPO}/dists/${DIST}"
14KEYRING_FILE=/usr/share/keyrings/ubuntu-archive-keyring.gpg
15
16# Sysroot packages: these are the packages needed to build chrome.
17# NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated
18# by running this script in GeneratePackageList mode.
19# TODO(thestig) Remove libgcrypt11* the next time a package gets added.
20DEBIAN_PACKAGES="\
21  comerr-dev \
22  gcc-4.8 \
23  krb5-multidev \
24  libasound2 \
25  libasound2-dev \
26  libatk1.0-0 \
27  libatk1.0-dev \
28  libavahi-client3 \
29  libavahi-common3 \
30  libc6 \
31  libc6-dev \
32  libcairo2 \
33  libcairo2-dev \
34  libcairo-gobject2 \
35  libcairo-script-interpreter2 \
36  libcap-dev \
37  libcap2 \
38  libcomerr2 \
39  libcups2 \
40  libcups2-dev \
41  libdbus-1-3 \
42  libdbus-1-dev \
43  libdbus-glib-1-2 \
44  libdrm2 \
45  libelf1 \
46  libelf-dev \
47  libexif12 \
48  libexif-dev \
49  libexpat1 \
50  libexpat1-dev \
51  libffi6 \
52  libfontconfig1 \
53  libfontconfig1-dev \
54  libfreetype6 \
55  libfreetype6-dev \
56  libgcc1 \
57  libgconf-2-4 \
58  libgconf2-4 \
59  libgconf2-dev \
60  libgcrypt11 \
61  libgcrypt11-dev \
62  libgdk-pixbuf2.0-0 \
63  libgdk-pixbuf2.0-dev \
64  libgl1-mesa-dev \
65  libgl1-mesa-glx \
66  libglapi-mesa \
67  libglib2.0-0 \
68  libglib2.0-dev \
69  libgnome-keyring0 \
70  libgnome-keyring-dev \
71  libgnutls26 \
72  libgnutls-dev \
73  libgnutls-openssl27 \
74  libgnutlsxx27 \
75  libgomp1 \
76  libgpg-error0 \
77  libgpg-error-dev \
78  libgssapi-krb5-2 \
79  libgssrpc4 \
80  libgtk2.0-0 \
81  libgtk2.0-dev \
82  libk5crypto3 \
83  libkadm5clnt-mit9 \
84  libkadm5srv-mit9 \
85  libkdb5-7 \
86  libkeyutils1 \
87  libkrb5-3 \
88  libkrb5-dev \
89  libkrb5support0 \
90  libnspr4 \
91  libnspr4-dev \
92  libnss3 \
93  libnss3-dev \
94  libnss-db \
95  liborbit2 \
96  libp11-2 \
97  libp11-kit0 \
98  libpam0g \
99  libpam0g-dev \
100  libpango-1.0-0 \
101  libpango1.0-dev \
102  libpangocairo-1.0-0 \
103  libpangoft2-1.0-0 \
104  libpangoxft-1.0-0 \
105  libpci3 \
106  libpci-dev \
107  libpcre3 \
108  libpcre3-dev \
109  libpcrecpp0 \
110  libpixman-1-0 \
111  libpixman-1-dev \
112  libpng12-0 \
113  libpng12-dev \
114  libpulse0 \
115  libpulse-dev \
116  libpulse-mainloop-glib0 \
117  libselinux1 \
118  libspeechd2 \
119  libspeechd-dev \
120  libssl1.0.0 \
121  libssl-dev \
122  libstdc++6 \
123  libstdc++-4.8-dev \
124  libtasn1-6 \
125  libudev1 \
126  libudev-dev \
127  libx11-6 \
128  libx11-dev \
129  libx11-xcb1 \
130  libxau6 \
131  libxau-dev \
132  libxcb1 \
133  libxcb1-dev \
134  libxcb-glx0 \
135  libxcb-render0 \
136  libxcb-render0-dev \
137  libxcb-shm0 \
138  libxcb-shm0-dev \
139  libxcomposite1 \
140  libxcomposite-dev \
141  libxcursor1 \
142  libxcursor-dev \
143  libxdamage1 \
144  libxdamage-dev \
145  libxdmcp6 \
146  libxext6 \
147  libxext-dev \
148  libxfixes3 \
149  libxfixes-dev \
150  libxi6 \
151  libxi-dev \
152  libxinerama1 \
153  libxinerama-dev \
154  libxrandr2 \
155  libxrandr-dev \
156  libxrender1 \
157  libxrender-dev \
158  libxss1 \
159  libxss-dev \
160  libxt6 \
161  libxt-dev \
162  libxtst6 \
163  libxtst-dev \
164  libxxf86vm1 \
165  linux-libc-dev \
166  mesa-common-dev \
167  speech-dispatcher \
168  x11proto-composite-dev \
169  x11proto-core-dev \
170  x11proto-damage-dev \
171  x11proto-fixes-dev \
172  x11proto-input-dev \
173  x11proto-kb-dev \
174  x11proto-randr-dev \
175  x11proto-record-dev \
176  x11proto-render-dev \
177  x11proto-scrnsaver-dev \
178  x11proto-xext-dev \
179  zlib1g \
180  zlib1g-dev"
181
182DEBIAN_PACKAGES_X86="libquadmath0"
183
184. ${SCRIPT_DIR}/sysroot-creator.sh
185