2020-03-20 15:54:24 +01: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 13:51:03 +02:00
|
|
|
|
2019-12-06 14:00:16 -08:00
|
|
|
# Setup dalvik vm configs
|
|
|
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
|
|
|
|
|
2020-03-23 21:26:56 +01:00
|
|
|
# Call the proprietary setup
|
2021-01-12 18:52:43 +01:00
|
|
|
$(call inherit-product, vendor/xiaomi/sm6150-common/sm6150-common-vendor.mk)
|
2020-03-23 21:26:56 +01:00
|
|
|
|
2018-04-27 00:04:21 +01:00
|
|
|
# Additional native libraries
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
|
|
|
|
|
|
2020-04-06 18:18:01 +02:00
|
|
|
# AID/fs configs
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
fs_config_files
|
|
|
|
|
|
2020-04-21 16:53:44 +02:00
|
|
|
# ANT+
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-12-13 14:35:14 -08:00
|
|
|
AntHalService-Soong \
|
|
|
|
|
com.dsi.ant@1.0.vendor
|
2020-04-21 16:53:44 +02:00
|
|
|
|
2019-08-11 01:13:03 +02:00
|
|
|
# Audio
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-11-22 10:56:29 -08:00
|
|
|
android.hardware.audio@6.0-impl \
|
|
|
|
|
android.hardware.audio.effect@6.0-impl \
|
2020-04-08 14:23:47 -07:00
|
|
|
android.hardware.audio.service \
|
2019-10-12 10:12:37 +08:00
|
|
|
android.hardware.bluetooth.audio@2.0-impl \
|
2019-08-11 01:13:03 +02:00
|
|
|
android.hardware.soundtrigger@2.2-impl
|
|
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
audio.a2dp.default \
|
2019-10-12 10:12:37 +08:00
|
|
|
audio.bluetooth.default \
|
2019-08-11 01:13:03 +02:00
|
|
|
audio.usb.default \
|
2021-05-13 21:21:00 +02:00
|
|
|
audio.r_submix.default
|
2019-08-11 01:13:03 +02:00
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
libqcompostprocbundle \
|
|
|
|
|
libqcomvisualizer \
|
|
|
|
|
libqcomvoiceprocessing \
|
|
|
|
|
libvolumelistener
|
|
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2018-05-14 22:15:24 +03:00
|
|
|
libaudio-resampler
|
2019-08-11 01:13:03 +02:00
|
|
|
|
2020-04-14 23:14:13 +02:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
$(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_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
2021-01-12 18:52:43 +01:00
|
|
|
$(LOCAL_PATH)/configs/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt
|
2020-04-14 23:14:13 +02:00
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
$(LOCAL_PATH)/configs/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml
|
|
|
|
|
|
2019-08-11 01:13:03 +02:00
|
|
|
PRODUCT_COPY_FILES += \
|
2020-10-20 17:40:24 +02:00
|
|
|
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
2019-08-11 01:13:03 +02:00
|
|
|
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
2020-10-20 17:40:24 +02:00
|
|
|
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml
|
2019-08-11 01:13:03 +02:00
|
|
|
|
|
|
|
|
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 22:44:37 +02:00
|
|
|
# Bluetooth
|
2021-01-25 23:15:33 +01:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
vendor.qti.hardware.bluetooth_audio@2.0.vendor \
|
|
|
|
|
vendor.qti.hardware.btconfigstore@1.0.vendor \
|
|
|
|
|
vendor.qti.hardware.btconfigstore@2.0.vendor
|
|
|
|
|
|
2019-10-10 08:09:29 -07:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
$(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml
|
|
|
|
|
|
2020-04-19 22:44:37 +02:00
|
|
|
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-04-15 13:16:40 +02:00
|
|
|
# Camera
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
android.hardware.camera.provider@2.4-impl \
|
2020-04-16 11:52:10 +02:00
|
|
|
android.hardware.camera.provider@2.4-service_64 \
|
|
|
|
|
libdng_sdk.vendor
|
2020-04-15 13:16:40 +02:00
|
|
|
|
2020-04-04 01:07:18 +02:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
Snap
|
|
|
|
|
|
2020-04-19 22:34:41 +02: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 23:42:25 +01:00
|
|
|
# Device-specific settings
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
XiaomiParts
|
|
|
|
|
|
2019-08-12 06:11:58 +02:00
|
|
|
# Display
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-09-26 19:17:58 -04:00
|
|
|
android.hardware.graphics.composer@2.4-service \
|
|
|
|
|
android.hardware.graphics.mapper@3.0-impl-qti-display \
|
2020-01-08 17:17:56 -05:00
|
|
|
android.hardware.graphics.mapper@4.0-impl-qti-display \
|
2019-08-12 06:11:58 +02:00
|
|
|
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-10-21 16:42:02 +02:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
vendor.qti.hardware.display.mapper@2.0.vendor
|
|
|
|
|
|
2020-10-06 10:22:40 +03:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
disable_configstore
|
|
|
|
|
|
2020-04-21 01:05:15 +02: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 23:16:59 +02:00
|
|
|
# DRM
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-11-25 22:25:41 -08:00
|
|
|
android.hardware.drm@1.3-service.clearkey
|
2020-04-20 23:16:59 +02:00
|
|
|
|
2019-07-02 01:32:47 +02:00
|
|
|
# Fingerprint
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
2021-01-12 18:52:43 +01:00
|
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
2019-07-02 01:32:47 +02:00
|
|
|
|
2020-04-20 10:40:37 +02:00
|
|
|
# FM
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
FM2 \
|
|
|
|
|
qcom.fmradio
|
|
|
|
|
|
2020-04-21 22:48:32 +02:00
|
|
|
# GPS
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2020-10-23 19:22:47 +02:00
|
|
|
android.hardware.gnss@2.1-impl-qti \
|
|
|
|
|
android.hardware.gnss@2.1-service-qti
|
2019-10-09 19:54:50 +08:00
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
libbatching \
|
|
|
|
|
libgeofencing \
|
|
|
|
|
libgnss \
|
2020-04-21 22:48:32 +02:00
|
|
|
libsensorndkbridge
|
|
|
|
|
|
2020-08-02 16:16:52 +02:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
$(LOCAL_PATH)/configs/gps/apdr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/apdr.conf \
|
|
|
|
|
$(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
|
2020-10-23 21:39:14 +02:00
|
|
|
$(LOCAL_PATH)/configs/gps/gnss_antenna_info.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss_antenna_info.conf \
|
2020-08-02 16:16:52 +02:00
|
|
|
$(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
|
|
|
|
|
$(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
|
|
|
|
|
$(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
|
2021-04-01 01:09:38 +02:00
|
|
|
$(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf
|
2020-08-02 16:16:52 +02:00
|
|
|
|
2020-04-21 01:06:01 +02: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-21 01:09:19 +02: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 15:03:59 +02:00
|
|
|
# Health
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2020-03-05 14:23:34 +08:00
|
|
|
android.hardware.health@2.1-impl \
|
|
|
|
|
android.hardware.health@2.1-service
|
2020-04-10 15:03:59 +02:00
|
|
|
|
2020-09-18 14:36:05 +02:00
|
|
|
# HIDL
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
libhidltransport.vendor \
|
|
|
|
|
libhwbinder.vendor
|
|
|
|
|
|
2020-04-17 13:47:23 +02: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 11:46:57 +02:00
|
|
|
# IRSC
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
$(LOCAL_PATH)/configs/security/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config
|
|
|
|
|
|
2020-04-29 14:18:41 +02:00
|
|
|
# LiveDisplay
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-03-27 17:16:52 +01:00
|
|
|
vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150
|
2020-04-29 14:18:41 +02:00
|
|
|
|
2020-04-15 11:46:57 +02:00
|
|
|
# Media
|
2019-08-11 19:27:41 +02:00
|
|
|
PRODUCT_PACKAGES += \
|
2020-10-21 16:42:02 +02:00
|
|
|
libavservices_minijail.vendor \
|
2020-03-20 11:04:15 +05:30
|
|
|
libcodec2_vndk.vendor \
|
|
|
|
|
libcodec2_hidl@1.0.vendor \
|
2019-08-11 19:27:41 +02:00
|
|
|
libOmxAacEnc \
|
|
|
|
|
libOmxAmrEnc \
|
|
|
|
|
libOmxCore \
|
|
|
|
|
libOmxEvrcEnc \
|
|
|
|
|
libOmxQcelp13Enc \
|
|
|
|
|
libOmxVdec \
|
|
|
|
|
libOmxVenc \
|
|
|
|
|
libstagefrighthw
|
|
|
|
|
|
2020-04-13 16:43:44 +02:00
|
|
|
PRODUCT_COPY_FILES += \
|
2020-09-08 17:57:47 +02:00
|
|
|
hardware/qcom-caf/sm8150/media/conf_files/sm6150/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
2020-05-07 20:10:04 +02: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/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 11:46:57 +02:00
|
|
|
|
2020-10-26 19:08:26 +01:00
|
|
|
PRODUCT_COPY_FILES += \
|
2021-03-31 18:02:32 +02:00
|
|
|
$(LOCAL_PATH)/configs/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
|
|
|
|
|
$(LOCAL_PATH)/configs/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
|
2020-10-26 19:08:26 +01:00
|
|
|
|
2020-04-13 16:43:44 +02: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-21 01:07:00 +02: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-20 23:09:34 +01:00
|
|
|
# Overlay
|
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
2020-04-03 19:02:17 +02:00
|
|
|
$(LOCAL_PATH)/overlay \
|
2021-01-12 18:52:43 +01:00
|
|
|
$(LOCAL_PATH)/overlay-lineage
|
2020-03-20 23:09:34 +01:00
|
|
|
|
2018-11-07 16:10:05 +00:00
|
|
|
PRODUCT_ENFORCE_RRO_TARGETS += *
|
|
|
|
|
|
2020-10-22 04:52:06 +02:00
|
|
|
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \
|
|
|
|
|
$(LOCAL_PATH)/overlay/packages/apps/CarrierConfig
|
|
|
|
|
|
2020-12-21 11:47:44 +00:00
|
|
|
# Perf
|
2021-02-09 18:14:04 +08:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
vendor.qti.hardware.perf@2.2.vendor
|
|
|
|
|
|
2020-12-21 11:47:44 +00:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
$(LOCAL_PATH)/configs/perf/commonresourceconfigs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/commonresourceconfigs.xml \
|
|
|
|
|
$(LOCAL_PATH)/configs/perf/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf \
|
|
|
|
|
$(LOCAL_PATH)/configs/perf/perfboostsconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perfboostsconfig.xml \
|
|
|
|
|
$(LOCAL_PATH)/configs/perf/perfconfigstore.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perfconfigstore.xml \
|
|
|
|
|
$(LOCAL_PATH)/configs/perf/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml \
|
|
|
|
|
$(LOCAL_PATH)/configs/perf/targetconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/targetconfig.xml \
|
|
|
|
|
$(LOCAL_PATH)/configs/perf/targetresourceconfigs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/targetresourceconfigs.xml
|
|
|
|
|
|
2020-04-08 20:00:38 +02:00
|
|
|
# Power
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2020-09-22 20:06:14 +02:00
|
|
|
android.hardware.power-service-qti
|
2020-04-08 20:00:38 +02:00
|
|
|
|
2020-04-20 10:27:33 +02:00
|
|
|
# QTI
|
2019-01-09 17:04:11 +08:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
libqti_vndfwk_detect.vendor
|
|
|
|
|
|
2020-04-20 10:27:33 +02:00
|
|
|
PRODUCT_COPY_FILES += \
|
2020-04-21 21:37:47 +02:00
|
|
|
$(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
|
2020-10-21 16:42:02 +02:00
|
|
|
$(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml
|
2020-04-20 10:27:33 +02:00
|
|
|
|
2020-04-05 12:46:24 +02:00
|
|
|
# RIL
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
libjson \
|
|
|
|
|
libril \
|
2019-10-27 14:14:29 +01:00
|
|
|
librilutils \
|
|
|
|
|
librmnetctl
|
2020-04-05 12:46:24 +02:00
|
|
|
|
2020-04-22 13:15:43 +02:00
|
|
|
# Recovery
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
librecovery_updater_xiaomi
|
|
|
|
|
|
2020-05-01 13:36:04 +02:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
init.recovery.qcom.rc
|
|
|
|
|
|
2020-04-11 14:05:33 +02:00
|
|
|
# Sensors
|
2020-04-21 01:08:20 +02: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 13:51:03 +02:00
|
|
|
# Soong namespaces
|
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
2019-07-02 01:32:47 +02:00
|
|
|
$(LOCAL_PATH) \
|
|
|
|
|
hardware/xiaomi
|
2020-04-05 12:46:24 +02: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-21 01:08:36 +02: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 14:51:05 +02:00
|
|
|
|
2020-04-21 01:09:07 +02: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
|
|
|
|
|
|
2019-01-13 10:21:11 +01:00
|
|
|
# Trust HAL
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
vendor.lineage.trust@1.0-service
|
|
|
|
|
|
2020-04-20 23:17:28 +02:00
|
|
|
# Uevent
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
$(LOCAL_PATH)/rootdir/etc/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc
|
|
|
|
|
|
2020-04-11 14:07:24 +02:00
|
|
|
# USB
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
android.hardware.usb@1.0-service
|
|
|
|
|
|
2020-04-21 01:08:09 +02: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-07-30 20:18:30 +05:30
|
|
|
# Vibrator
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
vendor.qti.hardware.vibrator.service
|
|
|
|
|
|
2020-03-05 19:31:14 +08:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
$(LOCAL_PATH)/configs/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
|
|
|
|
|
|
2020-04-15 14:51:05 +02:00
|
|
|
# Vulkan
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
libvulkan
|
2020-04-21 01:08:56 +02: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 \
|
2020-01-29 15:35:06 +00:00
|
|
|
frameworks/native/data/etc/android.software.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \
|
2020-04-21 01:08:56 +02:00
|
|
|
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-28 03:05:16 +01:00
|
|
|
|
|
|
|
|
# WiFi
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
|
android.hardware.wifi@1.0-service \
|
|
|
|
|
hostapd \
|
2020-04-14 19:02:56 +02:00
|
|
|
ipacm \
|
|
|
|
|
IPACM_cfg.xml \
|
2019-11-28 03:05:16 +01:00
|
|
|
libwpa_client \
|
2020-04-24 14:33:28 -07:00
|
|
|
WifiOverlay \
|
2019-11-28 03:05:16 +01:00
|
|
|
wpa_supplicant \
|
|
|
|
|
wpa_supplicant.conf
|
2020-04-14 17:02:57 +02: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-21 01:07:46 +02: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 15:25:51 +04:00
|
|
|
|
|
|
|
|
# WiFi Display
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2020-10-21 16:42:02 +02:00
|
|
|
libavservices_minijail_32 \
|
2020-04-23 19:36:35 +05:30
|
|
|
libdisplayconfig.qti \
|
2018-12-24 15:25:51 +04:00
|
|
|
libnl \
|
2018-12-21 15:21:46 -08:00
|
|
|
libqdMetaData \
|
2019-02-21 23:57:02 +05:30
|
|
|
libwfdaac_vendor
|
2018-12-24 15:25:51 +04:00
|
|
|
|
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
|
|
|
WfdCommon
|