blob: c73a2f1af0ef40245a3bf06c5e4c7b8d4824af3c (
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
|
#!/bin/sh
. $(dirname $0)/functions
PATCHES=0
if [ -n "$1" ]; then
AOSP="$1"
else
AOSP="`pwd`"
fi
if ! [ -d "$AOSP" ] && ! [ -d "$AOSP/bionic" ] && [ -d "$AOSP"/build ]; then
echo "This script must be run from the AOSP source directory"
echo "or with the AOSP source directory as its first parameter."
exit 1
fi
# Allow host tools to build with both OpenJDK 7 and OpenJDK 8
apply --linaro external/guava 16903/1
# Allow frameworks/support/v4 to find its dependencies
apply --linaro frameworks/support 17863/1
# WORKAROUND: disable apicheck by default
apply --linaro build 17869/1
|