android_device_oneplus_sm81.../device.mk

104 lines
2.0 KiB
Makefile

#
# Copyright (C) 2018-2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/oneplus/guacamoleb/guacamoleb-vendor.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
# AID/fs configs
PRODUCT_PACKAGES += \
fs_config_files
# Audio
PRODUCT_PACKAGES += \
audio.a2dp.default \
tinymix
# Audio Policy: TBD
# Camera
PRODUCT_PACKAGES += \
Snap
# Common init scripts
PRODUCT_PACKAGES += \
init.qcom.rc
# Display
PRODUCT_PACKAGES += \
libvulkan \
vendor.display.config@1.0
# Fingerprint
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml
# HIDL
PRODUCT_PACKAGES += \
android.hidl.base@1.0 \
android.hidl.base@1.0_system \
android.hidl.manager@1.0 \
android.hidl.manager@1.0_system
# IMS
PRODUCT_PACKAGES += \
ims-ext-common
# Input: TBD
# Lights
PRODUCT_PACKAGES += \
android.hardware.light@2.0-service.oneplus_sm8150
# Media: TBD
# Net
PRODUCT_PACKAGES += \
netutils-wrapper-1.0
# QTI
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml \
$(LOCAL_PATH)/permissions/privapp-permissions-qti.xml:system/etc/permissions/privapp-permissions-qti.xml
# RCS
PRODUCT_PACKAGES += \
rcs_service_aidl \
rcs_service_aidl.xml \
rcs_service_api \
rcs_service_api.xml
# Seccomp: TBD
# Telephony
PRODUCT_PACKAGES += \
telephony-ext
PRODUCT_BOOT_JARS += \
telephony-ext
# TextClassifier
PRODUCT_PACKAGES += \
textclassifier.bundle1
# Trust HAL
PRODUCT_PACKAGES += \
vendor.lineage.trust@1.0-service
# VNDK-SP
PRODUCT_PACKAGES += \
vndk_package
# Wifi Display: TBD