2020-05-24 17:21:58 +00:00
|
|
|
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
|
2020-05-24 17:21:58 +00:00
|
|
|
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
|
|
|
|
2020-05-24 17:21:58 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
phh-gapps-overrides \
|
2020-05-24 20:07:19 +00:00
|
|
|
Chrome \
|
|
|
|
GoogleContactsSyncAdapter \
|
2020-05-26 12:14:16 +00:00
|
|
|
talkback \
|
2022-06-07 13:24:56 +00:00
|
|
|
Photos \
|
2020-05-24 17:21:58 +00:00
|
|
|
|
2020-05-25 12:10:37 +00:00
|
|
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES := $(filter-out ro.boot.vendor.overlay.theme=%,$(PRODUCT_SYSTEM_DEFAULT_PROPERTIES))
|
2020-05-24 17:21:58 +00:00
|
|
|
endif
|
|
|
|
|
2019-10-21 19:44:12 +00:00
|
|
|
ifneq ($(wildcard vendor/opengapps),)
|
2018-05-25 22:28:46 +00:00
|
|
|
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
|
|
|
|
|
2020-09-27 17:55:55 +00:00
|
|
|
PRODUCT_PACKAGE_OVERLAYS += device/phh/treble/overlay-gapps
|
2018-09-18 15:37:56 +00:00
|
|
|
GAPPS_VARIANT := pico
|
2018-03-17 19:32:29 +00:00
|
|
|
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 += \
|
2020-03-11 12:55:02 +00:00
|
|
|
phh-overrides \
|
|
|
|
com.simplemobiletools.gallery.pro \
|
|
|
|
|
2019-10-21 19:44:12 +00:00
|
|
|
endif
|