1# 2# Copyright (C) 2011 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 17# setup dalvik vm configs 18$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) 19 20include $(LOCAL_PATH)/../vendor-package-ver.mk 21ifeq ($(TARGET_USES_BOOT_HDR_V3), true) 22$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk) 23else 24$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk) 25endif 26 27# Build generic Audio HAL 28PRODUCT_PACKAGES += audio.primary.db845c 29 30# BootControl HAL 31PRODUCT_PACKAGES += \ 32 android.hardware.boot@1.2-impl \ 33 android.hardware.boot@1.2-impl.recovery \ 34 android.hardware.boot@1.2-service 35 36# Install scripts to set vendor.* properties 37PRODUCT_COPY_FILES += \ 38 device/linaro/dragonboard/qcom/set_hw.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_hw.sh \ 39 device/linaro/dragonboard/qcom/set_udc.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_udc.sh 40 41# Install scripts to set Ethernet MAC address 42PRODUCT_COPY_FILES += \ 43 $(LOCAL_PATH)/eth_mac_addr.rc:/system/etc/init/eth_mac_addr.rc \ 44 $(LOCAL_PATH)/eth_mac_addr.sh:/system/bin/eth_mac_addr.sh 45 46PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Qualcomm 47PRODUCT_VENDOR_PROPERTIES += ro.soc.model=SDM845 48 49PRODUCT_PROPERTY_OVERRIDES += ro.sf.lcd_density=160 50 51# Copy firmware files 52$(call inherit-product-if-exists, vendor/linaro/db845c/$(EXPECTED_LINARO_VENDOR_VERSION)/device.mk) 53$(call inherit-product-if-exists, vendor/linaro/rb5/$(EXPECTED_LINARO_VENDOR_VERSION)/device.mk) 54 55TARGET_HARDWARE := db845c 56TARGET_KERNEL_USE ?= 5.15 57 58include device/linaro/dragonboard/device-common.mk 59