bliss: Add a flag to the blissify function for PixelGapps users
Change-Id: I9287450c11c62dbcaa7b4e904465a9dee58ad1ee
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
diff --git a/build/envsetup.sh b/build/envsetup.sh
index 71ee442..e50619f 100644
--- a/build/envsetup.sh
+++ b/build/envsetup.sh
@@ -974,7 +974,8 @@
echo " -c | --clean: Clean up before running the build"
echo " -d | --devclean: Clean up device tree before running the build"
echo " -v | --vanilla: Build with no added app store solution **default option** "
- echo " -g | --gapps: Build with Google Play Services added"
+ echo " -g | --gapps: Build with Minimal Google Play Services added"
+ echo " -p | --pixelgapps: Build with Google Pixel Gapps added"
echo " -f | --fossa: build with FOSS (arm64-v8a) app store solutions added"
echo " -F | --fossx: build with FOSS (x86_64) app store solutions added"
echo ""
@@ -995,9 +996,13 @@
export BLISS_BUILD_VARIANT=vanilla
;;
-g | --gapps)
- echo "Building with gapps"
+ echo "Building with Minimal Gapps"
export BLISS_BUILD_VARIANT=gapps
;;
+ -p | --pixelgapps)
+ echo "Building with Pixel Gapps"
+ export BLISS_BUILD_VARIANT=pixelgapps
+ ;;
-f | --fossa)
echo "Building with FOSS apps for arm64-v8a support"
export BLISS_BUILD_VARIANT=foss
diff --git a/config/common.mk b/config/common.mk
index 1186b56..5764b32 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -187,6 +187,11 @@
$(call inherit-product, vendor/gapps/arm64/arm64-vendor.mk)
endif
+# PixelGapps
+ifeq ($(BLISS_BUILD_VARIANT), pixelgapps)
+$(call inherit-product, vendor/gms/products/gms.mk)
+endif
+
# Plugins
#include packages/apps/Plugins/plugins.mk