2018-07-12 22:11:03 -04:00
|
|
|
#
|
|
|
|
# Copyright (C) 2018 The LineageOS Project
|
|
|
|
#
|
2021-09-12 15:27:59 -04:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2018-07-12 22:11:03 -04:00
|
|
|
#
|
2017-03-17 10:24:32 -04:00
|
|
|
|
2021-10-11 19:44:39 -04:00
|
|
|
# Product
|
2020-11-08 23:28:07 -05:00
|
|
|
PRODUCT_USES_QCOM_HARDWARE := true
|
|
|
|
PRODUCT_BOARD_PLATFORM := sdm660
|
2021-04-27 06:52:56 -04:00
|
|
|
TARGET_BOARD_PLATFORM := sdm660
|
2021-05-29 13:27:18 -04:00
|
|
|
OVERRIDE_QCOM_HARDWARE_VARIANT := sdm660
|
2020-11-08 23:28:07 -05:00
|
|
|
|
2019-08-15 11:35:17 -04:00
|
|
|
# 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/aosp_base_telephony.mk)
|
|
|
|
$(call inherit-product-if-exists, build/target/product/embedded.mk)
|
|
|
|
|
2019-09-16 04:34:32 -04:00
|
|
|
# Enable updating of APEXes
|
2020-05-07 07:29:30 -04:00
|
|
|
ifeq ($(ENABLE_APEX), true)
|
2020-12-10 11:25:12 -05:00
|
|
|
TARGET_SUPPORTS_UPDATABLE_APEX := true
|
2019-09-16 04:34:32 -04:00
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
2020-12-10 11:25:12 -05:00
|
|
|
$(call inherit-product-if-exists, vendor/prebuilts/config/apex.mk)
|
2020-05-07 07:29:30 -04:00
|
|
|
endif
|
2019-09-16 04:34:32 -04:00
|
|
|
|
2022-02-20 09:37:09 -05:00
|
|
|
# Disable APEX compression
|
|
|
|
PRODUCT_COMPRESSED_APEX := false
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Inherit proprietary files
|
2019-08-06 14:05:02 -04:00
|
|
|
$(call inherit-product, vendor/xiaomi/sdm660-common/sdm660-common-vendor.mk)
|
2018-12-31 10:28:57 -05:00
|
|
|
$(call inherit-product-if-exists, vendor/xiaomi/MiuiCamera/config.mk)
|
2018-08-05 04:45:35 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# Common Tree Path
|
2019-08-06 14:05:02 -04:00
|
|
|
COMMON_PATH := device/xiaomi/sdm660-common
|
2017-03-17 08:24:52 -04:00
|
|
|
|
2020-05-03 12:14:16 -04:00
|
|
|
# A/B
|
|
|
|
ifeq ($(ENABLE_AB), true)
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_system=true \
|
|
|
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
|
|
|
FILESYSTEM_TYPE_system=ext4 \
|
|
|
|
POSTINSTALL_OPTIONAL_system=true
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
otapreopt_script
|
|
|
|
|
|
|
|
# Boot control
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-11-26 22:57:07 -05:00
|
|
|
android.hardware.boot@1.0-impl \
|
|
|
|
android.hardware.boot@1.0-impl.recovery \
|
|
|
|
android.hardware.boot@1.0-service \
|
2020-12-08 17:03:48 -05:00
|
|
|
android.hardware.health@2.1-impl.recovery \
|
2020-05-03 12:14:16 -04:00
|
|
|
bootctrl.sdm660 \
|
|
|
|
bootctrl.sdm660.recovery
|
|
|
|
|
|
|
|
# Boot control debug
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
|
|
bootctl
|
|
|
|
|
|
|
|
# Update engine
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
update_engine \
|
|
|
|
update_engine_sideload \
|
|
|
|
update_verifier
|
|
|
|
|
|
|
|
PRODUCT_HOST_PACKAGES += \
|
|
|
|
brillo_update_payload
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
|
|
update_engine_client
|
|
|
|
endif
|
|
|
|
|
2021-04-05 09:07:20 -04:00
|
|
|
# Adapt Launch
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(COMMON_PATH)/configs/lm/AdaptLaunchFeature.xml:$(TARGET_COPY_OUT_VENDOR)/etc/lm/AdaptLaunchFeature.xml
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Audio
|
|
|
|
PRODUCT_PACKAGES += \
|
2023-03-07 12:19:24 -05:00
|
|
|
android.hardware.audio@7.1-impl \
|
|
|
|
android.hardware.audio.effect@7.0-impl \
|
2020-04-08 17:23:47 -04:00
|
|
|
android.hardware.audio.service \
|
2020-09-09 07:40:33 -04:00
|
|
|
android.hardware.soundtrigger@2.3-impl \
|
2018-07-12 22:11:03 -04:00
|
|
|
audio.primary.sdm660 \
|
|
|
|
audio.r_submix.default \
|
|
|
|
audio.usb.default \
|
2022-03-23 11:33:25 -04:00
|
|
|
audio.usbv2.default \
|
2022-09-11 20:10:51 -04:00
|
|
|
liba2dpoffload \
|
2018-07-12 22:11:03 -04:00
|
|
|
libaudio-resampler \
|
2020-01-31 07:59:27 -05:00
|
|
|
libhdmiedid \
|
|
|
|
libhfp \
|
|
|
|
libsndmonitor \
|
2018-07-12 22:11:03 -04:00
|
|
|
libqcompostprocbundle \
|
|
|
|
libqcomvisualizer \
|
|
|
|
libqcomvoiceprocessing \
|
2021-12-01 12:08:42 -05:00
|
|
|
libvolumelistener\
|
2017-04-18 08:10:35 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# Audio Configs
|
2018-07-12 22:11:03 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2022-04-01 06:39:48 -04:00
|
|
|
$(call find-copy-subdir-files,*,$(COMMON_PATH)/configs/audio/,$(TARGET_COPY_OUT_VENDOR)/etc)
|
2019-12-20 12:17:54 -05:00
|
|
|
|
|
|
|
# Audio Policy
|
2018-07-12 22:11:03 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2021-10-27 06:22:53 -04:00
|
|
|
frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration_7_0.xml \
|
2021-02-28 11:10:41 -05:00
|
|
|
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
2021-10-27 06:22:53 -04:00
|
|
|
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml \
|
2021-02-28 11:10:41 -05: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
|
2017-08-09 03:01:08 -04:00
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# ANT+
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-06-17 02:24:37 -04:00
|
|
|
AntHalService-Soong \
|
2021-07-31 14:19:40 -04:00
|
|
|
com.dsi.ant@1.0.vendor
|
2017-08-09 03:01:08 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# AuthSecret
|
2019-10-26 03:33:35 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.authsecret@1.0-service
|
|
|
|
|
2018-04-26 00:26:43 -04:00
|
|
|
# Biometrics
|
|
|
|
PRODUCT_PACKAGES += \
|
2023-03-10 07:49:21 -05:00
|
|
|
android.hardware.biometrics.fingerprint@2.3-service.xiaomi_sdm660
|
2018-04-26 00:26:43 -04:00
|
|
|
|
2017-11-06 07:41:15 -05:00
|
|
|
# Bluetooth
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-12-20 12:17:54 -05:00
|
|
|
audio.bluetooth.default \
|
2022-08-18 09:13:51 -04:00
|
|
|
android.hardware.bluetooth.audio-impl \
|
2022-09-11 20:10:51 -04:00
|
|
|
vendor.qti.hardware.btconfigstore@1.0.vendor \
|
|
|
|
vendor.qti.hardware.btconfigstore@2.0.vendor
|
2017-11-06 07:41:15 -05:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# Boot animation
|
|
|
|
TARGET_BOOTANIMATION_SIZE := 1080p
|
|
|
|
|
|
|
|
# Camera
|
2018-07-12 22:11:03 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2021-06-10 10:33:40 -04:00
|
|
|
android.hardware.camera.device@3.5 \
|
2020-02-02 06:00:58 -05:00
|
|
|
android.hardware.camera.provider@2.4-impl \
|
2018-03-29 14:45:23 -04:00
|
|
|
android.hardware.camera.provider@2.4-service \
|
2021-06-10 10:33:40 -04:00
|
|
|
android.hardware.camera.provider@2.6 \
|
2021-10-07 11:52:56 -04:00
|
|
|
vendor.qti.hardware.camera.device@1.0 \
|
|
|
|
vendor.qti.hardware.camera.device@1.0.vendor
|
2018-07-12 22:11:03 -04:00
|
|
|
|
2022-12-17 14:48:04 -05:00
|
|
|
# Capability configstore
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.qti.hardware.capabilityconfigstore@1.0 \
|
|
|
|
vendor.qti.hardware.capabilityconfigstore@1.0.vendor
|
|
|
|
|
2019-10-03 08:56:59 -04:00
|
|
|
# Codec2
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libcodec2_vndk.vendor \
|
|
|
|
libcodec2_hidl@1.0.vendor
|
|
|
|
|
2022-03-23 11:31:39 -04:00
|
|
|
# Codec2 modules
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
com.android.media.swcodec \
|
2022-04-01 02:33:16 -04:00
|
|
|
libsfplugin_ccodec \
|
2023-02-24 01:19:55 -05:00
|
|
|
android.hardware.media.c2@1.2.vendor \
|
2023-02-24 01:16:25 -05:00
|
|
|
libcodec2_vndk.vendor \
|
|
|
|
libcodec2_hidl@1.0.vendor
|
2022-03-23 11:31:39 -04:00
|
|
|
|
2019-12-23 18:30:20 -05:00
|
|
|
# Dalvik
|
|
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk )
|
|
|
|
|
2023-04-17 13:46:52 -04:00
|
|
|
# Configstore (Disabled)
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
disable_configstore
|
|
|
|
|
2021-10-02 05:29:25 -04:00
|
|
|
# ConsumerIR
|
|
|
|
ifeq ($(BOARD_HAVE_IR),true)
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.ir@1.0-service.xiaomi_sdm660
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
|
|
|
|
endif
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Display
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-12-20 12:17:54 -05:00
|
|
|
android.frameworks.displayservice@1.0 \
|
2021-11-17 10:59:57 -05:00
|
|
|
android.frameworks.displayservice@1.0.vendor \
|
2021-05-06 21:31:35 -04:00
|
|
|
android.hardware.graphics.allocator@3.0-impl \
|
|
|
|
android.hardware.graphics.allocator@4.0-impl \
|
2018-07-12 22:11:03 -04:00
|
|
|
android.hardware.graphics.composer@2.1-service \
|
2021-11-17 10:59:57 -05:00
|
|
|
android.hardware.graphics.mapper@3.0-impl-qti-display \
|
|
|
|
android.hardware.graphics.mapper@4.0-impl-qti-display \
|
2022-09-21 08:43:00 -04:00
|
|
|
android.hardware.memtrack-service.example \
|
2021-11-17 10:59:57 -05:00
|
|
|
vendor.qti.hardware.display.allocator-service \
|
2022-02-20 14:35:37 -05:00
|
|
|
vendor.qti.hardware.display.mapper@2.0.vendor \
|
2019-12-20 12:17:54 -05:00
|
|
|
gralloc.sdm660 \
|
|
|
|
hwcomposer.sdm660 \
|
|
|
|
memtrack.sdm660 \
|
|
|
|
libdisplayconfig \
|
2022-08-13 02:57:04 -04:00
|
|
|
vendor.display.config@1.0 \
|
|
|
|
vendor.display.config@1.0.vendor \
|
2021-03-21 16:42:53 -04:00
|
|
|
vendor.display.config@2.0 \
|
|
|
|
vendor.display.config@2.0.vendor
|
2016-07-07 09:35:22 -04:00
|
|
|
|
2020-08-27 09:13:41 -04:00
|
|
|
# DeviceDoze
|
2019-07-09 17:31:00 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2020-08-27 09:13:41 -04:00
|
|
|
DeviceDoze
|
2018-07-12 23:00:59 -04:00
|
|
|
|
2022-08-21 11:59:58 -04:00
|
|
|
# Display Device Config
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(COMMON_PATH)/configs/displayconfig/display_id_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_id_0.xml
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# DRM
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-09-23 08:05:25 -04:00
|
|
|
android.hardware.drm-service.clearkey \
|
2021-10-30 03:10:44 -04:00
|
|
|
android.hardware.drm@1.4.vendor
|
2018-01-31 13:29:05 -05:00
|
|
|
|
2018-10-18 10:09:51 -04:00
|
|
|
# Freeform Multiwindow
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.software.freeform_window_management.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.freeform_window_management.xml
|
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# Fstab
|
2017-03-29 13:17:06 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2019-12-20 12:17:54 -05:00
|
|
|
fstab.qcom
|
2017-03-29 13:17:06 -04:00
|
|
|
|
2019-10-13 10:02:01 -04:00
|
|
|
# fwk-detect
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-01-09 04:04:11 -05:00
|
|
|
libqti_vndfwk_detect \
|
|
|
|
libqti_vndfwk_detect.vendor
|
2019-10-13 10:02:01 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# GMS
|
|
|
|
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
|
2019-10-13 10:02:01 -04:00
|
|
|
|
2019-10-09 07:54:50 -04:00
|
|
|
# GPS / Location
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-02-22 10:21:06 -05:00
|
|
|
android.hardware.gnss@2.1-impl-qti \
|
|
|
|
android.hardware.gnss@2.1-service-qti \
|
2022-03-12 05:10:39 -05:00
|
|
|
android.hardware.gnss.measurement_corrections@1.1.vendor \
|
|
|
|
android.hardware.gnss.visibility_control@1.0.vendor \
|
2019-10-09 07:54:50 -04:00
|
|
|
libbatching \
|
|
|
|
libgeofencing \
|
|
|
|
libgnss \
|
2022-03-23 04:21:09 -04:00
|
|
|
libgps.utils \
|
|
|
|
libloc_core \
|
|
|
|
liblocation_api \
|
2019-10-09 07:54:50 -04:00
|
|
|
libwifi-hal-ctrl
|
|
|
|
|
2020-01-14 12:19:32 -05:00
|
|
|
# GPS Config
|
2018-07-12 22:11:03 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2021-03-02 17:09:03 -05:00
|
|
|
$(COMMON_PATH)/gps/etc/apdr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/apdr.conf \
|
|
|
|
$(COMMON_PATH)/gps/etc/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
|
|
|
|
$(COMMON_PATH)/gps/etc/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
|
|
|
|
$(COMMON_PATH)/gps/etc/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
|
2022-10-16 22:33:50 -04:00
|
|
|
$(COMMON_PATH)/gps/etc/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
flp.conf \
|
|
|
|
gps.conf \
|
|
|
|
gnss_antenna_info.conf \
|
|
|
|
gnss@2.0-base.policy \
|
|
|
|
gnss@2.0-xtra-daemon.policy \
|
|
|
|
gnss@2.0-xtwifi-client.policy \
|
|
|
|
gnss@2.0-xtwifi-inet-agent.policy
|
2018-07-12 22:11:03 -04:00
|
|
|
|
|
|
|
# Healthd
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-02-11 23:16:23 -05:00
|
|
|
android.hardware.health@2.1-impl-qti \
|
2020-12-08 17:03:48 -05:00
|
|
|
android.hardware.health@2.1-service
|
2017-03-28 01:14:56 -04:00
|
|
|
|
2017-12-07 09:15:14 -05:00
|
|
|
# HIDL
|
|
|
|
PRODUCT_PACKAGES += \
|
2018-09-08 06:19:12 -04:00
|
|
|
android.hidl.base@1.0 \
|
2021-09-14 04:24:25 -04:00
|
|
|
android.hidl.base@1.0.vendor \
|
2020-10-01 10:40:27 -04:00
|
|
|
libhidltransport \
|
|
|
|
libhidltransport.vendor \
|
|
|
|
libhwbinder \
|
|
|
|
libhwbinder.vendor
|
2017-12-07 09:15:14 -05:00
|
|
|
|
2021-10-08 02:38:13 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2023-03-10 07:49:21 -05:00
|
|
|
android.hardware.biometrics.fingerprint@2.3.vendor \
|
2021-10-08 02:38:13 -04:00
|
|
|
android.hardware.bluetooth@1.0.vendor \
|
|
|
|
android.frameworks.displayservice@1.0.vendor \
|
|
|
|
android.hardware.gatekeeper@1.0.vendor \
|
2021-10-12 13:25:43 -04:00
|
|
|
android.hardware.neuralnetworks@1.3 \
|
2021-10-08 02:38:13 -04:00
|
|
|
android.hardware.neuralnetworks@1.3.vendor \
|
2021-10-18 08:14:08 -04:00
|
|
|
android.hardware.keymaster@3.0.vendor \
|
2021-10-08 02:38:13 -04:00
|
|
|
android.hardware.keymaster@4.0.vendor \
|
2021-11-07 08:03:15 -05:00
|
|
|
android.hardware.radio.config@1.3.vendor \
|
|
|
|
android.hardware.radio@1.6.vendor \
|
2021-10-08 02:38:13 -04:00
|
|
|
android.hardware.radio.deprecated@1.0.vendor \
|
2021-10-15 15:05:48 -04:00
|
|
|
android.hardware.secure_element@1.2.vendor \
|
2021-10-08 02:38:13 -04:00
|
|
|
android.system.net.netd@1.1.vendor \
|
|
|
|
android.hardware.gnss@2.1.vendor
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# IDC
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-12-20 12:17:54 -05:00
|
|
|
$(COMMON_PATH)/configs/idc/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc \
|
|
|
|
$(COMMON_PATH)/configs/idc/uinput-goodix.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-goodix.idc
|
|
|
|
|
2023-05-14 09:44:43 -04:00
|
|
|
# IFAAService
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-04-13 19:48:37 -04:00
|
|
|
IFAAService
|
2023-05-14 09:44:43 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# IMS
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-10-06 06:17:16 -04:00
|
|
|
ims-ext-common \
|
|
|
|
ims_ext_common.xml
|
2018-07-12 22:11:03 -04:00
|
|
|
|
|
|
|
# Init
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
init.class_main.sh \
|
2018-03-08 09:45:45 -05:00
|
|
|
init.goodix.sh \
|
2018-07-12 22:11:03 -04:00
|
|
|
init.msm.usb.configfs.rc \
|
|
|
|
init.qcom.post_boot.sh \
|
2018-11-18 11:35:43 -05:00
|
|
|
init.qcom.early_boot.sh \
|
2021-09-05 02:24:02 -04:00
|
|
|
init.qcom.sensors.sh \
|
|
|
|
init.qti.dcvs.sh \
|
2018-07-12 22:11:03 -04:00
|
|
|
init.qcom.rc \
|
|
|
|
init.qcom.sh \
|
2018-04-18 16:31:23 -04:00
|
|
|
init.recovery.qcom.rc \
|
2018-07-12 22:11:03 -04:00
|
|
|
init.target.rc \
|
2020-05-04 12:46:24 -04:00
|
|
|
init.xiaomi_parts.rc \
|
2016-06-17 20:26:42 -04:00
|
|
|
init.verity.rc \
|
2019-12-20 12:17:54 -05:00
|
|
|
ueventd.qcom.rc
|
2016-07-07 09:35:22 -04:00
|
|
|
|
2020-06-05 06:53:31 -04:00
|
|
|
# FM
|
|
|
|
ifeq ($(BOARD_HAVE_QCOM_FM),true)
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
FM2 \
|
|
|
|
libqcomfm_jni \
|
|
|
|
qcom.fmradio \
|
|
|
|
qcom.fmradio.xml
|
|
|
|
endif
|
|
|
|
|
2023-03-31 01:05:30 -04:00
|
|
|
# IRQ
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(COMMON_PATH)/configs/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# IRSC
|
|
|
|
PRODUCT_COPY_FILES += \
|
2018-08-05 04:45:35 -04:00
|
|
|
$(COMMON_PATH)/configs/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config
|
2016-07-07 09:35:22 -04:00
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Keylayout
|
2016-07-07 09:35:22 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2022-03-31 14:02:35 -04:00
|
|
|
$(call find-copy-subdir-files,*,$(COMMON_PATH)/configs/keylayout/,$(TARGET_COPY_OUT_VENDOR)/usr/keylayout)
|
2016-07-07 09:35:22 -04:00
|
|
|
|
2022-02-20 06:41:53 -05:00
|
|
|
# Keystore
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.system.keystore2
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Lights
|
2016-07-07 09:35:22 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2022-10-06 06:11:51 -04:00
|
|
|
android.hardware.light-service.xiaomi
|
2017-04-07 06:19:23 -04:00
|
|
|
|
2022-03-21 06:13:19 -04:00
|
|
|
# Media
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libgui_vendor
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Media
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-12-20 12:17:54 -05:00
|
|
|
$(COMMON_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
2022-03-21 06:13:19 -04:00
|
|
|
$(COMMON_PATH)/configs/media/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
|
2021-05-10 11:28:22 -04:00
|
|
|
$(COMMON_PATH)/configs/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
|
|
|
|
$(COMMON_PATH)/configs/media/media_codecs_sdm660_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_sdm660_v1.xml \
|
|
|
|
$(COMMON_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
2022-03-21 06:13:19 -04:00
|
|
|
$(COMMON_PATH)/configs/media/media_codecs_performance_sdm660_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_sdm660_v1.xml \
|
|
|
|
$(COMMON_PATH)/configs/media/media_profiles_sdm660_v1.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/media_profiles_sdm660_v1.xml \
|
|
|
|
$(COMMON_PATH)/configs/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/media_profiles.xml \
|
|
|
|
$(COMMON_PATH)/configs/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
|
|
|
|
$(COMMON_PATH)/configs/media/media_profiles_sdm660_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_sdm660_v1.xml \
|
|
|
|
$(COMMON_PATH)/configs/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
|
2017-05-24 01:36:37 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# Media Google
|
2018-07-12 22:11:03 -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 \
|
2021-05-10 11:28:22 -04:00
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
|
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \
|
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2.xml \
|
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_audio.xml \
|
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml
|
|
|
|
|
2022-08-23 09:20:33 -04:00
|
|
|
# Mlipay
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-08-21 23:53:49 -04:00
|
|
|
vendor.xiaomi.hardware.mlipay@1.1.vendor \
|
|
|
|
vendor.xiaomi.hardware.mtdservice@1.0.vendor
|
2022-08-23 09:20:33 -04:00
|
|
|
|
2021-11-07 08:03:15 -05:00
|
|
|
# Net
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
netutils-wrapper-1.0
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# OMX
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-02-28 13:59:10 -05:00
|
|
|
libavservices_minijail \
|
|
|
|
libavservices_minijail.vendor \
|
2018-07-12 22:11:03 -04:00
|
|
|
libc2dcolorconvert \
|
|
|
|
libhypv_intercept \
|
|
|
|
libmm-omxcore \
|
|
|
|
libOmxCore \
|
|
|
|
libOmxAacEnc \
|
|
|
|
libOmxAmrEnc \
|
|
|
|
libOmxEvrcEnc \
|
2019-10-31 16:48:06 -04:00
|
|
|
libOmxG711Enc \
|
2018-07-12 22:11:03 -04:00
|
|
|
libOmxQcelp13Enc \
|
|
|
|
libOmxVdec \
|
|
|
|
libOmxVenc \
|
|
|
|
libstagefrighthw
|
2016-07-07 09:35:22 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# Overlays
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
2022-12-25 07:18:54 -05:00
|
|
|
$(COMMON_PATH)/overlay
|
2019-12-20 12:17:54 -05:00
|
|
|
|
2022-12-25 05:57:22 -05:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
CarrierConfigOverlay \
|
|
|
|
DialerOverlay \
|
|
|
|
FrameworksOverlay \
|
|
|
|
SettingsOverlay \
|
|
|
|
SettingsProviderOverlay \
|
|
|
|
SystemUIOverlay \
|
|
|
|
TelephonyOverlay
|
|
|
|
|
2020-05-14 02:09:16 -04:00
|
|
|
# RRO configuration
|
|
|
|
TARGET_USES_RRO := true
|
2020-07-15 14:46:32 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# Permissions
|
|
|
|
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.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 \
|
|
|
|
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 \
|
|
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
|
|
|
|
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.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.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 \
|
|
|
|
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.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
|
|
|
|
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.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
|
|
|
|
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 \
|
|
|
|
frameworks/native/data/etc/android.hardware.vulkan.level-0.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 \
|
|
|
|
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.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.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
|
|
|
|
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
|
|
|
|
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
|
|
|
|
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
|
|
|
|
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \
|
|
|
|
frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \
|
|
|
|
frameworks/native/data/etc/android.software.webview.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.webview.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-0.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.vulkan.version-1_0_3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_0_3.xml \
|
2020-02-07 05:29:21 -05: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 \
|
2021-12-04 08:25:11 -05:00
|
|
|
frameworks/native/data/etc/android.software.opengles.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \
|
2019-12-20 12:17:54 -05:00
|
|
|
frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml
|
|
|
|
|
2023-02-24 01:16:25 -05:00
|
|
|
|
2022-12-27 01:53:21 -05:00
|
|
|
# Perfd (dummy)
|
2022-05-31 01:57:30 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libqti-perfd-client
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Power
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-12-27 01:53:21 -05:00
|
|
|
android.hardware.power-service.xiaomi_sdm660-libperfmgr
|
2021-02-25 10:01:33 -05:00
|
|
|
|
|
|
|
# Powerhint
|
2022-12-27 01:53:21 -05:00
|
|
|
ifeq ($(EAS_POWERHINT_VARIANT), sdm636)
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(COMMON_PATH)/power-libperfmgr/sdm636_powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
|
|
|
else
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(COMMON_PATH)/power-libperfmgr/sdm660_powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
|
|
|
endif
|
2017-11-15 05:09:25 -05:00
|
|
|
|
2018-02-02 16:01:38 -05:00
|
|
|
# Preopt SystemUI
|
2022-03-13 15:36:07 -04:00
|
|
|
PRODUCT_DEXPREOPT_SPEED_APPS += \
|
|
|
|
Launcher3QuickStep \
|
|
|
|
Nexuslauncher \
|
|
|
|
lawnchair \
|
|
|
|
Settings \
|
|
|
|
SystemUI
|
2018-02-02 16:01:38 -05:00
|
|
|
|
2020-10-01 10:42:22 -04:00
|
|
|
# Protobuf
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libprotobuf-cpp-full-vendorcompat \
|
|
|
|
libprotobuf-cpp-lite-vendorcompat
|
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# Privapp-Permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
2021-01-21 11:12:24 -05:00
|
|
|
$(COMMON_PATH)/configs/privapp-permission/privapp-permissions-qti-system-ext.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \
|
2021-04-03 08:22:16 -04:00
|
|
|
$(COMMON_PATH)/configs/privapp-permission/privapp-permissions-qti-system.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-qti.xml \
|
|
|
|
$(COMMON_PATH)/configs/privapp-permission/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-hotword.xml
|
2019-12-20 12:17:54 -05:00
|
|
|
|
2018-02-18 17:00:04 -05:00
|
|
|
# Public Libraries
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(COMMON_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Low power Whitelist
|
2017-03-17 08:24:52 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2021-05-29 15:37:38 -04:00
|
|
|
$(COMMON_PATH)/configs/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
|
2017-03-17 08:24:52 -04:00
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# QMI
|
2021-10-07 19:42:56 -04:00
|
|
|
$(call inherit-product, external/json-c/Android.configure.mk)
|
2018-07-12 22:11:03 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libjson
|
2017-03-17 08:24:52 -04:00
|
|
|
|
2023-02-18 04:26:55 -05:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(COMMON_PATH)/configs/qmi_fw.conf:$(TARGET_COPY_OUT_VENDOR)/etc/qmi_fw.conf
|
|
|
|
|
2022-12-27 01:53:21 -05:00
|
|
|
# QTI Performance
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(COMMON_PATH)/configs/perf/perf-profile0.conf:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perf-profile0.conf \
|
|
|
|
$(COMMON_PATH)/configs/perf/perfconfigstore.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perfconfigstore.xml
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# RIL
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
librmnetctl \
|
2019-12-20 12:17:54 -05:00
|
|
|
libprotobuf-cpp-full \
|
2019-09-23 09:17:02 -04:00
|
|
|
qti-telephony-hidl-wrapper \
|
|
|
|
qti_telephony_hidl_wrapper.xml \
|
2021-10-11 01:48:28 -04:00
|
|
|
qti-telephony-hidl-wrapper-prd \
|
|
|
|
qti_telephony_hidl_wrapper_prd.xml \
|
2019-09-23 09:17:02 -04:00
|
|
|
qti-telephony-utils \
|
|
|
|
qti_telephony_utils.xml \
|
2018-07-12 22:11:03 -04:00
|
|
|
telephony-ext
|
2016-07-07 09:35:22 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# RIL JAR
|
2018-07-12 22:11:03 -04:00
|
|
|
PRODUCT_BOOT_JARS += \
|
|
|
|
telephony-ext
|
2017-03-17 08:24:52 -04:00
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Seccomp policy
|
|
|
|
PRODUCT_COPY_FILES += \
|
2018-08-05 04:45:35 -04:00
|
|
|
$(COMMON_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
|
2019-10-03 08:56:59 -04:00
|
|
|
$(COMMON_PATH)/seccomp/mediaswcodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaswcodec.policy \
|
|
|
|
$(COMMON_PATH)/seccomp/codec2.vendor.ext.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy
|
2017-03-17 08:24:52 -04:00
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Sensors
|
2017-04-07 06:19:23 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2021-03-09 16:38:58 -05:00
|
|
|
android.frameworks.sensorservice@1.0 \
|
2021-10-17 18:41:26 -04:00
|
|
|
android.frameworks.sensorservice@1.0.vendor \
|
2020-02-02 06:00:58 -05:00
|
|
|
android.hardware.sensors@1.0-impl \
|
2020-01-14 12:19:32 -05:00
|
|
|
android.hardware.sensors@1.0-service \
|
|
|
|
libsensorndkbridge
|
2017-04-07 06:19:23 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# Sensor Config
|
2017-03-17 08:24:52 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2019-12-20 12:17:54 -05:00
|
|
|
$(COMMON_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
|
|
|
|
|
|
|
|
# Security Patch
|
|
|
|
BOOT_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH)
|
|
|
|
|
|
|
|
# Shims
|
|
|
|
PRODUCT_PACKAGES += \
|
2020-01-11 16:18:41 -05:00
|
|
|
camera.sdm660_shim
|
2019-12-20 12:17:54 -05:00
|
|
|
|
2022-12-27 01:53:31 -05:00
|
|
|
# Soong namespaces
|
2019-12-20 12:17:54 -05:00
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
2020-12-03 02:39:27 -05:00
|
|
|
$(COMMON_PATH) \
|
2022-12-27 01:53:31 -05:00
|
|
|
hardware/google/interfaces \
|
|
|
|
hardware/google/pixel \
|
2022-10-06 05:44:52 -04:00
|
|
|
hardware/xiaomi
|
2017-04-07 06:19:23 -04:00
|
|
|
|
2021-08-22 04:31:23 -04:00
|
|
|
# Speed profile services and wifi-service to reduce RAM and storage
|
|
|
|
PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile
|
2021-06-26 03:30:31 -04:00
|
|
|
PRODUCT_USE_PROFILE_FOR_BOOT_IMAGE := true
|
|
|
|
PRODUCT_DEX_PREOPT_BOOT_IMAGE_PROFILE_LOCATION := frameworks/base/config/boot-image-profile.txt
|
2021-08-22 04:31:23 -04:00
|
|
|
|
2021-10-18 10:05:02 -04:00
|
|
|
# System
|
2022-08-29 03:19:29 -04:00
|
|
|
PRODUCT_VENDOR_PROPERTIES += \
|
2021-10-18 10:05:02 -04:00
|
|
|
persist.sys.binary_xml=false
|
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# Tetheroffload
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
ipacm \
|
2021-11-07 08:03:15 -05:00
|
|
|
IPACM_cfg.xml
|
2017-12-11 01:44:16 -05:00
|
|
|
|
2021-10-11 19:35:30 -04:00
|
|
|
# Tin
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
tinyxml2 \
|
|
|
|
libxml2
|
|
|
|
|
2021-05-29 14:15:14 -04:00
|
|
|
# Thermal
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-06-15 11:45:26 -04:00
|
|
|
android.hardware.thermal@2.0-service.mock
|
2021-05-29 14:15:14 -04:00
|
|
|
|
2021-02-12 01:45:50 -05:00
|
|
|
# Thermal Conf
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(COMMON_PATH)/configs/thermal/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \
|
2022-05-10 03:30:19 -04:00
|
|
|
$(COMMON_PATH)/configs/thermal/thermal-engine-high.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-high.conf \
|
2021-02-12 01:45:50 -05:00
|
|
|
$(COMMON_PATH)/configs/thermal/thermal-engine-map.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-map.conf \
|
2022-05-10 03:30:19 -04:00
|
|
|
$(COMMON_PATH)/configs/thermal/thermal-engine-nolimits.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-nolimits.conf \
|
|
|
|
$(COMMON_PATH)/configs/thermal/thermal-engine-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-normal.conf
|
2021-02-12 01:45:50 -05:00
|
|
|
|
2018-07-12 22:11:03 -04:00
|
|
|
# USB
|
|
|
|
PRODUCT_PACKAGES += \
|
2023-03-27 10:34:59 -04:00
|
|
|
android.hardware.usb@1.3-service-qti
|
2017-10-10 04:42:48 -04:00
|
|
|
|
2022-08-12 20:06:57 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
init.qcom.usb.rc \
|
|
|
|
init.qcom.usb.sh
|
|
|
|
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
vendor/qcom/opensource/usb/etc
|
|
|
|
|
2021-11-06 09:14:20 -04:00
|
|
|
# Vibrator
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.qti.hardware.vibrator.service
|
|
|
|
|
2021-11-06 09:23:24 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2021-12-31 22:02:09 -05:00
|
|
|
vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/vendor/etc/excluded-input-devices.xml
|
2021-11-06 09:23:24 -04:00
|
|
|
|
2018-09-10 19:57:14 -04:00
|
|
|
# VNDK
|
2019-06-29 07:39:35 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2019-05-12 11:45:30 -04:00
|
|
|
libdng_sdk.vendor_32 \
|
2023-05-18 10:30:49 -04:00
|
|
|
libstdc++.vendor \
|
2020-09-11 10:59:04 -04:00
|
|
|
com.android.vndk.current.on_vendor
|
2019-06-29 07:39:35 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# WiFi
|
2018-07-12 22:11:03 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.wifi@1.0-service \
|
2021-10-07 11:52:56 -04:00
|
|
|
android.hardware.wifi@1.5.vendor \
|
2018-07-12 22:11:03 -04:00
|
|
|
hostapd \
|
|
|
|
libwifi-hal-qcom \
|
2021-12-17 23:59:58 -05:00
|
|
|
libwpa_client \
|
2020-04-24 17:33:28 -04:00
|
|
|
WifiOverlay \
|
2018-07-12 22:11:03 -04:00
|
|
|
wpa_supplicant \
|
2021-12-01 12:08:42 -05:00
|
|
|
wpa_supplicant.conf
|
2018-07-12 22:11:03 -04:00
|
|
|
|
2019-12-20 12:17:54 -05:00
|
|
|
# WiFi Configs
|
2018-07-12 22:11:03 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2019-12-20 12:17:54 -05:00
|
|
|
$(COMMON_PATH)/configs/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
2020-05-05 13:56:33 -04:00
|
|
|
$(COMMON_PATH)/configs/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini \
|
|
|
|
$(COMMON_PATH)/configs/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
|
2018-12-24 06:25:51 -05:00
|
|
|
|
2020-08-27 09:13:41 -04:00
|
|
|
# DeviceSettings
|
2019-09-16 11:25:48 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2020-08-27 09:13:41 -04:00
|
|
|
DeviceSettings
|
2021-12-01 12:08:42 -05:00
|
|
|
|