Misc fixes

This commit is contained in:
Tad 2018-02-28 16:33:29 -05:00
parent 3ba218ec62
commit 601c03df01
3 changed files with 14 additions and 1 deletions

View file

@ -72,7 +72,8 @@ export -f buildAll;
patchWorkspace() {
source build/envsetup.sh;
repopick 204743 204744;
repopick 204743 204744 207991; #Cherry picks
source $scripts/Patch.sh;
source $scripts/Defaults.sh;
source $scripts/Overclock.sh;
@ -107,6 +108,14 @@ enableDexPreOptFull() {
}
export -f enableDexPreOptFull;
compressRamdisks() {
if [ -f BoardConfig.mk ]; then
echo "LZMA_RAMDISK_TARGETS := boot,recovery" >> BoardConfig.mk;
echo "Enabled ramdisk compression";
fi;
}
export -f compressRamdisks;
enhanceLocation() {
cd $base$1;
#Enable GLONASS