Files
android_device_samsung_rube…/lineage_rubenslte.mk
T
2026-09-28 07:45:28 +02:00

64 lines
2.8 KiB
Makefile

$(call inherit-product, frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# ^ It's pretty much like tablet, except with telephony. The Tab
# Active has GSM, so this is fine.
PRODUCT_NAME := lineage_rubenslte
PRODUCT_BRAND := samsung
PRODUCT_MANUFACTURER := samsung
# The following is just like the stock ROM.
PRODUCT_MODEL := SM-T365
PRODUCT_DEVICE := rubenslte
PRODUCT_CHARACTERISTICS := tablet
PRODUCT_GMS_CLIENTID_BASE := android-samsung
TARGET_SCREEN_HEIGHT := 1280
TARGET_SCREEN_WIDTH := 800
PRODUCT_AAPT_PREF_CONFIG := hdpi
# Fstab and init
PRODUCT_PACKAGES += fstab.qcom init.target.rc
# Vibrator
PRODUCT_PACKAGES += android.hardware.vibrator@1.0-impl
# Lights
PRODUCT_PACKAGES += android.hardware.light@2.0-service.samsung
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay $(LOCAL_PATH)/overlay-lineage
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \
# Sensors
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sensors/_hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/_hals.conf
# Keylayout
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
$(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
# GPS
# Overrides the msm8226-common gps.conf (first PRODUCT_COPY_FILES entry
# for a destination wins), enabling AGPS/XTRA as in the stock ROM.
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/gps/gps.conf:system/etc/gps.conf
$(call inherit-product-if-exists, vendor/samsung/rubenslte/rubenslte-vendor.mk)
$(call inherit-product, device/samsung/msm8226-common/msm8226.mk)