device_phh_treble/gapps.mk

54 lines
1.8 KiB
Makefile
Raw Normal View History

BUILD_GMS := yes
2021-02-05 16:39:34 +00:00
ifneq ($(wildcard vendor/google)$(wildcard vendor/partner_gms),)
2020-05-24 20:07:19 +00:00
-include vendor/google/products/gms.mk
2021-02-05 16:39:34 +00:00
-include vendor/partner_gms/products/gms.mk
PRODUCT_SHIPPING_API_LEVEL :=
2020-05-24 20:07:19 +00:00
2022-06-07 13:24:56 +00:00
#PRODUCT_PACKAGES := $(filter-out CalendarGoogle, $(PRODUCT_PACKAGES))
#PRODUCT_PACKAGES := $(filter-out GoogleContacts, $(PRODUCT_PACKAGES))
2020-05-24 20:07:19 +00:00
PRODUCT_PACKAGES += \
phh-gapps-overrides \
2020-05-24 20:07:19 +00:00
Chrome \
GoogleContactsSyncAdapter \
talkback \
2022-06-07 13:24:56 +00:00
Photos \
PRODUCT_SYSTEM_DEFAULT_PROPERTIES := $(filter-out ro.boot.vendor.overlay.theme=%,$(PRODUCT_SYSTEM_DEFAULT_PROPERTIES))
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
PRODUCT_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