29 lines
1.4 KiB
Bash
Executable file
29 lines
1.4 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
## add AndroidAuto and stubs
|
|
echo "PRODUCT_PACKAGES += AndroidAuto gappsstub speechservicestub" >> "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk"
|
|
sed -i '/AutomotiveProjection" translatable="false"/s/></>com.google.android.projection.gearhead</' "/srv/src/LINEAGE_19_1/frameworks/base/core/res/res/values/config.xml"
|
|
|
|
## add GCam
|
|
#sed -i "1s;^;\$(call inherit-product-if-exists, vendor/GCam/gcam.mk)\n\n;" "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk"
|
|
|
|
## add MulchWebView
|
|
sed -i "1s;^;\$(call inherit-product-if-exists, vendor/mulch/mulch.mk)\n\n;" "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk"
|
|
|
|
## add lawnchair overlay to build
|
|
sed -i "1s;^;\$(call inherit-product-if-exists, vendor/lawnchair/lawnchair.mk)\n\n;" "/srv/src/LINEAGE_19_1/vendor/lineage/config/common.mk"
|
|
|
|
## remove Trebuchet
|
|
sed -i 's/overrides.*/overrides: ["Home", "Launcher2", "Launcher3", "Launcher3QuickStep", "ParanoidQuickStep", "PixelLauncher", "TrebuchetQuickStep", "TrebuchetOverlay"],/' "/srv/src/LINEAGE_19_1/vendor/lawnchair/Android.bp"
|
|
|
|
## remove F-Droid
|
|
echo "PRODUCT_PACKAGES += \\
|
|
GmsCore \\
|
|
GsfProxy \\
|
|
FakeStore \\
|
|
IchnaeaNlpBackend \\
|
|
LocalGsmNlpBackend \\
|
|
AuroraServices \\
|
|
NominatimGeocoderBackend" | tee "/srv/src/LINEAGE_19_1/vendor/partner_gms/products/gms.mk"
|
|
|
|
rm -r /srv/src/LINEAGE_19_1/vendor/partner_gms/AuroraStore/
|