• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3set -e
4
5if [[ "${TARGET_PRODUCT}" != "aosp_x86" ]]; then
6  echo "Please run 'aosp_x86-trunk_staging-eng' first." >&2
7  exit 1
8fi
9
10T="${ANDROID_BUILD_TOP}"
11cd $(dirname "$0")
12
13source ${T}/build/envsetup.sh
14
15CONFIGURE_ARGS=(
16  --enable-ipv6
17  --without-ftp
18  --without-http
19  --without-html
20  --without-legacy
21  --without-iconv
22  --without-zlib
23  --without-lzma
24)
25
26# Show the commands on the terminal.
27set -x
28
29./autogen.sh
30./configure "${CONFIGURE_ARGS[@]}"
31
32make
33