2020-03-20 10:54:24 -04:00
|
|
|
#
|
|
|
|
# Copyright (C) 2020 The LineageOS Project
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
2018-10-02 07:51:03 -04:00
|
|
|
|
2020-02-15 15:49:40 -05:00
|
|
|
# Product launched with 9.0
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
|
|
|
|
|
2019-12-06 17:00:16 -05:00
|
|
|
# Setup dalvik vm configs
|
|
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
|
|
|
|
2020-03-23 16:26:56 -04:00
|
|
|
# Call the proprietary setup
|
|
|
|
$(call inherit-product, vendor/xiaomi/davinci/davinci-vendor.mk)
|
|
|
|
|
2020-04-06 12:18:01 -04:00
|
|
|
# AID/fs configs
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
fs_config_files
|
|
|
|
|
2020-04-21 10:53:44 -04:00
|
|
|
# ANT+
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
AntHalService \
|
|
|
|
antradio_app
|
|
|
|
|
2019-08-10 19:13:03 -04:00
|
|
|
# Audio
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.audio@2.0-service \
|
|
|
|
android.hardware.audio@5.0-impl \
|
|
|
|
android.hardware.audio.effect@5.0-impl \
|
2019-10-11 22:12:37 -04:00
|
|
|
android.hardware.bluetooth.audio@2.0-impl \
|
2019-08-10 19:13:03 -04:00
|
|
|
android.hardware.soundtrigger@2.2-impl
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
audio.a2dp.default \
|
2019-10-11 22:12:37 -04:00
|
|
|
audio.bluetooth.default \
|
2019-08-10 19:13:03 -04:00
|
|
|
audio.usb.default \
|
|
|
|
audio.r_submix.default
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libqcompostprocbundle \
|
|
|
|
libqcomvisualizer \
|
|
|
|
libqcomvoiceprocessing \
|
|
|
|
libvolumelistener
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libaudio-resampler \
|
|
|
|
tinymix
|
|
|
|
|
2020-04-14 17:14:13 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/audio/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \
|
|
|
|
$(LOCAL_PATH)/configs/audio/audio_configs_stock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs_stock.xml \
|
|
|
|
$(LOCAL_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
|
|
|
$(LOCAL_PATH)/configs/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
|
|
|
|
$(LOCAL_PATH)/configs/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
|
|
|
|
$(LOCAL_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
|
|
|
$(LOCAL_PATH)/configs/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
|
|
|
$(LOCAL_PATH)/configs/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \
|
|
|
|
$(LOCAL_PATH)/configs/audio/mixer_paths_idp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_idp.xml \
|
|
|
|
$(LOCAL_PATH)/configs/audio/mixer_paths_overlay_dynamic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_overlay_dynamic.xml \
|
|
|
|
$(LOCAL_PATH)/configs/audio/mixer_paths_overlay_static.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_overlay_static.xml
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \
|
|
|
|
$(LOCAL_PATH)/configs/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
|
|
|
|
$(LOCAL_PATH)/configs/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml
|
|
|
|
|
2019-08-10 19:13:03 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2019-10-11 22:12:37 -04:00
|
|
|
frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
|
2019-08-10 19:13:03 -04:00
|
|
|
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
|
|
|
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
|
|
|
|
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
|
|
|
|
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
|
|
|
|
|
2020-04-19 16:44:37 -04:00
|
|
|
# Bluetooth
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml
|
|
|
|
|
2020-03-23 16:39:07 -04:00
|
|
|
# Boot animation
|
|
|
|
TARGET_SCREEN_HEIGHT := 2340
|
|
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
|
2020-04-15 07:16:40 -04:00
|
|
|
# Camera
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.camera.provider@2.4-impl \
|
2020-04-16 05:52:10 -04:00
|
|
|
android.hardware.camera.provider@2.4-service_64 \
|
|
|
|
libdng_sdk.vendor
|
2020-04-15 07:16:40 -04:00
|
|
|
|
2020-04-03 19:07:18 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
Snap
|
|
|
|
|
2020-04-19 16:34:41 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
|
|
|
|
|
2020-03-20 18:42:25 -04:00
|
|
|
# Device-specific settings
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
XiaomiParts
|
|
|
|
|
2019-08-12 00:11:58 -04:00
|
|
|
# Display
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.graphics.composer@2.3-service \
|
|
|
|
android.hardware.graphics.mapper@2.0-impl-qti-display \
|
|
|
|
android.hardware.memtrack@1.0-impl \
|
|
|
|
android.hardware.memtrack@1.0-service \
|
|
|
|
vendor.qti.hardware.display.allocator-service
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
gralloc.sm6150 \
|
|
|
|
hwcomposer.sm6150 \
|
|
|
|
memtrack.sm6150
|
|
|
|
|
2020-04-16 05:58:05 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libtinyxml
|
|
|
|
|
2020-04-20 19:05:15 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml
|
|
|
|
|
2020-04-20 17:16:59 -04:00
|
|
|
# DRM
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.drm@1.0-impl \
|
|
|
|
android.hardware.drm@1.0-service \
|
|
|
|
android.hardware.drm@1.2-service.clearkey
|
|
|
|
|
2019-07-01 19:32:47 -04:00
|
|
|
# Fingerprint
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.davinci
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
2020-04-20 19:06:25 -04:00
|
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
|
2019-07-01 19:32:47 -04:00
|
|
|
vendor/lineage/config/permissions/vendor.lineage.biometrics.fingerprint.inscreen.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/vendor.lineage.biometrics.fingerprint.inscreen.xml
|
|
|
|
|
2020-04-20 04:40:37 -04:00
|
|
|
# FM
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
FM2 \
|
|
|
|
qcom.fmradio
|
|
|
|
|
2020-04-17 07:47:23 -04:00
|
|
|
# Fstab
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom
|
|
|
|
|
2020-04-21 16:48:32 -04:00
|
|
|
# GPS
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libsensorndkbridge
|
|
|
|
|
2020-04-20 19:06:01 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
|
|
|
|
|
2020-04-20 19:09:19 -04:00
|
|
|
# Handheld hardware
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
|
|
|
|
2020-04-10 09:03:59 -04:00
|
|
|
# Health
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.health@2.0-service
|
|
|
|
|
2017-12-07 09:15:14 -05:00
|
|
|
# HIDL
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hidl.base@1.0 \
|
2018-06-23 01:22:18 -04:00
|
|
|
android.hidl.base@1.0_system \
|
|
|
|
android.hidl.manager@1.0 \
|
|
|
|
android.hidl.manager@1.0_system
|
2017-12-07 09:15:14 -05:00
|
|
|
|
2020-04-17 07:47:23 -04:00
|
|
|
# Init scripts
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/rootdir/etc/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.rc \
|
|
|
|
$(LOCAL_PATH)/rootdir/etc/init.qcom.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.usb.rc \
|
|
|
|
$(LOCAL_PATH)/rootdir/etc/init.target.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.target.rc
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/rootdir/bin/init.qcom.post_boot.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.post_boot.sh \
|
|
|
|
$(LOCAL_PATH)/rootdir/bin/init.qcom.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.sh
|
|
|
|
|
2020-04-15 05:46:57 -04:00
|
|
|
# IRSC
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/security/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config
|
|
|
|
|
2019-05-14 15:32:11 -04:00
|
|
|
# Lights
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.light@2.0-service.davinci
|
|
|
|
|
2020-04-29 08:18:41 -04:00
|
|
|
# LiveDisplay
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-01-23 05:25:44 -05:00
|
|
|
vendor.lineage.livedisplay@2.0-service-sdm \
|
|
|
|
vendor.lineage.livedisplay@2.0-service.davinci
|
2020-04-29 08:18:41 -04:00
|
|
|
|
2020-04-15 05:46:57 -04:00
|
|
|
# Media
|
2019-08-11 13:27:41 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libOmxAacEnc \
|
|
|
|
libOmxAmrEnc \
|
|
|
|
libOmxCore \
|
|
|
|
libOmxEvrcEnc \
|
|
|
|
libOmxG711Enc \
|
|
|
|
libOmxQcelp13Enc \
|
|
|
|
libOmxVdec \
|
|
|
|
libOmxVenc \
|
|
|
|
libstagefrighthw
|
|
|
|
|
2020-04-13 10:43:44 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
2020-05-07 14:10:04 -04:00
|
|
|
$(LOCAL_PATH)/configs/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
|
2020-04-13 10:43:44 -04:00
|
|
|
|
2020-04-15 05:46:57 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2020-05-07 14:10:04 -04:00
|
|
|
hardware/qcom-caf/sm8150/media/conf_files/sm6150/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
|
|
|
hardware/qcom-caf/sm8150/media/conf_files/sm6150/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
|
|
|
|
hardware/qcom-caf/sm8150/media/conf_files/sm6150/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
|
|
|
|
hardware/qcom-caf/sm8150/media/conf_files/sm6150/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml
|
2020-04-15 05:46:57 -04:00
|
|
|
|
2020-04-13 10:43:44 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
|
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
|
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml
|
|
|
|
|
2020-04-20 19:07:00 -04:00
|
|
|
# Network
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
|
|
|
|
|
2020-03-28 08:58:03 -04:00
|
|
|
# NFC
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
vendor/nxp/opensource/sn100x
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
com.android.nfc_extras \
|
|
|
|
com.nxp.nfc.nq \
|
|
|
|
NQNfcNci \
|
|
|
|
Tag
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
nfc_nci.nqx.default.hw \
|
|
|
|
vendor.nxp.hardware.nfc@1.2-service
|
|
|
|
|
2020-04-14 10:36:51 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \
|
|
|
|
$(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
|
|
|
|
|
2020-04-20 19:07:15 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
|
|
|
|
frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
|
|
|
|
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
|
|
|
|
|
2020-03-20 18:09:34 -04:00
|
|
|
# Overlay
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
2020-04-03 13:02:17 -04:00
|
|
|
$(LOCAL_PATH)/overlay \
|
|
|
|
$(LOCAL_PATH)/overlay-lineage
|
2020-03-20 18:09:34 -04:00
|
|
|
|
2020-04-08 14:00:38 -04:00
|
|
|
# Power
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.power@1.2-service-qti
|
|
|
|
|
2020-04-20 04:27:33 -04:00
|
|
|
# QTI
|
2019-01-09 04:04:11 -05:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libqti_vndfwk_detect.vendor
|
|
|
|
|
2020-04-20 04:27:33 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2020-04-21 15:32:18 -04:00
|
|
|
$(LOCAL_PATH)/configs/permissions/product_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/product_privapp-permissions-qti.xml \
|
2020-04-21 15:37:47 -04:00
|
|
|
$(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
|
|
|
|
$(LOCAL_PATH)/configs/permissions/system_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/system_privapp-permissions-qti.xml \
|
2020-04-20 04:27:33 -04:00
|
|
|
|
2020-04-05 06:46:24 -04:00
|
|
|
# RCS
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
rcs_service_aidl \
|
|
|
|
rcs_service_aidl.xml \
|
|
|
|
rcs_service_api \
|
|
|
|
rcs_service_api.xml
|
|
|
|
|
|
|
|
# RIL
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libjson \
|
|
|
|
libril \
|
|
|
|
librilutils
|
|
|
|
|
2020-04-22 07:15:43 -04:00
|
|
|
# Recovery
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
librecovery_updater_xiaomi
|
|
|
|
|
2020-05-01 07:36:04 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
init.recovery.qcom.rc
|
|
|
|
|
2019-08-15 10:23:59 -04:00
|
|
|
# RenderScript
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.renderscript@1.0-impl
|
|
|
|
|
2020-03-23 16:39:07 -04:00
|
|
|
# Screen density
|
|
|
|
PRODUCT_AAPT_CONFIG := normal
|
|
|
|
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
|
|
|
TARGET_SCREEN_DENSITY := 440
|
|
|
|
|
2020-04-11 08:05:33 -04:00
|
|
|
# Sensors
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.sensors@1.0-impl \
|
|
|
|
android.hardware.sensors@1.0-service
|
|
|
|
|
2020-04-20 19:08:20 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
|
|
|
|
|
2018-10-02 07:51:03 -04:00
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
2019-07-01 19:32:47 -04:00
|
|
|
$(LOCAL_PATH) \
|
|
|
|
hardware/xiaomi
|
2020-04-05 06:46:24 -04:00
|
|
|
|
|
|
|
# Telephony
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
ims-ext-common \
|
|
|
|
ims_ext_common.xml \
|
|
|
|
qti-telephony-hidl-wrapper \
|
|
|
|
qti_telephony_hidl_wrapper.xml \
|
|
|
|
qti-telephony-utils \
|
|
|
|
qti_telephony_utils.xml \
|
|
|
|
telephony-ext
|
|
|
|
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
|
|
telephony-ext
|
2020-04-20 19:08:36 -04:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
|
|
|
|
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
|
2020-04-15 08:51:05 -04:00
|
|
|
|
2018-10-02 16:57:25 -04:00
|
|
|
# TextClassifier
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
textclassifier.bundle1
|
|
|
|
|
2020-04-15 08:49:17 -04:00
|
|
|
# Thermal
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.thermal@1.0-impl \
|
|
|
|
android.hardware.thermal@1.0-service
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
thermal.sm6150
|
|
|
|
|
2020-04-20 19:09:07 -04:00
|
|
|
# Touchscreen
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
|
|
|
|
|
2020-04-20 17:17:28 -04:00
|
|
|
# Uevent
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/rootdir/etc/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc
|
|
|
|
|
2020-04-11 08:07:24 -04:00
|
|
|
# USB
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.usb@1.0-service
|
|
|
|
|
2020-04-20 19:08:09 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
|
|
|
|
|
2020-04-11 08:08:45 -04:00
|
|
|
# Vibrator
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.vibrator@1.0-impl \
|
|
|
|
android.hardware.vibrator@1.0-service
|
|
|
|
|
2020-04-15 08:51:05 -04:00
|
|
|
# Vulkan
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libvulkan
|
2020-04-20 19:08:56 -04:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml
|
2019-11-27 21:05:16 -05:00
|
|
|
|
|
|
|
# WiFi
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.wifi@1.0-service \
|
|
|
|
hostapd \
|
2020-04-14 13:02:56 -04:00
|
|
|
ipacm \
|
|
|
|
IPACM_cfg.xml \
|
2019-11-27 21:05:16 -05:00
|
|
|
libwifi-hal-qcom \
|
|
|
|
libwpa_client \
|
|
|
|
wpa_supplicant \
|
|
|
|
wpa_supplicant.conf
|
2020-04-14 11:02:57 -04:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \
|
|
|
|
$(LOCAL_PATH)/configs/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
|
|
|
$(LOCAL_PATH)/configs/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
|
2020-04-20 19:07:46 -04:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml
|
2018-12-24 06:25:51 -05:00
|
|
|
|
|
|
|
# WiFi Display
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libdisplayconfig \
|
|
|
|
libdisplayconfig.vendor \
|
|
|
|
libnl \
|
|
|
|
libqdMetaData \
|
|
|
|
libqdMetaData.system
|
|
|
|
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
|
|
WfdCommon
|