2022-02-15 14:13:18 +01:00
|
|
|
#
|
|
|
|
# Copyright (C) 2022 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.
|
|
|
|
#
|
|
|
|
|
2022-02-15 19:25:01 +01:00
|
|
|
PRODUCT_BUILD_SUPER_PARTITION := false
|
2022-02-15 19:24:28 +01:00
|
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
|
2022-02-18 12:59:02 +01:00
|
|
|
# Enable updating of APEXes
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
|
2022-02-18 12:58:40 +01:00
|
|
|
# Installs gsi keys into ramdisk, to boot a GSI with verified boot.
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
|
|
|
|
|
2022-02-19 00:23:56 +01:00
|
|
|
# Overlays
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
|
|
$(LOCAL_PATH)/overlay-lineage
|
|
|
|
|
|
|
|
PRODUCT_ENFORCE_RRO_TARGETS := *
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-03-19 21:28:33 +08:00
|
|
|
FrameworksResCommon_Sys \
|
|
|
|
CarrierConfigResCommon_Sys \
|
|
|
|
CellBroadcastReceiverResCommon_Sys \
|
|
|
|
SystemUIResCommon_Sys \
|
|
|
|
TelecommResCommon_Sys \
|
|
|
|
TelephonyResCommon_Sys \
|
|
|
|
WifiResCommon_Sys \
|
2022-02-19 00:23:56 +01:00
|
|
|
FrameworksResTarget \
|
|
|
|
WifiResTarget
|
|
|
|
|
2022-02-15 14:13:18 +01: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
|
|
|
|
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_vendor=true \
|
|
|
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
|
|
|
FILESYSTEM_TYPE_vendor=ext4 \
|
|
|
|
POSTINSTALL_OPTIONAL_vendor=true
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
checkpoint_gc \
|
2022-02-15 18:33:05 +01:00
|
|
|
otapreopt_script
|
|
|
|
|
2022-02-18 17:24:41 +01:00
|
|
|
# Additional native libraries
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
|
|
|
|
$(LOCAL_PATH)/configs/public.libraries-qti.txt:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/public.libraries-qti.txt
|
|
|
|
|
2022-02-15 18:33:05 +01:00
|
|
|
# Boot control
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.boot@1.1-impl-qti \
|
|
|
|
android.hardware.boot@1.1-impl-qti.recovery \
|
|
|
|
android.hardware.boot@1.1-service \
|
|
|
|
bootctrl.kona \
|
|
|
|
bootctrl.kona.recovery
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
|
|
bootctl
|
2022-02-15 19:08:04 +01:00
|
|
|
|
2022-02-15 22:28:31 +01:00
|
|
|
# Atrace
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.atrace@1.0-service
|
|
|
|
|
2022-02-15 19:08:04 +01:00
|
|
|
# Audio
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.audio@6.0-impl \
|
|
|
|
android.hardware.audio.effect@6.0-impl \
|
|
|
|
android.hardware.audio.service \
|
|
|
|
android.hardware.bluetooth.audio@2.0-impl \
|
|
|
|
android.hardware.soundtrigger@2.3-impl \
|
|
|
|
audio.a2dp.default \
|
|
|
|
audio.bluetooth.default \
|
|
|
|
audio.primary.kona \
|
|
|
|
audio.r_submix.default \
|
|
|
|
audio.usb.default \
|
|
|
|
libaudiopreprocessing \
|
|
|
|
libbundlewrapper \
|
|
|
|
libdownmix \
|
|
|
|
libdynproc \
|
|
|
|
libeffectproxy \
|
|
|
|
libldnhncr \
|
|
|
|
libqcomvisualizer \
|
|
|
|
libqcomvoiceprocessing \
|
2022-03-16 17:05:56 +08:00
|
|
|
libqcreverb \
|
2022-02-15 19:08:04 +01:00
|
|
|
libreverbwrapper \
|
|
|
|
libvisualizer
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
|
|
|
$(LOCAL_PATH)/audio/audio_ext_spkr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_ext_spkr.conf \
|
|
|
|
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
|
|
|
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
|
2022-02-21 13:59:59 +01:00
|
|
|
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml
|
2022-02-15 19:08:04 +01:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
2022-02-21 13:59:59 +01:00
|
|
|
hardware/qcom-caf/sm8250/audio/configs/common/bluetooth_qti_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_audio_policy_configuration.xml \
|
|
|
|
hardware/qcom-caf/sm8250/audio/configs/common/bluetooth_qti_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_hearing_aid_audio_policy_configuration.xml
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
|
|
|
|
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
|
2022-02-15 19:08:04 +01:00
|
|
|
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
|
2022-02-15 19:21:57 +01:00
|
|
|
|
2022-02-18 21:45:52 +01:00
|
|
|
# Authsecret
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.authsecret@1.0.vendor
|
|
|
|
|
2022-02-15 19:21:57 +01:00
|
|
|
# Bluetooth
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-02-17 23:36:56 +01:00
|
|
|
android.hardware.bluetooth@1.0.vendor \
|
2022-02-15 19:21:57 +01:00
|
|
|
vendor.qti.hardware.bluetooth_audio@2.1.vendor \
|
2022-02-17 12:14:54 +01:00
|
|
|
vendor.qti.hardware.btconfigstore@1.0.vendor \
|
2022-02-15 19:21:57 +01:00
|
|
|
vendor.qti.hardware.btconfigstore@2.0.vendor
|
|
|
|
|
2022-02-15 22:09:22 +01:00
|
|
|
# Camera
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.camera.provider@2.4-impl \
|
|
|
|
android.hardware.camera.provider@2.4-service_64 \
|
2022-03-16 17:05:56 +08:00
|
|
|
libgui_vendor \
|
2022-02-15 22:09:22 +01:00
|
|
|
vendor.qti.hardware.camera.postproc@1.0.vendor
|
|
|
|
|
2022-02-21 13:59:59 +01:00
|
|
|
# Component overrides
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \
|
|
|
|
$(LOCAL_PATH)/configs/component-overrides_qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/component-overrides.xml
|
|
|
|
|
2022-02-15 19:52:43 +01:00
|
|
|
# Display
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
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 \
|
|
|
|
gralloc.kona \
|
|
|
|
libdisplayconfig.qti \
|
2022-03-23 17:50:52 +01:00
|
|
|
libdisplayconfig.system.qti \
|
2022-02-15 19:52:43 +01:00
|
|
|
libqdMetaData \
|
2022-03-23 17:50:52 +01:00
|
|
|
libqdMetaData.system \
|
2022-02-15 19:52:43 +01:00
|
|
|
libsdmcore \
|
|
|
|
libsdmutils \
|
|
|
|
libtinyxml \
|
|
|
|
libvulkan \
|
|
|
|
memtrack.kona \
|
|
|
|
vendor.display.config@1.9 \
|
|
|
|
vendor.display.config@1.9.vendor \
|
|
|
|
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.0.vendor \
|
|
|
|
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
|
|
|
|
|
2022-02-15 22:23:14 +01:00
|
|
|
# DRM
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-02-17 23:36:56 +01:00
|
|
|
android.hardware.drm@1.4.vendor \
|
2022-02-15 22:23:14 +01:00
|
|
|
android.hardware.drm@1.4-service.clearkey
|
|
|
|
|
2022-02-15 22:11:59 +01:00
|
|
|
# fastbootd
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
fastbootd
|
|
|
|
|
2022-02-17 23:36:56 +01:00
|
|
|
# Fingerprint
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-02-19 00:16:41 +01:00
|
|
|
android.hardware.biometrics.fingerprint@2.1.vendor
|
2022-02-17 23:36:56 +01:00
|
|
|
|
|
|
|
# Gatekeeper
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.gatekeeper@1.0.vendor
|
|
|
|
|
2022-02-16 21:39:30 +01:00
|
|
|
# GPS
|
2022-02-17 23:36:56 +01:00
|
|
|
PRODUCT_PACKAGES += \
|
2022-03-23 21:53:38 +01:00
|
|
|
android.hardware.gnss@2.1-impl-qti \
|
|
|
|
android.hardware.gnss@2.1-service-qti \
|
|
|
|
gnss@2.0-base.policy \
|
|
|
|
gnss@2.0-xtra-daemon.policy \
|
|
|
|
gnss@2.0-xtwifi-client.policy \
|
|
|
|
gnss@2.0-xtwifi-inet-agent.policy \
|
|
|
|
libbatching \
|
|
|
|
libgeofencing \
|
|
|
|
libgnss \
|
|
|
|
libgnsspps \
|
|
|
|
libsynergy_loc_api
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
apdr.conf \
|
|
|
|
flp.conf \
|
|
|
|
gnss_antenna_info.conf \
|
|
|
|
gps.conf \
|
|
|
|
izat.conf \
|
|
|
|
lowi.conf \
|
|
|
|
sap.conf \
|
|
|
|
xtwifi.conf
|
2022-02-16 21:39:30 +01:00
|
|
|
|
2022-02-15 22:30:28 +01:00
|
|
|
# Health
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-02-19 14:40:01 +01:00
|
|
|
android.hardware.health@2.1-impl \
|
|
|
|
android.hardware.health@2.1-impl.recovery \
|
2022-02-15 22:30:28 +01:00
|
|
|
android.hardware.health@2.1-service
|
|
|
|
|
2022-02-17 22:53:00 +01:00
|
|
|
# HIDL
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hidl.base@1.0 \
|
|
|
|
android.hidl.base@1.0_system \
|
|
|
|
libhidltransport \
|
|
|
|
libhidltransport.vendor \
|
|
|
|
libhwbinder \
|
|
|
|
libhwbinder.vendor
|
|
|
|
|
2022-02-17 10:25:08 +01:00
|
|
|
# Init
|
2022-02-17 19:21:31 +01:00
|
|
|
PRODUCT_COPY_FILES += \
|
2022-02-18 14:55:20 +01:00
|
|
|
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom
|
2022-02-17 19:21:31 +01:00
|
|
|
|
2022-02-17 10:25:08 +01:00
|
|
|
PRODUCT_COPY_FILES += \
|
2022-02-17 13:22:22 +01:00
|
|
|
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom \
|
2022-02-17 12:42:53 +01:00
|
|
|
$(LOCAL_PATH)/rootdir/etc/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc
|
2022-02-17 10:25:08 +01:00
|
|
|
|
2022-02-17 12:42:53 +01:00
|
|
|
$(foreach f,$(wildcard $(LOCAL_PATH)/rootdir/etc/init/hw/*.rc),\
|
2022-02-17 10:25:08 +01:00
|
|
|
$(eval PRODUCT_COPY_FILES += $(f):$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/$(notdir $f)))
|
2022-02-17 12:42:53 +01:00
|
|
|
$(foreach f,$(wildcard $(LOCAL_PATH)/rootdir/etc/init/*.rc),\
|
2022-02-17 10:25:08 +01:00
|
|
|
$(eval PRODUCT_COPY_FILES += $(f):$(TARGET_COPY_OUT_VENDOR)/etc/init/$(notdir $f)))
|
2022-02-17 12:42:53 +01:00
|
|
|
$(foreach f,$(wildcard $(LOCAL_PATH)/rootdir/bin/*.sh),\
|
2022-02-17 10:25:08 +01:00
|
|
|
$(eval PRODUCT_COPY_FILES += $(f):$(TARGET_COPY_OUT_VENDOR)/bin/$(notdir $f)))
|
|
|
|
|
2022-02-15 22:32:24 +01:00
|
|
|
# IPACM
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
ipacm \
|
|
|
|
IPACM_cfg.xml \
|
|
|
|
libipanat \
|
|
|
|
liboffloadhal
|
|
|
|
|
2022-02-18 17:22:16 +01:00
|
|
|
# IPC router config
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config
|
|
|
|
|
2022-02-17 23:36:56 +01:00
|
|
|
# Keymaster
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.keymaster@4.1.vendor
|
|
|
|
|
2022-02-17 11:26:56 +01:00
|
|
|
# Lights
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.lights-service.motokona
|
|
|
|
|
2022-03-06 20:44:40 +01:00
|
|
|
# LiveDisplay
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-03-06 23:02:20 +01:00
|
|
|
vendor.lineage.livedisplay@2.1-service.motorola_kona
|
2022-03-06 20:44:40 +01:00
|
|
|
|
2022-02-15 19:22:18 +01:00
|
|
|
# Media
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
|
|
|
$(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
|
|
|
|
$(LOCAL_PATH)/media/media_codecs_kona.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_kona.xml \
|
|
|
|
$(LOCAL_PATH)/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
|
|
|
|
$(LOCAL_PATH)/media/media_codecs_performance_kona.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_kona.xml \
|
|
|
|
$(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
|
|
|
|
$(LOCAL_PATH)/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
|
2022-02-15 19:21:57 +01:00
|
|
|
|
2022-02-15 19:22:18 +01: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_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
|
2022-02-15 19:47:17 +01:00
|
|
|
|
2022-02-15 22:33:32 +01:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libavservices_minijail \
|
2022-02-19 00:16:41 +01:00
|
|
|
libavservices_minijail.vendor \
|
|
|
|
libcodec2_hidl@1.0.vendor
|
2022-02-15 22:33:32 +01:00
|
|
|
|
2022-02-20 15:23:31 +01:00
|
|
|
# MotoActions
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
MotoActions
|
|
|
|
|
2022-02-17 23:36:56 +01:00
|
|
|
# Neural Networks
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.neuralnetworks@1.3.vendor
|
|
|
|
|
2022-02-15 22:32:24 +01:00
|
|
|
# Net
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
netutils-wrapper-1.0
|
|
|
|
|
2022-02-15 22:33:32 +01:00
|
|
|
# OMX
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-03-23 13:46:34 +01:00
|
|
|
libc2dcolorconvert \
|
|
|
|
libcodec2_hidl@1.0.vendor \
|
|
|
|
libcodec2_vndk.vendor \
|
2022-02-15 22:33:32 +01:00
|
|
|
libOmxAacEnc \
|
|
|
|
libOmxAmrEnc \
|
|
|
|
libOmxCore \
|
|
|
|
libOmxEvrcEnc \
|
|
|
|
libOmxG711Enc \
|
|
|
|
libOmxQcelp13Enc \
|
|
|
|
libOmxVdec \
|
|
|
|
libOmxVenc \
|
2022-03-23 13:46:34 +01:00
|
|
|
libOmxVidcCommon \
|
2022-02-15 22:33:32 +01:00
|
|
|
libstagefrighthw
|
|
|
|
|
2022-02-17 23:36:56 +01:00
|
|
|
# Perf
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.qti.hardware.perf@2.2.vendor
|
|
|
|
|
2022-02-15 19:47:17 +01:00
|
|
|
# Permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.biometrics.face.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.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
|
|
|
|
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 \
|
|
|
|
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.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
|
2022-02-17 12:14:54 +01:00
|
|
|
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
|
2022-02-15 19:47:17 +01:00
|
|
|
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.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.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.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.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.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.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 \
|
2021-06-16 21:29:00 +08: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 \
|
2022-02-15 19:47:17 +01:00
|
|
|
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.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.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \
|
2022-02-17 13:22:22 +01:00
|
|
|
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
2022-02-15 22:36:09 +01:00
|
|
|
|
2022-02-19 13:36:37 +01:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/product_privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/hotword-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/hotword-hiddenapi-package-whitelist.xml
|
|
|
|
|
2022-02-15 22:36:09 +01:00
|
|
|
# Power
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.power-service-qti
|
2022-02-15 22:37:25 +01:00
|
|
|
|
2022-02-16 23:30:51 +01:00
|
|
|
# Properties
|
|
|
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \
|
|
|
|
ro.surface_flinger.has_HDR_display=true \
|
|
|
|
ro.surface_flinger.has_wide_color_display=true \
|
|
|
|
ro.surface_flinger.protected_contents=true \
|
|
|
|
ro.surface_flinger.use_color_management=true \
|
|
|
|
ro.surface_flinger.wcg_composition_dataspace=143261696
|
|
|
|
|
2022-02-15 22:37:25 +01:00
|
|
|
# QMI
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libjson \
|
|
|
|
libqti_vndfwk_detect \
|
|
|
|
libqti_vndfwk_detect.vendor \
|
|
|
|
libvndfwk_detect_jni.qti \
|
|
|
|
libvndfwk_detect_jni.qti.vendor
|
2022-02-15 22:43:18 +01:00
|
|
|
|
2022-02-17 23:44:00 +01:00
|
|
|
# Recovery
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/recovery/root/init.recovery.qcom.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.qcom.rc
|
|
|
|
|
2022-02-18 17:31:42 +01:00
|
|
|
# RenderScript
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.renderscript@1.0-impl
|
|
|
|
|
2022-02-15 22:43:18 +01:00
|
|
|
# RIL
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-02-17 23:36:56 +01:00
|
|
|
android.hardware.radio@1.5.vendor \
|
|
|
|
android.hardware.radio.config@1.2.vendor \
|
|
|
|
android.hardware.radio.deprecated@1.0.vendor \
|
|
|
|
android.system.net.netd@1.1.vendor \
|
2022-02-15 22:43:18 +01:00
|
|
|
libprotobuf-cpp-full \
|
|
|
|
librmnetctl \
|
|
|
|
libxml2
|
|
|
|
|
2022-02-20 01:40:42 +01:00
|
|
|
# Seccomp policy
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy
|
|
|
|
|
2022-02-15 22:44:53 +01:00
|
|
|
# Sensors
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.sensors@2.0-service.multihal \
|
|
|
|
libsensorndkbridge
|
2022-02-15 22:50:56 +01:00
|
|
|
|
2022-02-17 11:28:05 +01:00
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
$(LOCAL_PATH)
|
|
|
|
|
2022-02-15 22:50:56 +01: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
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/telephony_system-ext_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/telephony_system-ext_privapp-permissions-qti.xml
|
|
|
|
|
2022-02-19 18:39:30 +01:00
|
|
|
# Thermal
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.thermal@2.0 \
|
|
|
|
android.hardware.thermal@2.0.vendor
|
|
|
|
|
2022-02-15 22:52:01 +01:00
|
|
|
# Update engine
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
update_engine \
|
|
|
|
update_engine_sideload \
|
|
|
|
update_verifier
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
|
|
update_engine_client
|
2022-02-15 22:53:03 +01:00
|
|
|
|
|
|
|
# USB
|
|
|
|
PRODUCT_PACKAGES += \
|
2021-03-25 00:03:02 +08:00
|
|
|
android.hardware.usb@1.3-service-qti
|
2022-02-15 22:54:14 +01:00
|
|
|
|
|
|
|
# Vendor service manager
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vndservicemanager
|
|
|
|
|
2022-02-15 22:57:45 +01:00
|
|
|
# Vibrator
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.qti.hardware.vibrator.service
|
2022-02-15 22:54:14 +01:00
|
|
|
|
2022-02-15 22:57:45 +01:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
|
2022-02-15 23:14:13 +01:00
|
|
|
|
2022-03-23 13:47:08 +01:00
|
|
|
# VNDK
|
|
|
|
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := strict
|
|
|
|
|
2022-02-15 23:14:13 +01:00
|
|
|
# WiFi
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.wifi@1.0-service \
|
|
|
|
hostapd \
|
2022-02-19 15:14:24 +01:00
|
|
|
libqsap_sdk \
|
2022-02-15 23:14:13 +01:00
|
|
|
libwpa_client \
|
|
|
|
libwifi-hal-ctrl \
|
|
|
|
libwifi-hal-qcom \
|
|
|
|
vendor.qti.hardware.wifi.hostapd@1.0.vendor \
|
|
|
|
vendor.qti.hardware.wifi.hostapd@1.1.vendor \
|
|
|
|
vendor.qti.hardware.wifi.hostapd@1.2.vendor \
|
|
|
|
vendor.qti.hardware.wifi.supplicant@2.0.vendor \
|
|
|
|
vendor.qti.hardware.wifi.supplicant@2.1.vendor \
|
|
|
|
vendor.qti.hardware.wifi.supplicant@2.2.vendor \
|
|
|
|
wpa_supplicant \
|
|
|
|
wpa_supplicant.conf
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/wifi/qca6390/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/qca6390/WCNSS_qcom_cfg.ini \
|
|
|
|
$(LOCAL_PATH)/wifi/qca6490/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/qca6490/WCNSS_qcom_cfg.ini \
|
|
|
|
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
|
|
|
$(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
|
2022-02-17 12:37:54 +01:00
|
|
|
|
|
|
|
# Inherit from vendor blobs
|
|
|
|
$(call inherit-product, vendor/motorola/sm8250-common/sm8250-common-vendor.mk)
|