Allow building inline without Google SuW and Velvet

* And remove Velvet for low-ram devices
This commit is contained in:
Paul Keith
2018-02-20 00:45:57 +01:00
parent 2f303e71bf
commit f73c84ce47
7 changed files with 30 additions and 15 deletions

View File

@@ -45,6 +45,13 @@ write_headers "arm arm64 x86"
# Common gapps
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"
# We are done with common