Files
android_device_brcm_rpi4/aosp_rpi4_tv.mk
Konsta 848badbec2 keylayout: add tv specific layout
* Copy from device/google/atv/Generic.kl at 8e49e4448fdced4816fc40d4e01f3f6e66e3c3db.

Change-Id: I2aeb85d5bab319c7efda7d324042e319a447bb83
2025-08-22 20:00:51 +03:00

51 lines
1.2 KiB
Makefile

#
# Copyright (C) 2021-2023 KonstaKANG
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/brcm/rpi4
# Inherit device configuration
$(call inherit-product, device/brcm/rpi4/device.mk)
PRODUCT_AAPT_PREF_CONFIG := tvdpi
PRODUCT_CHARACTERISTICS := tv
$(call inherit-product, device/google/atv/products/atv_base.mk)
$(call enforce-product-packages-exist,)
# Android TV
PRODUCT_PACKAGES += \
DocumentsUI \
LeanbackIME \
TvProvision \
TvSampleLeanbackLauncher \
TvSettingsTwoPanel
# Bluetooth
PRODUCT_VENDOR_PROPERTIES += \
bluetooth.device.class_of_device=34,4,36
# Boot animation
PRODUCT_COPY_FILES += \
device/google/atv/products/bootanimations/bootanimation.zip:$(TARGET_COPY_OUT_SYSTEM)/media/bootanimation.zip
# Keylayout
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/keylayout/Generic-tv.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl
# Overlays
PRODUCT_PACKAGES += \
AndroidTvRpiOverlay \
BluetoothRpiOverlay \
SettingsProviderTvRpiOverlay \
WifiRpiOverlay
# Device identifier. This must come after all inclusions.
PRODUCT_DEVICE := rpi4
PRODUCT_NAME := aosp_rpi4_tv
PRODUCT_BRAND := Raspberry
PRODUCT_MODEL := Pi 4
PRODUCT_MANUFACTURER := Raspberry