bramble: 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-08 12:12:57 +02:00
parent 91b3ca39b4
commit 97e699e3f9

View File

@@ -27,6 +27,7 @@ PRODUCT_BUILD_PROP_OVERRIDES += \
BuildFingerprint=google/bramble/bramble:14/UP1A.231105.001.B2/11260668:user/release-keys \
DeviceProduct=bramble
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