redfin: Select apps based on WITH_GMS flag

Selectively build with or without GAPPS and allow files to live in
specified root path depending on WITH_GMS flag.
This commit is contained in:
Apelete Seketeli
2025-09-14 23:17:16 +02:00
parent 3607aa24da
commit 46bdb796df

View File

@@ -27,6 +27,7 @@ PRODUCT_BUILD_PROP_OVERRIDES += \
BuildFingerprint=google/redfin/redfin:14/UP1A.231105.001.B2/11260668:user/release-keys \
DeviceProduct=redfin
ifeq ($(WITH_GMS),true)
TARGET_USES_MINI_GAPPS := true
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
@@ -35,6 +36,7 @@ PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/etc/permissions/privapp-permissions-google.xml \
system/priv-app/DocumentsUIGoogle/DocumentsUIGoogle.apk \
system/priv-app/TagGoogle/TagGoogle.apk
endif
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/priv-app/OmniStyle/OmniStyle.apk