1# 2# Copyright (C) 2022 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 17PRODUCT_MANIFEST_FILES += device/google/cuttlefish/shared/config/product_manifest.xml 18SYSTEM_EXT_MANIFEST_FILES += device/google/cuttlefish/shared/config/system_ext_manifest.xml 19 20$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk) 21 22PRODUCT_COPY_FILES += \ 23 frameworks/native/data/etc/android.software.backup.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.backup.xml \ 24 frameworks/native/data/etc/android.software.connectionservice.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.connectionservice.xml \ 25 frameworks/native/data/etc/android.software.device_admin.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_admin.xml \ 26 frameworks/native/data/etc/wearable_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/wearable_core_hardware.xml \ 27 28$(call inherit-product, device/google/cuttlefish/shared/bluetooth/device_vendor.mk) 29$(call inherit-product, device/google/cuttlefish/shared/gnss/device_vendor.mk) 30$(call inherit-product, device/google/cuttlefish/shared/graphics/device_vendor.mk) 31$(call inherit-product, device/google/cuttlefish/shared/secure_element/device_vendor.mk) 32$(call inherit-product, device/google/cuttlefish/shared/swiftshader/device_vendor.mk) 33$(call inherit-product, device/google/cuttlefish/shared/telephony/device_vendor.mk) 34$(call inherit-product, device/google/cuttlefish/shared/sensors/device_vendor.mk) 35$(call inherit-product, device/google/cuttlefish/shared/virgl/device_vendor.mk) 36 37# WearOS uses the lazy Widevine and Clearkey HALs 38TARGET_BUILD_WIDEVINE := lazy 39TARGET_BUILD_WIDEVINE_USE_PREBUILT := true 40TARGET_USE_LAZY_CLEARKEY := true 41 42$(call inherit-product, device/google/cuttlefish/shared/device.mk) 43 44PRODUCT_COPY_FILES += \ 45 frameworks/native/data/etc/android.hardware.audio.output.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.output.xml \ 46 frameworks/native/data/etc/android.hardware.faketouch.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.faketouch.xml \ 47 frameworks/native/data/etc/android.hardware.location.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.xml \ 48 49# Runtime Resource Overlays 50PRODUCT_PACKAGES += \ 51 cuttlefish_phone_overlay_frameworks_base_core \ 52 cuttlefish_wear_overlay_frameworks_base_core \ 53 cuttlefish_wear_overlay_settings_provider \ 54 55PRODUCT_PRODUCT_PROPERTIES += \ 56 config.disable_cameraservice=true 57 58# NFC AIDL HAL 59PRODUCT_PACKAGES += \ 60 com.google.cf.nfc 61 62PRODUCT_CHARACTERISTICS := nosdcard,watch 63 64TARGET_BOARD_INFO_FILE ?= device/google/cuttlefish/shared/wear/android-info.txt 65