Regen makefiles
This commit is contained in:
@@ -47,15 +47,13 @@ write_makefiles "$MY_DIR"/proprietary-files-common.txt
|
||||
|
||||
# Gapps that are too large for grouper
|
||||
echo "ifeq (\$(TARGET_IS_GROUPER),)" >> "$PRODUCTMK"
|
||||
echo "ifeq (\$(TARGET_IS_GROUPER),)" >> "$ANDROIDMK"
|
||||
write_makefiles "$MY_DIR"/proprietary-files-common-nongrouper.txt
|
||||
echo "endif" >> "$PRODUCTMK"
|
||||
echo "endif" >> "$ANDROIDMK"
|
||||
|
||||
sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK"
|
||||
|
||||
# Make Google SuW override Provision
|
||||
sed -i 's/\(SetupWizardPrebuilt.apk\)/\1\nLOCAL_OVERRIDES_PACKAGES := Provision/' "$ANDROIDMK"
|
||||
sed -i 's/\(SetupWizardPrebuilt.apk",\)/\1\n\toverrides: ["Provision"],/' "$ANDROIDBP"
|
||||
|
||||
# We are done with common
|
||||
write_footers
|
||||
@@ -72,10 +70,8 @@ write_makefiles "$MY_DIR"/proprietary-files-$TARGET.txt
|
||||
|
||||
# Gapps that are too large for grouper
|
||||
echo "ifeq (\$(TARGET_IS_GROUPER),)" >> "$PRODUCTMK"
|
||||
echo "ifeq (\$(TARGET_IS_GROUPER),)" >> "$ANDROIDMK"
|
||||
write_makefiles "$MY_DIR"/proprietary-files-$TARGET-nongrouper.txt
|
||||
echo "endif" >> "$PRODUCTMK"
|
||||
echo "endif" >> "$ANDROIDMK"
|
||||
|
||||
printf '\n%s\n' "\$(call inherit-product, vendor/gapps/common/common-vendor.mk)" >> "$PRODUCTMK"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user