Selectively build with or without GAPPS and allow files to live in specified root path depending on WITH_GMS flag.
46 lines
1.5 KiB
Makefile
46 lines
1.5 KiB
Makefile
#
|
|
# Copyright (C) 2021 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Inherit some common Lineage stuff.
|
|
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
|
|
|
# Inherit device configuration
|
|
$(call inherit-product, device/google/bramble/aosp_bramble.mk)
|
|
$(call inherit-product, device/google/redbull/lineage_common.mk)
|
|
|
|
include device/google/bramble/device-lineage.mk
|
|
|
|
# Device identifier. This must come after all inclusions
|
|
PRODUCT_BRAND := google
|
|
PRODUCT_MODEL := Pixel 4a (5G)
|
|
PRODUCT_NAME := lineage_bramble
|
|
|
|
# Boot animation
|
|
TARGET_SCREEN_HEIGHT := 2340
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
|
BuildDesc="bramble-user 14 UP1A.231105.001.B2 11260668 release-keys" \
|
|
BuildFingerprint=google/bramble/bramble:14/UP1A.231105.001.B2/11260668:user/release-keys \
|
|
DeviceProduct=bramble
|
|
|
|
ifeq ($(WITH_GMS),false)
|
|
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
|
system/priv-app/OmniStyle/OmniStyle.apk
|
|
else
|
|
TARGET_USES_MINI_GAPPS := true
|
|
|
|
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
|
system/priv-app/OmniStyle/OmniStyle.apk \
|
|
system/app/GoogleExtShared/GoogleExtShared.apk \
|
|
system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk \
|
|
system/etc/permissions/privapp-permissions-google.xml \
|
|
system/priv-app/DocumentsUIGoogle/DocumentsUIGoogle.apk \
|
|
system/priv-app/TagGoogle/TagGoogle.apk
|
|
endif
|
|
|
|
$(call inherit-product, vendor/google/bramble/bramble-vendor.mk)
|