mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-06-17 19:19:19 -04:00
Fixups
- Revert Freetype branch switching for 15.1+, broken - Don't include OpenEUICC on Pixel 2 and 3 series, they won't work - Churn Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
1fde0f9c45
commit
52a0c55c41
11 changed files with 29 additions and 37 deletions
|
@ -723,16 +723,19 @@ export -f disableAPEX;
|
|||
|
||||
includeOE() {
|
||||
cd "$DOS_BUILD_BASE/$1";
|
||||
if [ -f device.mk ]; then
|
||||
if grep -sq "euicc.xml" device.mk; then
|
||||
echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device.mk;
|
||||
echo "Enabled OpenEUICC inclusion for $1";
|
||||
#Skip: Pixel 2 series (only supports Google Fi), Pixel 3/a series (broken on 20.0)
|
||||
if [[ "$1" != *"device/google/bonito"* ]] && [[ "$1" != *"device/google/crosshatch"* ]] && [[ "$1" != *"device/google/wahoo"* ]]; then
|
||||
if [ -f device.mk ]; then
|
||||
if grep -sq "euicc.xml" device.mk; then
|
||||
echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device.mk;
|
||||
echo "Enabled OpenEUICC inclusion for $1";
|
||||
fi;
|
||||
fi;
|
||||
fi;
|
||||
if [ -f device-lineage.mk ]; then
|
||||
if grep -sq "euicc.xml" device-lineage.mk; then
|
||||
echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device-lineage.mk;
|
||||
echo "Enabled OpenEUICC inclusion for $1";
|
||||
if [ -f device-lineage.mk ]; then
|
||||
if grep -sq "euicc.xml" device-lineage.mk; then
|
||||
echo -e "\nPRODUCT_PACKAGES += OpenEUICC" >> device-lineage.mk;
|
||||
echo "Enabled OpenEUICC inclusion for $1";
|
||||
fi;
|
||||
fi;
|
||||
fi;
|
||||
cd "$DOS_BUILD_BASE";
|
||||
|
|
|
@ -114,9 +114,9 @@ applyPatch "$DOS_PATCHES/android_external_expat/337989-backport.patch"; #n-asb-2
|
|||
applyPatch "$DOS_PATCHES/android_external_expat/348649.patch"; #n-asb-2023-02 Fix overeager DTD destruction (fixes #649)
|
||||
fi;
|
||||
|
||||
#if enterAndClear "external/freetype"; then
|
||||
#applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes
|
||||
#fi;
|
||||
if enterAndClear "external/freetype"; then
|
||||
applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes
|
||||
fi;
|
||||
|
||||
#if [ "$DOS_GRAPHENE_MALLOC_BROKEN" = true ]; then
|
||||
#if enterAndClear "external/hardened_malloc"; then
|
||||
|
|
|
@ -138,10 +138,10 @@ git fetch https://github.com/LineageOS/android_external_expat refs/changes/56/33
|
|||
git fetch https://github.com/LineageOS/android_external_expat refs/changes/28/349328/1 && git cherry-pick FETCH_HEAD; #P_asb_2023-02
|
||||
fi;
|
||||
|
||||
#if enterAndClear "external/freetype"; then
|
||||
#applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes
|
||||
if enterAndClear "external/freetype"; then
|
||||
applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes
|
||||
#applyPatch "$DOS_PATCHES/android_external_freetype/364028-backport.patch"; #R_asb_2023-08 Cherrypick following three changes #XXX: needs fix
|
||||
#fi;
|
||||
fi;
|
||||
|
||||
if [ "$DOS_GRAPHENE_MALLOC" = true ]; then
|
||||
if enterAndClear "external/hardened_malloc"; then
|
||||
|
|
|
@ -124,10 +124,10 @@ if enterAndClear "external/conscrypt"; then
|
|||
if [ "$DOS_GRAPHENE_CONSTIFY" = true ]; then applyPatch "$DOS_PATCHES/android_external_conscrypt/0001-constify_JNINativeMethod.patch"; fi; #Constify JNINativeMethod tables (GrapheneOS)
|
||||
fi;
|
||||
|
||||
#if enterAndClear "external/freetype"; then
|
||||
#applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes
|
||||
#applyPatch "$DOS_PATCHES/android_external_freetype/364028-backport.patch"; #R_asb_2023-08 Cherrypick following three changes
|
||||
#fi;
|
||||
if enterAndClear "external/freetype"; then
|
||||
applyPatch "$DOS_PATCHES/android_external_freetype/360951.patch"; #R_asb_2023-07 Cherry-pick two upstream changes
|
||||
applyPatch "$DOS_PATCHES/android_external_freetype/364028-backport.patch"; #R_asb_2023-08 Cherrypick following three changes
|
||||
fi;
|
||||
|
||||
if [ "$DOS_GRAPHENE_MALLOC" = true ]; then
|
||||
if enterAndClear "external/hardened_malloc"; then
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#General
|
||||
export DOS_WORKSPACE_ROOT="/mnt/dos/"; #XXX: THIS MUST BE CORRECT TO BUILD!
|
||||
#export DOS_BUILDS=$DOS_WORKSPACE_ROOT"Builds/";
|
||||
export DOS_BUILDS="/mnt/backup-1/DivestOS/Builds/"; #XXX: THIS MUST BE CORRECT TO BUILD!
|
||||
export DOS_BUILDS="/mnt/Storage-1/DivestOS/Builds/"; #XXX: THIS MUST BE CORRECT TO BUILD!
|
||||
export DOS_SIGNING_KEYS="$DOS_WORKSPACE_ROOT/Signing_Keys/4096pro";
|
||||
export DOS_SIGNING_GPG="$DOS_WORKSPACE_ROOT/Signing_Keys/gnupg";
|
||||
#export USE_CCACHE=1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue