1# 2# Copyright (C) 2019 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.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \ 24 frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml 25 26$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) 27$(call inherit-product, device/google/cuttlefish/shared/biometrics_face/device_vendor.mk) 28$(call inherit-product, device/google/cuttlefish/shared/biometrics_fingerprint/device_vendor.mk) 29$(call inherit-product, device/google/cuttlefish/shared/bluetooth/device_vendor.mk) 30$(call inherit-product, device/google/cuttlefish/shared/consumerir/device_vendor.mk) 31$(call inherit-product, device/google/cuttlefish/shared/gnss/device_vendor.mk) 32$(call inherit-product, device/google/cuttlefish/shared/graphics/device_vendor.mk) 33$(call inherit-product, device/google/cuttlefish/shared/identity/device_vendor.mk) 34$(call inherit-product, device/google/cuttlefish/shared/reboot_escrow/device_vendor.mk) 35$(call inherit-product, device/google/cuttlefish/shared/vibrator/device_vendor.mk) 36$(call inherit-product, device/google/cuttlefish/shared/secure_element/device_vendor.mk) 37$(call inherit-product, device/google/cuttlefish/shared/swiftshader/device_vendor.mk) 38$(call inherit-product, device/google/cuttlefish/shared/telephony/device_vendor.mk) 39$(call inherit-product, device/google/cuttlefish/shared/sensors/device_vendor.mk) 40$(call inherit-product, device/google/cuttlefish/shared/virgl/device_vendor.mk) 41$(call inherit-product, device/google/cuttlefish/shared/device.mk) 42 43# Loads the camera HAL and which set of cameras is required. 44$(call inherit-product, device/google/cuttlefish/shared/camera/device_vendor.mk) 45$(call inherit-product, device/google/cuttlefish/shared/camera/config/standard.mk) 46 47# Support mixing CF system onto previous versions of vendor 48PRODUCT_EXTRA_VNDK_VERSIONS := 30 31 32 33 34 49 50TARGET_PRODUCT_PROP := $(LOCAL_PATH)/product.prop 51TARGET_VENDOR_PROP := $(LOCAL_PATH)/vendor.prop 52 53PRODUCT_COPY_FILES += \ 54 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml \ 55 56 ifneq ($(TARGET_DISABLE_BIOMETRICS_FACE),true) 57 PRODUCT_COPY_FILES += \ 58 frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.biometrics.face.xml \ 59 60 endif 61 62DEVICE_PACKAGE_OVERLAYS += device/google/cuttlefish/shared/phone/overlay 63 64# Runtime Resource Overlays 65PRODUCT_PACKAGES += cuttlefish_phone_overlay_frameworks_base_core 66 67# NFC AIDL HAL 68PRODUCT_PACKAGES += \ 69 com.google.cf.nfc 70 71TARGET_BOARD_INFO_FILE ?= device/google/cuttlefish/shared/phone/android-info.txt 72 73# Storage: for factory reset protection feature 74PRODUCT_VENDOR_PROPERTIES += \ 75 ro.frp.pst=/dev/block/by-name/frp 76