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 22ifneq ($(LOCAL_PREFER_VENDOR_APEX),true) 23PRODUCT_COPY_FILES += \ 24 frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml 25endif 26 27$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) 28$(call inherit-product, device/google/cuttlefish/shared/camera/device_vendor.mk) 29$(call inherit-product, device/google/cuttlefish/shared/graphics/device_vendor.mk) 30$(call inherit-product, device/google/cuttlefish/shared/swiftshader/device_vendor.mk) 31$(call inherit-product, device/google/cuttlefish/shared/telephony/device_vendor.mk) 32$(call inherit-product, device/google/cuttlefish/shared/virgl/device_vendor.mk) 33$(call inherit-product, device/google/cuttlefish/shared/device.mk) 34 35PRODUCT_EXTRA_VNDK_VERSIONS := 29 30 31 36 37TARGET_PRODUCT_PROP := $(LOCAL_PATH)/product.prop 38 39ifneq ($(LOCAL_PREFER_VENDOR_APEX),true) 40PRODUCT_COPY_FILES += \ 41 frameworks/native/data/etc/android.hardware.faketouch.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.faketouch.xml \ 42 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \ 43 44 ifneq ($(TARGET_DISABLE_BIOMETRICS_FACE),true) 45 PRODUCT_COPY_FILES += \ 46 frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.biometrics.face.xml \ 47 48 endif 49endif 50 51DEVICE_PACKAGE_OVERLAYS += device/google/cuttlefish/shared/phone/overlay 52 53# Runtime Resource Overlays 54ifeq ($(LOCAL_PREFER_VENDOR_APEX),true) 55PRODUCT_PACKAGES += com.google.aosp_cf_phone.rros 56else 57PRODUCT_PACKAGES += cuttlefish_phone_overlay_frameworks_base_core 58endif 59 60TARGET_BOARD_INFO_FILE ?= device/google/cuttlefish/shared/phone/android-info.txt 61