Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 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 | |
Greg Hartman | 3e82118 | 2018-07-30 17:04:30 -0700 | [diff] [blame] | 17 | DEVICE_MANIFEST_FILE += device/google/cuttlefish/shared/config/manifest.xml |
Alistair Strachan | 99bebbf | 2019-04-03 23:11:44 -0700 | [diff] [blame] | 18 | DEVICE_MANIFEST_FILE += device/google/cuttlefish/shared/tv/manifest.xml |
Greg Hartman | 3e82118 | 2018-07-30 17:04:30 -0700 | [diff] [blame] | 19 | |
Cameron Chu | 509cc54 | 2019-02-19 10:55:13 -0800 | [diff] [blame] | 20 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_minimal.mk) |
Tomasz Wiszkowski | ca327fe | 2017-05-26 15:54:12 -0700 | [diff] [blame] | 21 | $(call inherit-product, device/google/cuttlefish/shared/device.mk) |
| 22 | |
Alistair Delva | ba870a9 | 2020-05-12 16:58:35 -0700 | [diff] [blame] | 23 | # Extend cuttlefish common sepolicy with tv-specific functionality |
| 24 | BOARD_SEPOLICY_DIRS += device/google/cuttlefish/shared/tv/sepolicy/vendor |
| 25 | |
Alistair Delva | 3373f7b | 2020-05-07 09:15:19 -0700 | [diff] [blame] | 26 | PRODUCT_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 | |
Amy | 2d25dc9 | 2019-06-13 19:23:52 -0700 | [diff] [blame] | 34 | # HDMI CEC HAL |
| 35 | PRODUCT_PACKAGES += android.hardware.tv.cec@1.0-service.mock |
| 36 | |
Amy | 9824c8f | 2019-08-09 14:20:37 -0700 | [diff] [blame] | 37 | # Tuner HAL |
| 38 | PRODUCT_PACKAGES += android.hardware.tv.tuner@1.0-service |
| 39 | |
Robert Horvath | 19a9248 | 2019-07-31 14:24:46 +0200 | [diff] [blame] | 40 | # Enabling managed profiles |
Robert Horvath | 19a9248 | 2019-07-31 14:24:46 +0200 | [diff] [blame] | 41 | DEVICE_PACKAGE_OVERLAYS += device/google/cuttlefish/shared/tv/overlay |