a582ad2c95
Some vendors set ro.bluetooth.library_name. This shouldn't matter because GSIs targetting Pie ignore those properties from vendor. Sadly we're targetting Oreo, so vendor can set it. https://github.com/AndroidDumps/redmi_curtana_dump/blob/qssi-user-10-QKQ1.191215.002-V11.0.4.0.QJWINXM-release-keys/system/system/build.prop#L167 https://github.com/AndroidDumps/redmi_curtana_dump/blob/qssi-user-10-QKQ1.191215.002-V11.0.4.0.QJWINXM-release-keys/vendor/build.prop#L103
45 lines
1.5 KiB
Makefile
45 lines
1.5 KiB
Makefile
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
|
|
|
|
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
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += device/phh/treble/overlay-gapps
|
|
GAPPS_VARIANT := pico
|
|
DONT_DEXPREOPT_PREBUILTS := true
|
|
WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true
|
|
GAPPS_FORCE_PACKAGE_OVERRIDES := true
|
|
GAPPS_FORCE_BROWSER_OVERRIDES := true
|
|
GAPPS_FORCE_WEBVIEW_OVERRIDES := true
|
|
PRODUCT_PACKAGES += \
|
|
Chrome \
|
|
CalculatorGoogle \
|
|
PrebuiltDeskClockGoogle \
|
|
CalendarGooglePrebuilt \
|
|
LatinImeGoogle \
|
|
phh-overrides
|
|
|
|
$(call inherit-product, vendor/opengapps/build/opengapps-packages.mk)
|
|
endif
|
|
|
|
#Pixel Experience gapps
|
|
ifneq ($(wildcard vendor/gapps),)
|
|
IS_PHONE := true
|
|
$(call inherit-product,vendor/gapps/config.mk)
|
|
PRODUCT_PACKAGES += \
|
|
phh-overrides \
|
|
com.simplemobiletools.gallery.pro \
|
|
|
|
endif
|