device_phh_treble/gapps.mk

45 lines
1.5 KiB
Makefile
Raw Normal View History

BUILD_GMS := yes
ifneq ($(wildcard vendor/google),)
-include vendor/google/products/gms_eea_type1.mk
PRODUCT_SHIPPING_API_LEVEL :=
PRODUCT_PACKAGES += \
phh-gapps-overrides \
FILTER_OUT = $(foreach v,$(2),$(if $(findstring $(1),$(v)),,$(v)))
endif
2019-10-21 19:44:12 +00:00
ifneq ($(wildcard vendor/opengapps),)
PRODUCT_COPY_FILES += \
device/phh/treble/empty-permission.xml:system/etc/permissions/com.google.android.camera2.xml \
device/phh/treble/empty-permission.xml:system/etc/permissions/com.google.android.camera.experimental2015.xml \
device/phh/treble/empty-permission.xml:system/etc/permissions/com.google.android.camera.experimental2016.xml \
device/phh/treble/empty-permission.xml:system/etc/permissions/com.google.android.camera.experimental2017.xml
2018-06-14 16:41:25 +00:00
DEVICE_PACKAGE_OVERLAYS += device/phh/treble/overlay-gapps
GAPPS_VARIANT := pico
DONT_DEXPREOPT_PREBUILTS := true
2018-03-19 22:11:52 +00:00
WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true
2017-12-17 16:46:37 +00:00
GAPPS_FORCE_PACKAGE_OVERRIDES := true
2017-12-18 20:09:17 +00:00
GAPPS_FORCE_BROWSER_OVERRIDES := true
2017-12-19 01:01:18 +00:00
GAPPS_FORCE_WEBVIEW_OVERRIDES := true
2017-12-17 16:46:37 +00:00
PRODUCT_PACKAGES += \
Chrome \
CalculatorGoogle \
PrebuiltDeskClockGoogle \
CalendarGooglePrebuilt \
LatinImeGoogle \
phh-overrides
$(call inherit-product, vendor/opengapps/build/opengapps-packages.mk)
2019-10-21 19:44:12 +00:00
endif
#Pixel Experience gapps
ifneq ($(wildcard vendor/gapps),)
2019-11-11 22:29:51 +00:00
IS_PHONE := true
2019-10-21 19:44:12 +00:00
$(call inherit-product,vendor/gapps/config.mk)
PRODUCT_PACKAGES += \
phh-overrides \
com.simplemobiletools.gallery.pro \
2019-10-21 19:44:12 +00:00
endif