Add gapps-go variant

This commit is contained in:
Pierre-Hugues Husson 2018-05-17 22:19:54 +02:00
parent 1959f79e53
commit f11d7c0a3a
2 changed files with 8 additions and 1 deletions

2
gapps-go.mk Normal file
View File

@ -0,0 +1,2 @@
$(call inherit-product, build/make/target/product/go_defaults.mk)
$(call inherit-product, vendor/gapps-go/gapps-go.mk)

View File

@ -8,7 +8,7 @@ fi
echo 'PRODUCT_MAKEFILES := \' > AndroidProducts.mk echo 'PRODUCT_MAKEFILES := \' > AndroidProducts.mk
for part in a ab;do for part in a ab;do
for apps in vanilla gapps foss;do for apps in vanilla gapps foss gapps-go;do
for arch in arm64 arm;do for arch in arm64 arm;do
for su in yes no;do for su in yes no;do
apps_suffix="" apps_suffix=""
@ -20,6 +20,11 @@ for part in a ab;do
apps_script='$(call inherit-product, device/phh/treble/gapps.mk)' apps_script='$(call inherit-product, device/phh/treble/gapps.mk)'
apps_name="with GApps" apps_name="with GApps"
fi fi
if [ "$apps" == "gapps-go" ];then
apps_suffix="o"
apps_script='$(call inherit-product, device/phh/treble/gapps-go.mk)'
app_name="Go"
fi
if [ "$apps" == "foss" ];then if [ "$apps" == "foss" ];then
apps_suffix="f" apps_suffix="f"
apps_script='$(call inherit-product, vendor/foss/foss.mk)' apps_script='$(call inherit-product, vendor/foss/foss.mk)'