2018-07-01 07:20:03 -04:00
|
|
|
#
|
2023-03-03 16:43:42 -05:00
|
|
|
# Copyright (C) 2021-2023 The LineageOS Project
|
2018-07-01 07:20:03 -04:00
|
|
|
#
|
2022-05-18 12:08:50 -04:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2018-07-01 07:20:03 -04:00
|
|
|
#
|
|
|
|
|
2020-02-28 20:55:47 -05:00
|
|
|
# Enable project quotas and casefolding for emulated storage without sdcardfs
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
|
|
|
|
2019-09-12 17:47:56 -04:00
|
|
|
# Enable updating of APEXes
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
|
2022-03-24 07:48:43 -04:00
|
|
|
# Enable virtual A/B OTA with virtual ramdisk
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
|
2020-01-14 04:59:51 -05:00
|
|
|
|
2019-12-06 17:00:16 -05:00
|
|
|
# Setup dalvik vm configs
|
2022-05-23 15:37:17 -04:00
|
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
|
2019-12-06 17:00:16 -05:00
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
# Get non-open-source specific aspects
|
2022-05-16 19:06:02 -04:00
|
|
|
$(call inherit-product, vendor/oneplus/dre/dre-vendor.mk)
|
|
|
|
|
|
|
|
# Set product shipping level
|
|
|
|
PRODUCT_SHIPPING_API_LEVEL := 30
|
2018-07-01 07:20:03 -04:00
|
|
|
|
2022-10-31 13:07:07 -04:00
|
|
|
# Set board API level
|
|
|
|
BOARD_SHIPPING_API_LEVEL := 30
|
|
|
|
BOARD_API_LEVEL := 30
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
# Overlays
|
2022-05-18 08:29:56 -04:00
|
|
|
$(call inherit-product, hardware/oplus/overlay/qssi/qssi.mk)
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
|
|
$(LOCAL_PATH)/overlay-lineage
|
|
|
|
|
2018-11-07 11:10:05 -05:00
|
|
|
PRODUCT_ENFORCE_RRO_TARGETS := *
|
2022-04-13 23:41:13 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2022-04-14 00:17:32 -04:00
|
|
|
CarrierConfigResCommon \
|
|
|
|
FrameworksResTarget \
|
2022-09-14 13:22:36 -04:00
|
|
|
OPlusFrameworksResTarget \
|
|
|
|
OPlusSettingsProviderResTarget \
|
|
|
|
OPlusSettingsResTarget \
|
|
|
|
OPlusSystemUIResTarget \
|
2022-04-14 00:17:32 -04:00
|
|
|
WifiResTarget
|
2018-11-07 11:10:05 -05:00
|
|
|
|
2022-05-16 19:06:02 -04:00
|
|
|
# AAPT
|
|
|
|
PRODUCT_AAPT_CONFIG := normal
|
|
|
|
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
|
|
|
|
2018-07-09 15:25:14 -04:00
|
|
|
# A/B
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_system=true \
|
|
|
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
|
|
|
FILESYSTEM_TYPE_system=ext4 \
|
|
|
|
POSTINSTALL_OPTIONAL_system=true
|
|
|
|
|
2019-02-28 16:21:07 -05:00
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_vendor=true \
|
|
|
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
|
|
|
FILESYSTEM_TYPE_vendor=ext4 \
|
|
|
|
POSTINSTALL_OPTIONAL_vendor=true
|
|
|
|
|
2018-07-09 15:25:14 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2021-01-04 16:32:46 -05:00
|
|
|
checkpoint_gc \
|
2018-07-09 15:25:14 -04:00
|
|
|
otapreopt_script
|
|
|
|
|
2018-07-16 07:22:31 -04:00
|
|
|
# ANT+
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-01-04 16:32:46 -05:00
|
|
|
AntHalService-Soong \
|
|
|
|
com.dsi.ant@1.0.vendor
|
|
|
|
|
|
|
|
# Atrace
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.atrace@1.0-service
|
2018-07-16 07:22:31 -04:00
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
# Audio
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-01-04 16:32:46 -05:00
|
|
|
android.hardware.audio@6.0-impl \
|
|
|
|
android.hardware.audio.effect@6.0-impl \
|
|
|
|
android.hardware.audio.service \
|
2021-04-13 05:00:12 -04:00
|
|
|
android.hardware.bluetooth.audio@2.1-impl \
|
2020-03-02 18:05:49 -05:00
|
|
|
android.hardware.soundtrigger@2.3-impl \
|
2021-01-04 16:32:46 -05:00
|
|
|
audio.bluetooth.default \
|
2022-05-16 19:06:02 -04:00
|
|
|
audio.primary.holi \
|
2021-01-04 16:32:46 -05:00
|
|
|
audio.r_submix.default \
|
|
|
|
audio.usb.default \
|
2021-05-25 16:10:44 -04:00
|
|
|
audioadsprpcd \
|
2021-01-04 16:32:46 -05:00
|
|
|
liba2dpoffload \
|
|
|
|
libbatterylistener \
|
|
|
|
libcomprcapture \
|
|
|
|
libexthwplugin \
|
|
|
|
libhdmiedid \
|
|
|
|
libhfp \
|
|
|
|
libqcompostprocbundle \
|
|
|
|
libqcomvisualizer \
|
|
|
|
libqcomvoiceprocessing \
|
|
|
|
libsndmonitor \
|
|
|
|
libspkrprot \
|
2021-10-28 17:54:02 -04:00
|
|
|
libssrec \
|
2021-06-19 10:25:31 -04:00
|
|
|
libvolumelistener \
|
2022-05-16 19:06:02 -04:00
|
|
|
sound_trigger.primary.holi:32
|
2018-07-01 07:20:03 -04:00
|
|
|
|
2022-05-31 19:26:31 -04:00
|
|
|
# SM8350 audio HAL has SM4350 configurations.
|
|
|
|
AUDIO_HAL_DIR := hardware/qcom-caf/sm8350/audio
|
|
|
|
|
2018-09-09 11:39:16 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2022-05-31 19:26:31 -04:00
|
|
|
$(AUDIO_HAL_DIR)/configs/common/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
|
|
|
$(AUDIO_HAL_DIR)/configs/holi/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
|
|
|
$(AUDIO_HAL_DIR)/configs/holi/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
|
2022-06-16 14:59:43 -04:00
|
|
|
$(AUDIO_HAL_DIR)/configs/holi/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
|
2022-05-31 19:26:31 -04:00
|
|
|
$(AUDIO_HAL_DIR)/configs/holi/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
|
2022-06-16 14:59:43 -04:00
|
|
|
$(AUDIO_HAL_DIR)/configs/holi/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
|
2022-05-31 19:26:31 -04:00
|
|
|
$(AUDIO_HAL_DIR)/configs/holi/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
|
2021-01-04 16:17:17 -05:00
|
|
|
$(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
|
2022-12-29 11:43:13 -05:00
|
|
|
$(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
|
2022-09-15 11:03:29 -04:00
|
|
|
$(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
|
2022-06-16 14:59:43 -04:00
|
|
|
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
|
2021-01-04 16:17:17 -05:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
2022-05-31 19:26:31 -04:00
|
|
|
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_holi/audio_policy_volumes.xml \
|
2021-01-04 16:17:17 -05:00
|
|
|
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
2022-09-15 11:03:29 -04:00
|
|
|
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
|
2022-05-31 19:26:31 -04:00
|
|
|
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_holi/default_volume_tables.xml \
|
2021-01-04 16:17:17 -05:00
|
|
|
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
2022-05-31 19:26:31 -04:00
|
|
|
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_holi/r_submix_audio_policy_configuration.xml \
|
2021-01-04 16:17:17 -05:00
|
|
|
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
|
2022-05-31 19:26:31 -04:00
|
|
|
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_holi/usb_audio_policy_configuration.xml \
|
2021-01-04 16:17:17 -05:00
|
|
|
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
|
|
|
|
2022-06-12 13:17:07 -04: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.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
|
|
|
|
|
2021-12-14 05:42:44 -05:00
|
|
|
# Authsecret
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.authsecret@1.0.vendor
|
|
|
|
|
2021-01-04 16:32:46 -05:00
|
|
|
# Bluetooth
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-12-14 05:42:44 -05:00
|
|
|
android.hardware.bluetooth@1.0.vendor \
|
2021-01-04 16:32:46 -05:00
|
|
|
vendor.qti.hardware.bluetooth_audio@2.0.vendor \
|
2021-05-25 16:10:44 -04:00
|
|
|
vendor.qti.hardware.btconfigstore@1.0.vendor \
|
|
|
|
vendor.qti.hardware.btconfigstore@2.0.vendor
|
2018-09-09 11:39:16 -04:00
|
|
|
|
2022-06-12 13:17:07 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
|
|
|
|
|
2022-05-16 19:06:02 -04:00
|
|
|
# Boot animation
|
|
|
|
TARGET_SCREEN_HEIGHT := 2400
|
|
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
|
2018-07-09 15:25:14 -04:00
|
|
|
# Boot control
|
2018-08-22 00:22:37 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2022-03-06 04:11:47 -05:00
|
|
|
android.hardware.boot@1.2-impl-qti \
|
|
|
|
android.hardware.boot@1.2-impl-qti.recovery \
|
|
|
|
android.hardware.boot@1.2-service
|
2018-08-22 00:22:37 -04:00
|
|
|
|
2018-07-02 10:35:51 -04:00
|
|
|
# Camera
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-01-04 16:32:46 -05:00
|
|
|
android.hardware.camera.provider@2.4-impl \
|
|
|
|
android.hardware.camera.provider@2.4-service_64 \
|
2022-11-25 09:46:37 -05:00
|
|
|
libcamera_metadata_shim \
|
2021-01-04 16:32:46 -05:00
|
|
|
vendor.qti.hardware.camera.postproc@1.0.vendor
|
2018-07-02 10:35:51 -04:00
|
|
|
|
2022-06-12 13:17:07 -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
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
# Display
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-12-14 05:42:44 -05:00
|
|
|
android.hardware.graphics.common-V1-ndk_platform.vendor \
|
2021-01-04 16:32:46 -05:00
|
|
|
android.hardware.graphics.mapper@3.0-impl-qti-display \
|
|
|
|
android.hardware.graphics.mapper@4.0-impl-qti-display \
|
|
|
|
android.hardware.memtrack@1.0-impl \
|
|
|
|
android.hardware.memtrack@1.0-service \
|
2021-05-25 16:10:44 -04:00
|
|
|
init.qti.display_boot.sh \
|
2021-01-15 15:03:40 -05:00
|
|
|
libdisplayconfig.qti \
|
2022-06-12 18:57:08 -04:00
|
|
|
libdisplayconfig.system.qti \
|
2021-05-25 16:10:44 -04:00
|
|
|
libmemutils \
|
2021-01-04 16:32:46 -05:00
|
|
|
libqdMetaData \
|
|
|
|
libsdmcore \
|
|
|
|
libsdmutils \
|
2021-01-15 15:03:40 -05:00
|
|
|
libtinyxml \
|
2021-05-25 16:10:44 -04:00
|
|
|
memtrack.default \
|
|
|
|
vendor.display.config@1.15.vendor \
|
2021-01-04 16:32:46 -05:00
|
|
|
vendor.display.config@2.0 \
|
|
|
|
vendor.display.config@2.0.vendor \
|
|
|
|
vendor.qti.hardware.display.allocator-service \
|
|
|
|
vendor.qti.hardware.display.composer-service \
|
|
|
|
vendor.qti.hardware.display.mapper@1.1.vendor \
|
|
|
|
vendor.qti.hardware.display.mapper@2.0.vendor \
|
|
|
|
vendor.qti.hardware.display.mapper@3.0.vendor \
|
|
|
|
vendor.qti.hardware.display.mapper@4.0.vendor
|
2018-07-01 07:20:03 -04:00
|
|
|
|
2022-06-12 13:17:07 -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 \
|
|
|
|
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
|
|
|
|
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
|
|
|
|
|
2018-07-13 08:38:39 -04:00
|
|
|
# Doze
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-04-11 12:38:36 -04:00
|
|
|
OplusDoze
|
2018-07-13 08:38:39 -04:00
|
|
|
|
2021-01-04 16:32:46 -05:00
|
|
|
# DRM
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-12-14 05:42:44 -05:00
|
|
|
android.hardware.drm@1.3.vendor \
|
2022-09-14 09:51:15 -04:00
|
|
|
android.hardware.drm-service.clearkey
|
2021-01-04 16:32:46 -05:00
|
|
|
|
2020-06-22 20:11:09 -04:00
|
|
|
# fastbootd
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-02-28 15:45:57 -05:00
|
|
|
android.hardware.fastboot@1.1-impl.custom \
|
2020-06-22 20:11:09 -04:00
|
|
|
fastbootd
|
|
|
|
|
2020-06-22 14:00:06 -04:00
|
|
|
# Fingerprint
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-06-16 18:37:23 -04:00
|
|
|
android.hardware.biometrics.fingerprint@2.3-service.oplus
|
2020-06-22 14:00:06 -04:00
|
|
|
|
2022-06-12 13:17:07 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
|
|
|
|
2021-12-14 05:42:44 -05:00
|
|
|
# Gatekeeper
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.gatekeeper@1.0.vendor
|
|
|
|
|
2021-01-04 16:22:12 -05:00
|
|
|
# GPS
|
2022-06-12 13:17:07 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.gnss.measurement_corrections@1.1.vendor \
|
|
|
|
android.hardware.gnss.visibility_control@1.0.vendor \
|
|
|
|
android.hardware.gnss@2.1.vendor
|
|
|
|
|
2021-01-04 16:22:12 -05:00
|
|
|
PRODUCT_COPY_FILES += \
|
2022-08-23 15:30:55 -04:00
|
|
|
$(LOCAL_PATH)/gps/gps.conf:$(TARGET_COPY_OUT_ODM)/etc/gps.conf
|
2021-01-04 16:22:12 -05:00
|
|
|
|
2022-06-12 13:17:07 -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
|
2021-12-14 05:42:44 -05:00
|
|
|
|
2021-01-04 16:32:46 -05:00
|
|
|
# Health
|
|
|
|
PRODUCT_PACKAGES += \
|
2023-11-13 08:48:00 -05:00
|
|
|
android.hardware.health-service.qti
|
2021-01-04 16:32:46 -05:00
|
|
|
|
|
|
|
# HIDL
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-05-28 04:36:50 -04:00
|
|
|
libhidltransport.vendor \
|
2021-01-04 16:32:46 -05:00
|
|
|
libhwbinder.vendor
|
|
|
|
|
2018-07-15 15:31:07 -04:00
|
|
|
# HotwordEnrollement app permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
2020-11-19 15:32:56 -05:00
|
|
|
$(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
|
2018-07-15 15:31:07 -04:00
|
|
|
|
2022-06-03 23:03:52 -04:00
|
|
|
# Init
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
fstab.qcom \
|
2022-05-07 20:44:01 -04:00
|
|
|
fstab.qcom.vendor_ramdisk \
|
2022-06-03 23:03:52 -04:00
|
|
|
init.class_main.sh \
|
2022-04-11 11:23:57 -04:00
|
|
|
init.oplus.rc \
|
2022-06-03 23:03:52 -04:00
|
|
|
init.qcom.early_boot.sh \
|
|
|
|
init.qcom.rc \
|
|
|
|
init.qcom.recovery.rc \
|
|
|
|
init.qcom.sh \
|
2022-04-12 08:00:05 -04:00
|
|
|
init.qcom.usb.rc \
|
|
|
|
init.qcom.usb.sh \
|
2022-06-03 23:03:52 -04:00
|
|
|
init.target.rc \
|
2022-04-11 14:00:40 -04:00
|
|
|
ueventd.oplus.rc \
|
2022-06-03 23:03:52 -04:00
|
|
|
ueventd.qcom.rc
|
|
|
|
|
2021-01-04 16:32:46 -05:00
|
|
|
# IPACM
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
ipacm \
|
2022-07-12 17:40:51 -04:00
|
|
|
IPACM_cfg.xml
|
2021-01-04 16:32:46 -05:00
|
|
|
|
2021-12-14 05:42:44 -05:00
|
|
|
# Keymaster
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.keymaster@4.1.vendor
|
|
|
|
|
2023-03-03 16:43:42 -05:00
|
|
|
# Lineage Health
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.lineage.health-service.default
|
|
|
|
|
2019-01-22 08:15:40 -05:00
|
|
|
# LiveDisplay
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-04-11 12:38:36 -04:00
|
|
|
vendor.lineage.livedisplay@2.1-service.oplus
|
2019-01-22 08:15:40 -05:00
|
|
|
|
2018-07-09 14:16:42 -04:00
|
|
|
# Media
|
|
|
|
PRODUCT_COPY_FILES += \
|
2022-05-16 19:06:02 -04:00
|
|
|
$(LOCAL_PATH)/configs/media_codecs_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_codecs_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_holi.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_codecs_holi_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_holi_vendor.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_codecs_performance_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_codecs_performance_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_holi.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_codecs_performance_holi_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_holi_vendor.xml \
|
2021-01-04 16:15:43 -05:00
|
|
|
$(LOCAL_PATH)/configs/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
|
2022-05-16 19:06:02 -04:00
|
|
|
$(LOCAL_PATH)/configs/media_profiles_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_holi.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_profiles_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
|
2021-05-25 19:07:14 -04:00
|
|
|
$(LOCAL_PATH)/configs/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_ODM)/etc/media_profiles_V1_0.xml
|
2021-01-04 16:15:43 -05:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
2021-03-02 04:51:45 -05:00
|
|
|
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_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 \
|
|
|
|
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 \
|
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml
|
2021-01-04 16:15:43 -05:00
|
|
|
|
2018-07-09 14:16:42 -04:00
|
|
|
|
2020-11-20 07:23:05 -05:00
|
|
|
PRODUCT_PACKAGES += \
|
2021-01-04 16:32:46 -05:00
|
|
|
libavservices_minijail \
|
|
|
|
libavservices_minijail.vendor \
|
2021-05-25 16:10:44 -04:00
|
|
|
libcodec2_hidl@1.0.vendor
|
2020-11-20 07:23:05 -05:00
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
# Net
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-07-12 17:40:51 -04:00
|
|
|
android.system.net.netd@1.1.vendor
|
2018-07-01 07:20:03 -04:00
|
|
|
|
2021-12-14 05:42:44 -05:00
|
|
|
# Neural Network
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.neuralnetworks@1.3.vendor
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
# NFC
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-05-25 12:37:59 -04:00
|
|
|
android.hardware.nfc@1.2-service.st \
|
2021-12-14 05:42:44 -05:00
|
|
|
android.hardware.secure_element@1.2.vendor \
|
2019-02-13 09:57:08 -05:00
|
|
|
com.android.nfc_extras \
|
2022-07-17 18:24:47 -04:00
|
|
|
nfc_nci.st21nfc.default \
|
2022-01-25 15:03:51 -05:00
|
|
|
Tag
|
2020-06-23 15:04:53 -04:00
|
|
|
|
2022-06-12 13:17:07 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2022-09-26 23:47:44 -04:00
|
|
|
$(LOCAL_PATH)/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
|
2022-06-12 13:17:07 -04:00
|
|
|
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.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml
|
|
|
|
|
2021-01-04 16:32:46 -05:00
|
|
|
# OMX
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libOmxAacEnc \
|
|
|
|
libOmxAmrEnc \
|
|
|
|
libOmxCore \
|
|
|
|
libOmxEvrcEnc \
|
|
|
|
libOmxG711Enc \
|
|
|
|
libOmxQcelp13Enc \
|
2021-01-11 22:36:38 -05:00
|
|
|
libstagefrighthw
|
2021-01-04 16:32:46 -05:00
|
|
|
|
2023-02-21 12:00:11 -05:00
|
|
|
# Perf
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json
|
|
|
|
|
2018-07-14 18:11:17 -04:00
|
|
|
# Power
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-02-09 05:14:04 -05:00
|
|
|
android.hardware.power-service-qti \
|
2021-12-14 05:42:44 -05:00
|
|
|
android.hardware.power@1.2.vendor \
|
2021-05-25 16:10:44 -04:00
|
|
|
vendor.qti.hardware.perf@2.2.vendor
|
2018-07-14 18:11:17 -04:00
|
|
|
|
2021-01-04 16:32:46 -05:00
|
|
|
# QMI
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libjson \
|
|
|
|
libqti_vndfwk_detect.vendor \
|
|
|
|
libvndfwk_detect_jni.qti.vendor
|
|
|
|
|
2021-05-25 16:10:44 -04:00
|
|
|
# QTI service tracker
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.qti.hardware.servicetracker@1.2.vendor
|
|
|
|
|
2021-01-04 16:32:46 -05:00
|
|
|
# RIL
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-12-14 05:42:44 -05:00
|
|
|
android.hardware.radio@1.5.vendor \
|
|
|
|
android.hardware.radio.config@1.2.vendor \
|
|
|
|
android.hardware.radio.deprecated@1.0.vendor \
|
2023-10-07 15:17:04 -04:00
|
|
|
libprotobuf-cpp-full-3.9.1-vendorcompat \
|
2023-10-19 18:53:15 -04:00
|
|
|
libprotobuf-cpp-lite-3.9.1-vendorcompat \
|
2021-01-04 16:32:46 -05:00
|
|
|
librmnetctl \
|
|
|
|
libxml2
|
|
|
|
|
|
|
|
# Sensors
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.sensors@2.0-service.multihal \
|
|
|
|
libsensorndkbridge
|
|
|
|
|
2022-06-12 13:17:07 -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.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.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensors.hifi_sensors.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
|
|
|
|
|
2019-09-09 10:52:33 -04:00
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
2020-06-22 14:00:06 -04:00
|
|
|
$(LOCAL_PATH) \
|
2022-04-11 12:38:36 -04:00
|
|
|
hardware/oplus
|
2019-09-09 10:52:33 -04:00
|
|
|
|
2018-07-20 19:06:14 -04:00
|
|
|
# Telephony
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-06-12 18:57:08 -04:00
|
|
|
extphonelib \
|
|
|
|
extphonelib-product \
|
|
|
|
extphonelib.xml \
|
|
|
|
extphonelib_product.xml \
|
2018-12-28 04:14:41 -05:00
|
|
|
ims-ext-common \
|
|
|
|
ims_ext_common.xml \
|
2018-11-26 15:08:55 -05:00
|
|
|
qti-telephony-hidl-wrapper \
|
2022-06-12 18:57:08 -04:00
|
|
|
qti-telephony-hidl-wrapper-prd \
|
2018-11-26 15:08:55 -05:00
|
|
|
qti_telephony_hidl_wrapper.xml \
|
2022-06-12 18:57:08 -04:00
|
|
|
qti_telephony_hidl_wrapper_prd.xml \
|
2018-11-26 18:01:19 -05:00
|
|
|
qti-telephony-utils \
|
2022-06-12 18:57:08 -04:00
|
|
|
qti-telephony-utils-prd \
|
2018-11-26 18:01:19 -05:00
|
|
|
qti_telephony_utils.xml \
|
2022-06-12 18:57:08 -04:00
|
|
|
qti_telephony_utils_prd.xml \
|
2018-07-20 19:06:14 -04:00
|
|
|
telephony-ext
|
|
|
|
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
|
|
telephony-ext
|
|
|
|
|
2020-06-23 13:05:35 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2020-11-19 15:32:56 -05:00
|
|
|
$(LOCAL_PATH)/configs/privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml
|
2020-06-23 13:05:35 -04:00
|
|
|
|
2022-06-12 13:17:07 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
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.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
|
|
|
|
|
2021-06-10 03:24:34 -04:00
|
|
|
# Thermal
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.thermal@2.0-service.qti
|
|
|
|
|
2019-01-22 08:15:40 -05:00
|
|
|
# Touch
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-04-11 12:38:36 -04:00
|
|
|
vendor.lineage.touch@1.0-service.oplus
|
2019-01-22 08:15:40 -05:00
|
|
|
|
2022-06-12 13:17:07 -04:00
|
|
|
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
|
|
|
|
|
2018-07-09 15:25:14 -04:00
|
|
|
# Update engine
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
update_engine \
|
|
|
|
update_engine_sideload \
|
|
|
|
update_verifier
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
|
|
update_engine_client
|
2018-12-24 06:25:51 -05:00
|
|
|
|
2017-01-18 18:23:14 -05:00
|
|
|
# USB
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-03-24 12:03:02 -04:00
|
|
|
android.hardware.usb@1.3-service-qti
|
2017-01-18 18:23:14 -05:00
|
|
|
|
2022-06-12 13:17:07 -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
|
|
|
|
|
2022-04-12 08:00:05 -04:00
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
vendor/qcom/opensource/usb/etc
|
|
|
|
|
2021-01-06 13:30:19 -05:00
|
|
|
# Vendor service manager
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vndservicemanager
|
|
|
|
|
2021-01-04 16:32:46 -05:00
|
|
|
# Vendor libstdc++
|
|
|
|
PRODUCT_PACKAGES += \
|
2023-10-21 04:07:10 -04:00
|
|
|
libstdc++_vendor
|
2021-01-04 16:32:46 -05:00
|
|
|
|
2022-06-12 13:17:07 -04:00
|
|
|
# Verified Boot
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
|
|
|
|
|
2020-11-20 13:03:02 -05:00
|
|
|
# Vibrator
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-05-26 17:21:36 -04:00
|
|
|
vendor.qti.hardware.vibrator.service
|
2020-11-20 13:03:02 -05:00
|
|
|
|
2021-06-19 07:54:58 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
|
|
|
|
|
2022-09-13 05:45:44 -04:00
|
|
|
# VNDK
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.common-V1-ndk_platform.vendor
|
|
|
|
|
2022-06-12 13:17:07 -04:00
|
|
|
# Wi-Fi
|
2020-11-20 08:45:26 -05:00
|
|
|
PRODUCT_PACKAGES += \
|
2023-03-27 18:33:41 -04:00
|
|
|
android.hardware.wifi-service \
|
2022-09-13 05:45:44 -04:00
|
|
|
android.hardware.wifi.hostapd@1.0.vendor \
|
2021-01-04 16:32:46 -05:00
|
|
|
hostapd \
|
|
|
|
libwpa_client \
|
|
|
|
libwifi-hal-ctrl \
|
|
|
|
libwifi-hal-qcom \
|
|
|
|
wpa_supplicant \
|
|
|
|
wpa_supplicant.conf
|
2020-11-20 08:45:26 -05:00
|
|
|
|
2022-06-12 13:17:07 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
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
|
|
|
|
|
|
|
|
# Wi-Fi Display
|
2018-12-24 06:25:51 -05:00
|
|
|
PRODUCT_PACKAGES += \
|
2018-12-21 18:21:46 -05:00
|
|
|
libnl \
|
2019-02-21 13:27:02 -05:00
|
|
|
libwfdaac_vendor
|
2018-12-24 06:25:51 -05:00
|
|
|
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
|
|
WfdCommon
|
2019-07-25 13:01:23 -04:00
|
|
|
|
2020-06-22 04:35:37 -04:00
|
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|