blob: 2d2d1d847a9e8028ff89bc9c3483ef7bb118f13d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/bash
# Installs necessary packages. Some of them might be obsolete for new builds.
#
# Notes:
# - the master branch of AOSP comes with a brebuilt version of OpenJDK, so
# no need to install it with apt.
#
# Notes about the repo tool:
#
# - The repo tool is available from debian repos. Although you may get warned
# that a new version of repo is available when starting sync later, this
# usually can be safely ignored.
#
# - should you really need the latest repo version of if your distro does
# not have it, you can get the repo tool from here:
# https://android.googlesource.com/tools/repo
# It is a single script filem, no compiling is necessary.
#
# - repo needs the python-is-python3 symlink package installed to work or a
# manual symlink that 'python' is 'python3'. Without it, repo will not
# work!
sudo apt install git gnupg flex bison gperf build-essential zip curl \
zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 libncurses5-dev \
libncurses5 libx11-dev lib32z1-dev libgl1-mesa-dev \
libxml2-utils xsltproc unzip rsync python3 python-is-python3 tofrodos repo
|