mirror of
https://github.com/Evolution-X-Devices/device_google_redfin
synced 2026-01-27 14:26:37 +00:00
Selectively build with or without GAPPS and allow files to live in specified root path depending on WITH_GMS flag.
45 lines
1.4 KiB
Makefile
45 lines
1.4 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/redfin/aosp_redfin.mk)
|
|
$(call inherit-product, device/google/redbull/lineage_common.mk)
|
|
|
|
include device/google/redfin/device-lineage.mk
|
|
|
|
# Device identifier. This must come after all inclusions
|
|
PRODUCT_BRAND := google
|
|
PRODUCT_MODEL := Pixel 5
|
|
PRODUCT_NAME := lineage_redfin
|
|
|
|
# Boot animation
|
|
TARGET_SCREEN_HEIGHT := 2340
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
|
BuildDesc="redfin-user 14 UP1A.231105.001.B2 11260668 release-keys" \
|
|
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 += \
|
|
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
|
|
|
|
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
|
system/priv-app/OmniStyle/OmniStyle.apk
|
|
|
|
$(call inherit-product, vendor/google/redfin/redfin-vendor.mk)
|