extra: gapps: Add a custom GApps variant

cm-14.1
Nolen Johnson 6 years ago
parent 65c5552d33
commit 045ed40802
  1. 45
      gapps.mk

@ -1,15 +1,15 @@
LOCAL_PATH := $(call my-dir)
STOCK_GAPPS_DEVICES += \
%bacon \
%berkeley \
%ether \
%nash \
%shamu \
$(PIXEL_CODENAMES)
%nash
CUSTOM_GAPPS_DEVICES += \
%shamu
NANO_GAPPS_DEVICES += \
# %bacon \
%bacon \
%jfltevzw \
%molly
@ -22,15 +22,46 @@ EXCLUDE_GAPPS_DEVICES += \
GAPPS_DEVICES += \
$(STOCK_GAPPS_DEVICES) \
$(NANO_GAPPS_DEVICES)
$(CUSTOM_GAPPS_DEVICES) \
$(NANO_GAPPS_DEVICES) \
$(PIXEL_CODENAMES)
ifneq ($(filter $(PIXEL_CODENAMES),$(TARGET_PRODUCT)),)
GAPPS_VARIANT := stock
GAPPS_FORCE_PACKAGE_OVERRIDES := true
GAPPS_FORCE_PIXEL_LAUNCHER := true
endif # Pixel GApps
ifneq ($(filter $(STOCK_GAPPS_DEVICES),$(TARGET_PRODUCT)),)
GAPPS_VARIANT := stock
GAPPS_FORCE_PACKAGE_OVERRIDES := true
GAPPS_FORCE_PIXEL_LAUNCHER := true
GAPPS_EXCLUDED_PACKAGES := GoogleCamera
GAPPS_EXCLUDED_PACKAGES += \
GoogleCamera \
Turbo
endif # Stock GApps
ifneq ($(filter $(CUSTOM_GAPPS_DEVICES),$(TARGET_PRODUCT)),)
GAPPS_VARIANT := stock
GAPPS_FORCE_PACKAGE_OVERRIDES := true
GAPPS_FORCE_PIXEL_LAUNCHER := true
GAPPS_EXCLUDED_PACKAGES := GoogleCamera
GAPPS_EXCLUDED_PACKAGES += \
Maps \
Hangouts \
EditorSheets \
YouTube \
PlusOne \
EditorDocs \
Drive \
FitnessPrebuilt \
PrebuiltKeep \
Books \
PlayGames \
Videos \
EditorSlides \
Turbo
endif # Custom GApps
ifneq ($(filter $(NANO_GAPPS_DEVICES),$(TARGET_PRODUCT)),)
GAPPS_VARIANT := nano

Loading…
Cancel
Save