android_device_oneplus_sm81.../device.mk

122 lines
2.6 KiB
Makefile
Raw Normal View History

#
# 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/guacamole/guacamole-vendor.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
# AID/fs configs
PRODUCT_PACKAGES += \
fs_config_files
# Audio
PRODUCT_PACKAGES += \
audio.a2dp.default \
tinymix
2019-06-19 00:26:12 +00:00
# Audio Policy
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml
# 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
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/fpc1020.kl:system/usr/keylayout/fpc1020.kl \
$(LOCAL_PATH)/keylayout/gf_input.kl:system/usr/keylayout/gf_input.kl \
$(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
# Lights
PRODUCT_PACKAGES += \
android.hardware.light@2.0-service.oneplus_sm8150
# Media
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/media_profiles_vendor.xml:system/etc/media_profiles_vendor.xml
# 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
2019-06-19 01:23:55 +00:00
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.0:64 \
android.hardware.nfc@1.1:64 \
android.hardware.secure_element@1.0:64 \
com.android.nfc_extras \
Tag \
vendor.nxp.nxpese@1.0:64 \
vendor.nxp.nxpnfc@1.0:64
# TextClassifier
PRODUCT_PACKAGES += \
textclassifier.bundle1
# Trust HAL
PRODUCT_PACKAGES += \
vendor.lineage.trust@1.0-service
# VNDK-SP
PRODUCT_PACKAGES += \
vndk_package
# Wifi Display: TBD