1# 2# Copyright (C) 2017 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17DEVICE_MANIFEST_FILE += device/google/cuttlefish/shared/tv/manifest.xml 18 19$(call inherit-product, $(SRC_TARGET_DIR)/product/core_minimal.mk) 20$(call inherit-product, device/google/cuttlefish/shared/device.mk) 21 22# Extend cuttlefish common sepolicy with tv-specific functionality 23BOARD_SEPOLICY_DIRS += device/google/cuttlefish/shared/tv/sepolicy/vendor 24 25PRODUCT_COPY_FILES += \ 26 device/google/atv/permissions/tv_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tv_core_hardware.xml \ 27 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ 28 frameworks/native/data/etc/android.hardware.hdmi.cec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.hdmi.cec.xml \ 29 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ 30 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ 31 32# HDMI CEC HAL 33PRODUCT_PACKAGES += android.hardware.tv.cec@1.0-service.mock 34 35# Enabling managed profiles 36DEVICE_PACKAGE_OVERLAYS += device/google/cuttlefish/shared/tv/overlay 37