You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.3 KiB
47 lines
2.3 KiB
#
|
|
# Copyright (C) 2017 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
DEVICE_MANIFEST_FILE += device/google/cuttlefish/shared/tv/manifest.xml
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_minimal.mk)
|
|
$(call inherit-product, device/google/cuttlefish/shared/device.mk)
|
|
|
|
# Extend cuttlefish common sepolicy with tv-specific functionality
|
|
BOARD_SEPOLICY_DIRS += device/google/cuttlefish/shared/tv/sepolicy/vendor
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
device/google/atv/permissions/tv_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tv_core_hardware.xml \
|
|
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
|
|
frameworks/native/data/etc/android.hardware.hdmi.cec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.hdmi.cec.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
|
|
hardware/interfaces/tv/tuner/config/sample_tuner_vts_config_1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/tuner_vts_config_1_0.xml \
|
|
hardware/interfaces/tv/tuner/config/sample_tuner_vts_config_1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/tuner_vts_config_1_1.xml \
|
|
|
|
# HDMI CEC HAL
|
|
PRODUCT_PACKAGES += android.hardware.tv.cec@1.1-service
|
|
|
|
# Setup HDMI CEC as Playback Device
|
|
PRODUCT_PROPERTY_OVERRIDES += ro.hdmi.device_type=4
|
|
|
|
# Tuner HAL
|
|
PRODUCT_PACKAGES += android.hardware.tv.tuner@1.1-service
|
|
|
|
# Enabling managed profiles
|
|
DEVICE_PACKAGE_OVERLAYS += device/google/cuttlefish/shared/tv/overlay
|
|
|
|
TARGET_BOARD_INFO_FILE ?= device/google/cuttlefish/shared/tv/android-info.txt
|