blob: a56b42bff0936d2c08da184a7eb8c6b7189339ab [file] [log] [blame]
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -07001#
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
Greg Hartman3e821182018-07-30 17:04:30 -070017DEVICE_MANIFEST_FILE += device/google/cuttlefish/shared/config/manifest.xml
Alistair Strachan99bebbf2019-04-03 23:11:44 -070018DEVICE_MANIFEST_FILE += device/google/cuttlefish/shared/tv/manifest.xml
Greg Hartman3e821182018-07-30 17:04:30 -070019
Cameron Chu509cc542019-02-19 10:55:13 -080020$(call inherit-product, $(SRC_TARGET_DIR)/product/core_minimal.mk)
Tomasz Wiszkowskica327fe2017-05-26 15:54:12 -070021$(call inherit-product, device/google/cuttlefish/shared/device.mk)
22
Alistair Delvaba870a92020-05-12 16:58:35 -070023# Extend cuttlefish common sepolicy with tv-specific functionality
24BOARD_SEPOLICY_DIRS += device/google/cuttlefish/shared/tv/sepolicy/vendor
25
Alistair Delva3373f7b2020-05-07 09:15:19 -070026PRODUCT_COPY_FILES += \
27 device/google/atv/permissions/tv_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tv_core_hardware.xml \
28 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
29 frameworks/native/data/etc/android.hardware.hdmi.cec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.hdmi.cec.xml \
30 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
31 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
32 frameworks/native/data/etc/android.hardware.touchscreen.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.xml \
33
Amy2d25dc92019-06-13 19:23:52 -070034# HDMI CEC HAL
35PRODUCT_PACKAGES += android.hardware.tv.cec@1.0-service.mock
36
Amy9824c8f2019-08-09 14:20:37 -070037# Tuner HAL
38PRODUCT_PACKAGES += android.hardware.tv.tuner@1.0-service
39
Robert Horvath19a92482019-07-31 14:24:46 +020040# Enabling managed profiles
Robert Horvath19a92482019-07-31 14:24:46 +020041DEVICE_PACKAGE_OVERLAYS += device/google/cuttlefish/shared/tv/overlay