summaryrefslogtreecommitdiff
path: root/LOLLIPOP-MLCR-PATCHSET
blob: d492c5ab73824cc7a8deede7f0c501041c985615 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/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/2

##################################################
################ 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
# Allow skia to build with giflib 5.1
apply external/skia 151010/1

##################################################
################## Bug fixes #####################
##################################################
# Uninitialized variable
apply --linaro external/bluetooth/bluedroid 15610/1
# Fix API check on build hosts with modern glibc versions
apply system/core 114555/1
# Make sure HAVE_MALLOC_H has a value to make updated sqlite happy
cherrypick build 9b44afb4529d743e291d6565d6fbe463cd8c964b

##################################################
################ 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
# Further Bionic optimizations
apply --linaro bionic 15553/1
apply --linaro bionic 15566/1

########################################################
#### Backports of optimizations submitted to master ####
########################################################
apply --linaro bionic 15613/3

##################################################
################ Linaro hack   ###################
##################################################
# changes to make perf work on Lollipop
apply --linaro bionic 15845/3
apply --linaro external/elfutils 15844/2
apply --linaro external/linux-tools-perf 15843/2

# changes to make chromium_org to use the system libjpeg.so
apply --linaro external/chromium_org 15874/1
apply --linaro external/chromium_org/v8 15876/1
apply --linaro external/chromium_org/third_party/angle 15877/1
apply --linaro external/chromium_org/third_party/freetype 15878/1
apply --linaro external/chromium_org/third_party/icu 15879/1
apply --linaro external/chromium_org/third_party/libsrtp 15880/1
apply --linaro external/chromium_org/third_party/libvpx 15886/1
apply --linaro external/chromium_org/third_party/libyuv 15881/1
apply --linaro external/chromium_org/third_party/openmax_dl 15882/1
apply --linaro external/chromium_org/third_party/ots 15883/1
apply --linaro external/chromium_org/third_party/WebKit 15884/1
apply --linaro external/chromium_org/third_party/webrtc 15885/1