summaryrefslogtreecommitdiff
path: root/LOLLIPOP-STABLE-PATCHSET
blob: 9c893149c703e15b466da0c49aac3e9fe1e5c11e (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/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

##################################################
################ Non-upstreamable ################
##################################################
# Include bionic tests patch http://review.android.git.linaro.org/#/c/15288/
apply --linaro system/extras 15288/1

##################################################
################ Backport ########################
##################################################
# Include fix for monkey crash on browser package:
# https://android-review.googlesource.com/#/c/118963
apply packages/apps/Browser 118963/1
# Fix Java detection on Linux distributions that
# rely on update-alternatives to allow several JDKs
# to coexist
cherrypick build 311384fec340a7f2f76ca7f45599987df4341d5b
# Allow the Denver implementation of memset to build
# with clang
cherrypick bionic ce46f5576ad0c9aefd842492949c4d2965e23e89
# Allow Bionic to build with clang
apply --linaro bionic 15515/1

##################################################
################ Temporary fix ###################
##################################################
# Include patch for start and stop file path for bootchart:
# https://android-review.googlesource.com/#/c/117071/
apply --linaro system/core 15367/2
apply --linaro external/sepolicy 15506/1

##################################################
#### Optimizations not yet submitted upstream ####
##################################################
# Add optimizations from cortex-string for bionic
apply --linaro bionic 15494/5
apply --linaro bionic 15528/1
apply --linaro bionic 15529/1
# And some Bionic optimizations not from cortex-strings
apply --linaro bionic 15553/1
apply --linaro bionic 15554/1

##################################################
################ Linaro hack   ###################
##################################################