2019-06-18 23:36:53 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2018-2019 The LineageOS Project
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2019-09-12 21:47:56 +00:00
|
|
|
# Enable updating of APEXes
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
# Get non-open-source specific aspects
|
2019-06-24 04:12:35 +00:00
|
|
|
$(call inherit-product-if-exists, vendor/oneplus/sm8150-common/sm8150-common-vendor.mk)
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# Additional native libraries
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
|
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
# Overlays
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
2019-07-01 11:50:10 +00:00
|
|
|
$(LOCAL_PATH)/overlay \
|
2019-11-22 21:42:59 +00:00
|
|
|
$(LOCAL_PATH)/overlay-aosip
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2018-11-07 16:10:05 +00:00
|
|
|
PRODUCT_ENFORCE_RRO_TARGETS := *
|
2019-11-22 21:42:59 +00:00
|
|
|
|
2019-11-22 14:35:26 +00:00
|
|
|
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \
|
2019-11-22 21:42:59 +00:00
|
|
|
$(LOCAL_PATH)/overlay-aosip/packages/apps/Snap
|
2017-04-05 02:23:26 +00:00
|
|
|
|
2019-08-05 21:37:19 +00:00
|
|
|
# A/B
|
2019-07-03 22:47:19 +00:00
|
|
|
AB_OTA_UPDATER := true
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
AB_OTA_PARTITIONS += \
|
|
|
|
boot \
|
|
|
|
dtbo \
|
2020-01-30 19:31:42 +00:00
|
|
|
odm \
|
2019-07-03 22:47:19 +00:00
|
|
|
system \
|
|
|
|
vendor \
|
2019-08-12 03:32:27 +00:00
|
|
|
vbmeta
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_system=true \
|
|
|
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
|
|
|
FILESYSTEM_TYPE_system=ext4 \
|
|
|
|
POSTINSTALL_OPTIONAL_system=true
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-03 22:47:19 +00:00
|
|
|
otapreopt_script
|
2019-06-24 13:32:23 +00:00
|
|
|
|
|
|
|
# Permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
|
2019-07-03 22:47:19 +00:00
|
|
|
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
|
2019-07-01 11:50:10 +00:00
|
|
|
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 \
|
2019-07-03 22:47:19 +00:00
|
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
|
2019-07-01 11:50:10 +00:00
|
|
|
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
|
2019-07-06 23:08:46 +00: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 \
|
2019-07-01 11:50:10 +00:00
|
|
|
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.ambient_temperature.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.ambient_temperature.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.sensor.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.relative_humidity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.relative_humidity.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 \
|
2019-09-21 12:39:23 +00:00
|
|
|
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
|
2019-07-01 11:50:10 +00:00
|
|
|
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 \
|
2019-07-07 16:49:18 +00:00
|
|
|
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
|
2019-07-01 11:50:10 +00:00
|
|
|
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 \
|
2019-11-22 21:49:18 +00:00
|
|
|
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# ANT+
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
AntHalService
|
|
|
|
|
2019-09-28 10:15:42 +00:00
|
|
|
# Atrace
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.atrace@1.0-service
|
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# Audio
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.audio@2.0-service \
|
2019-09-28 10:15:42 +00:00
|
|
|
android.hardware.audio@5.0-impl \
|
|
|
|
android.hardware.audio.effect@5.0-impl \
|
|
|
|
android.hardware.audio.common@2.0-util \
|
|
|
|
android.hardware.audio.common@5.0-util \
|
|
|
|
android.hardware.soundtrigger@2.1-impl \
|
|
|
|
android.hardware.bluetooth.audio@2.0-impl \
|
2019-07-03 22:47:19 +00:00
|
|
|
audio.a2dp.default \
|
2019-10-22 21:35:42 +00:00
|
|
|
audio.bluetooth.default \
|
2019-07-03 22:47:19 +00:00
|
|
|
audio.r_submix.default \
|
|
|
|
audio.usb.default \
|
|
|
|
libaudio-resampler \
|
2019-07-21 12:53:16 +00:00
|
|
|
libaudioroute \
|
2019-10-22 21:35:42 +00:00
|
|
|
libhdmiedid \
|
|
|
|
libhfp \
|
2019-07-21 12:53:16 +00:00
|
|
|
libqcompostprocbundle \
|
|
|
|
libqcomvisualizer \
|
|
|
|
libqcomvoiceprocessing \
|
|
|
|
libvolumelistener \
|
2019-09-28 10:15:42 +00:00
|
|
|
tinymix \
|
|
|
|
libtinycompress \
|
|
|
|
libtinycompress.vendor
|
2019-07-03 22:47:19 +00:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
|
|
|
$(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
|
|
|
|
$(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
|
|
|
|
$(LOCAL_PATH)/audio/audio_platform_info_oppo.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_oppo.xml \
|
|
|
|
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
|
|
|
$(LOCAL_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
|
|
|
|
$(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \
|
|
|
|
$(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \
|
|
|
|
$(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \
|
|
|
|
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
|
2019-07-07 12:19:31 +00:00
|
|
|
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \
|
|
|
|
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340_qrd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340_qrd.xml \
|
2019-07-03 22:47:19 +00:00
|
|
|
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
2020-01-29 20:15:30 +00:00
|
|
|
$(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
|
|
|
|
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/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
|
|
|
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
2020-02-12 17:51:17 +00:00
|
|
|
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml
|
2019-07-03 22:47:19 +00:00
|
|
|
|
|
|
|
# Boot control
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.boot@1.0-impl:64 \
|
|
|
|
android.hardware.boot@1.0-service \
|
2018-08-22 04:22:37 +00:00
|
|
|
android.hardware.boot@1.0-impl.recovery \
|
2019-07-03 22:47:19 +00:00
|
|
|
bootctrl.msmnile \
|
2018-08-22 04:22:37 +00:00
|
|
|
bootctrl.msmnile.recovery
|
2019-07-03 22:47:19 +00:00
|
|
|
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
|
|
bootctl
|
|
|
|
|
2019-06-22 02:01:33 +00:00
|
|
|
# Bluetooth
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-10-22 21:35:42 +00:00
|
|
|
liba2dpoffload \
|
2019-09-28 10:15:42 +00:00
|
|
|
libbthost_if \
|
|
|
|
vendor.qti.hardware.bluetooth_audio@2.0.vendor
|
2019-06-22 02:01:33 +00:00
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
# Camera
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.frameworks.displayservice@1.0 \
|
|
|
|
android.hardware.camera.provider@2.4-impl \
|
|
|
|
android.hardware.camera.provider@2.4-service_64 \
|
|
|
|
libxml2 \
|
2019-07-21 12:18:53 +00:00
|
|
|
Snap \
|
2019-09-28 10:15:42 +00:00
|
|
|
vendor.oneplus.camera.CameraHIDL@1.0.vendor \
|
|
|
|
vendor.qti.hardware.camera.device@1.0.vendor
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-06-24 13:32:23 +00:00
|
|
|
# CNE
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
cneapiclient \
|
|
|
|
com.quicinc.cne \
|
|
|
|
services-ext
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
# Common init scripts
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-03 22:47:19 +00:00
|
|
|
coredump.sh \
|
|
|
|
ftm_power_config.sh \
|
2019-07-01 11:50:10 +00:00
|
|
|
init.class_main.sh \
|
|
|
|
init.crda.sh \
|
|
|
|
init.mdm.sh \
|
2019-07-03 22:47:19 +00:00
|
|
|
init.msm.usb.configfs.rc \
|
|
|
|
init.oem.debug.rc \
|
|
|
|
init.oem.engineermode.sh \
|
|
|
|
init.oem.rc \
|
2019-07-01 11:50:10 +00:00
|
|
|
init.qcom.class_core.sh \
|
|
|
|
init.qcom.coex.sh \
|
|
|
|
init.qcom.crashdata.sh \
|
|
|
|
init.qcom.early_boot.sh \
|
|
|
|
init.qcom.efs.sync.sh \
|
2019-07-03 22:47:19 +00:00
|
|
|
init.qcom.factory.rc \
|
2019-07-01 11:50:10 +00:00
|
|
|
init.qcom.post_boot.sh \
|
2019-07-03 22:47:19 +00:00
|
|
|
init.qcom.rc \
|
2019-07-01 11:50:10 +00:00
|
|
|
init.qcom.sdio.sh \
|
|
|
|
init.qcom.sensors.sh \
|
|
|
|
init.qcom.sh \
|
2019-07-03 22:47:19 +00:00
|
|
|
init.qcom.usb.rc \
|
2019-07-01 11:50:10 +00:00
|
|
|
init.qcom.usb.sh \
|
|
|
|
init.qti.fm.sh \
|
|
|
|
init.qti.ims.sh \
|
2018-07-02 12:15:39 +00:00
|
|
|
init.recovery.qcom.rc \
|
2019-07-01 11:50:10 +00:00
|
|
|
init.target.rc \
|
|
|
|
kmemleak.sh \
|
2019-07-03 22:47:19 +00:00
|
|
|
ueventd.rc \
|
2019-07-01 11:50:10 +00:00
|
|
|
vendor.oem_ftm.rc \
|
|
|
|
vendor.oem_ftm_svc_disable.rc
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-09-28 10:15:42 +00:00
|
|
|
# Cryptfshw
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.qti.hardware.cryptfshw@1.0.vendor
|
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
# Display
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-09-28 10:15:42 +00:00
|
|
|
android.hardware.graphics.composer@2.3-service \
|
2019-07-29 17:34:57 +00:00
|
|
|
android.hardware.graphics.mapper@2.0-impl-qti-display \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.hardware.memtrack@1.0-impl \
|
|
|
|
android.hardware.memtrack@1.0-service \
|
2019-07-29 17:34:57 +00:00
|
|
|
gralloc.msmnile \
|
|
|
|
hwcomposer.msmnile \
|
2019-07-01 11:50:10 +00:00
|
|
|
libdisplayconfig \
|
2019-10-22 21:35:42 +00:00
|
|
|
libdisplayconfig.vendor \
|
2019-11-04 17:44:48 +00:00
|
|
|
libqdMetaData \
|
2019-07-01 11:50:10 +00:00
|
|
|
libqdMetaData.system \
|
|
|
|
libtinyxml \
|
|
|
|
libvulkan \
|
2019-07-29 17:34:57 +00:00
|
|
|
memtrack.msmnile \
|
2019-07-21 11:13:53 +00:00
|
|
|
vendor.display.config@1.7 \
|
2019-10-22 21:35:42 +00:00
|
|
|
vendor.qti.hardware.display.allocator-service \
|
2019-09-28 10:15:42 +00:00
|
|
|
vendor.qti.hardware.display.allocator@1.0-service \
|
|
|
|
vendor.qti.hardware.display.allocator@1.0.vendor \
|
|
|
|
vendor.qti.hardware.display.mapper@1.0.vendor
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2018-07-13 12:38:39 +00:00
|
|
|
# Doze
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
OnePlusDoze
|
|
|
|
|
2019-06-24 13:32:23 +00:00
|
|
|
# DRM
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.hardware.drm@1.0-impl \
|
|
|
|
android.hardware.drm@1.0-service \
|
2018-11-05 23:04:17 +00:00
|
|
|
android.hardware.drm@1.2-service.clearkey
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
# Fingerprint
|
2019-06-19 04:12:40 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.hardware.biometrics.fingerprint@2.1-service.oneplus_msmnile \
|
2019-07-21 12:18:53 +00:00
|
|
|
vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.oneplus_msmnile \
|
2020-01-31 15:54:58 +00:00
|
|
|
vendor.oneplus.fingerprint.extension@1.0.vendor \
|
|
|
|
vendor.oneplus.hardware.display@1.0.vendor
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# For config.fs
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
fs_config_files
|
|
|
|
|
2019-06-24 13:32:23 +00:00
|
|
|
# GPS
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
$(LOCAL_PATH)/configs/gps/apdr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/apdr.conf \
|
|
|
|
$(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
|
|
|
|
$(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
|
|
|
|
$(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
|
|
|
|
$(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
|
|
|
|
$(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
|
|
|
|
$(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf
|
2019-06-24 13:32:23 +00:00
|
|
|
|
|
|
|
# Health
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.hardware.health@2.0-service
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
# HIDL
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.hidl.base@1.0 \
|
|
|
|
android.hidl.base@1.0_system \
|
|
|
|
android.hidl.manager@1.0 \
|
|
|
|
android.hidl.manager@1.0_system
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2018-07-15 19:31:07 +00:00
|
|
|
# HotwordEnrollement app permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-09-07 18:41:55 +00:00
|
|
|
$(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-hotword.xml
|
2018-07-15 19:31:07 +00:00
|
|
|
|
2019-06-18 23:57:06 +00:00
|
|
|
# Input
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-07-06 23:17:04 +00:00
|
|
|
$(LOCAL_PATH)/keylayout/fpc1020.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/fpc1020.kl \
|
|
|
|
$(LOCAL_PATH)/keylayout/gf_input.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/gf_input.kl \
|
|
|
|
$(LOCAL_PATH)/keylayout/gpio-keys.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/gpio-keys.kl
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-06-24 13:32:23 +00:00
|
|
|
# IPACM
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
ipacm \
|
|
|
|
IPACM_cfg.xml \
|
|
|
|
libipanat \
|
|
|
|
liboffloadhal
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# IPC router config
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config
|
|
|
|
|
2019-06-24 13:32:23 +00:00
|
|
|
# IRQ
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
$(LOCAL_PATH)/configs/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# IPv6
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
ethertypes \
|
|
|
|
libebtc
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
# Lights
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.hardware.light@2.0-service.oneplus_msmnile
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-06-18 23:47:47 +00:00
|
|
|
# Media
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
$(LOCAL_PATH)/configs/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
|
|
|
|
$(LOCAL_PATH)/configs/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
|
2019-07-03 22:47:19 +00:00
|
|
|
$(LOCAL_PATH)/configs/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-07-01 11:50:10 +00: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_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
|
2019-07-07 12:17:18 +00: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
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-09-28 10:15:42 +00:00
|
|
|
# Misc
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libchrome \
|
|
|
|
libchrome.vendor
|
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
# Net
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
netutils-wrapper-1.0
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# NFC
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.nfc@1.0:64 \
|
|
|
|
android.hardware.nfc@1.1:64 \
|
2019-09-27 10:07:41 +00:00
|
|
|
android.hardware.nfc@1.2:64 \
|
2019-07-03 22:47:19 +00:00
|
|
|
android.hardware.secure_element@1.0:64 \
|
2019-09-27 10:07:41 +00:00
|
|
|
android.hardware.secure_element@1.1:64 \
|
2019-07-03 22:47:19 +00:00
|
|
|
com.android.nfc_extras \
|
|
|
|
Tag \
|
|
|
|
vendor.nxp.nxpese@1.0:64 \
|
|
|
|
vendor.nxp.nxpnfc@1.0:64
|
|
|
|
|
2019-07-21 10:08:25 +00:00
|
|
|
# OMX
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libc2dcolorconvert \
|
2019-10-22 21:35:42 +00:00
|
|
|
libcodec2_hidl@1.0.vendor \
|
|
|
|
libcodec2_vndk.vendor \
|
2019-07-21 10:08:25 +00:00
|
|
|
libOmxAacEnc \
|
|
|
|
libOmxAmrEnc \
|
|
|
|
libOmxCore \
|
|
|
|
libOmxEvrcEnc \
|
|
|
|
libOmxG711Enc \
|
|
|
|
libOmxQcelp13Enc \
|
|
|
|
libOmxVdec \
|
|
|
|
libOmxVenc \
|
|
|
|
libOmxVidcCommon \
|
|
|
|
libstagefrighthw
|
|
|
|
|
2019-06-24 13:32:23 +00:00
|
|
|
# Power
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-10-11 08:12:06 +00:00
|
|
|
android.hardware.power@1.2-service-qti
|
2019-06-24 13:32:23 +00:00
|
|
|
|
|
|
|
# QMI
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-10-22 21:35:42 +00:00
|
|
|
libjson \
|
|
|
|
libqti_vndfwk_detect \
|
|
|
|
libqti_vndfwk_detect.vendor
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-06-18 23:36:53 +00:00
|
|
|
# RCS
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
rcs_service_aidl \
|
|
|
|
rcs_service_aidl.xml \
|
|
|
|
rcs_service_api \
|
|
|
|
rcs_service_api.xml
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# RIL
|
2019-06-18 23:36:53 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-03 22:47:19 +00:00
|
|
|
android.hardware.radio@1.2 \
|
|
|
|
android.hardware.radio.config@1.0 \
|
|
|
|
android.hardware.secure_element@1.0 \
|
|
|
|
libprotobuf-cpp-full \
|
|
|
|
librmnetctl \
|
|
|
|
libxml2
|
2019-06-18 23:36:53 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# Vendor libstdc++
|
2019-06-18 23:36:53 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-03 22:47:19 +00:00
|
|
|
libstdc++.vendor
|
2019-06-19 04:09:23 +00:00
|
|
|
|
2019-07-07 12:25:35 +00:00
|
|
|
# Seccomp policy
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
|
2019-09-28 10:15:42 +00:00
|
|
|
$(LOCAL_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy \
|
|
|
|
$(LOCAL_PATH)/seccomp/codec2.vendor.ext.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy
|
2019-07-07 12:25:35 +00:00
|
|
|
|
2019-06-19 23:04:14 +00:00
|
|
|
# Sensors
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.hardware.sensors@1.0-impl.oneplus_msmnile \
|
|
|
|
android.hardware.sensors@1.0-service.oneplus_msmnile \
|
|
|
|
libsensorndkbridge
|
2019-06-21 06:45:55 +00:00
|
|
|
|
2019-06-24 13:32:23 +00:00
|
|
|
PRODUCT_COPY_FILES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
$(LOCAL_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-09-28 10:15:42 +00:00
|
|
|
# Servicetracker
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.qti.hardware.servicetracker@1.0.vendor
|
|
|
|
|
2019-09-09 14:52:33 +00:00
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
$(LOCAL_PATH) \
|
|
|
|
device/oneplus/common
|
|
|
|
|
2016-10-11 11:16:47 +00:00
|
|
|
# Remove unwanted packages
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
RemovePackages
|
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# Telephony
|
2019-01-22 13:15:40 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
2019-09-21 12:41:18 +00:00
|
|
|
ims-ext-common \
|
|
|
|
ims_ext_common.xml \
|
|
|
|
qti-telephony-hidl-wrapper \
|
|
|
|
qti_telephony_hidl_wrapper.xml \
|
|
|
|
qti-telephony-utils \
|
|
|
|
qti_telephony_utils.xml \
|
2019-07-03 22:47:19 +00:00
|
|
|
telephony-ext
|
2019-01-22 13:15:40 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
PRODUCT_BOOT_JARS += \
|
|
|
|
telephony-ext
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-09-27 10:40:14 +00:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/privapp-permissions-ims.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-ims.xml
|
|
|
|
|
2019-06-24 13:32:23 +00:00
|
|
|
# TextClassifier
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
textclassifier.bundle1
|
2019-06-24 13:32:23 +00:00
|
|
|
|
|
|
|
# Thermal
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.hardware.thermal@1.0-impl \
|
|
|
|
android.hardware.thermal@1.0-service \
|
|
|
|
thermal.msmnile
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2019-07-03 22:47:19 +00:00
|
|
|
# Touch
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.lineage.touch@1.0-service.oneplus_msmnile
|
|
|
|
|
|
|
|
# tri-state key
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
KeyHandler \
|
|
|
|
tri-state-key_daemon
|
|
|
|
|
|
|
|
# Update engine
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
update_engine \
|
|
|
|
update_engine_sideload \
|
|
|
|
update_verifier
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
|
|
update_engine_client
|
|
|
|
|
2019-06-24 13:32:23 +00:00
|
|
|
# USB
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.hardware.usb@1.0-service \
|
2019-06-24 13:32:23 +00:00
|
|
|
|
|
|
|
# Wifi
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
android.hardware.wifi@1.0-service \
|
|
|
|
hostapd \
|
|
|
|
libwpa_client \
|
2019-09-28 10:15:42 +00:00
|
|
|
libwifi-hal-ctrl \
|
|
|
|
libwifi-hal-qcom \
|
2019-07-01 11:50:10 +00:00
|
|
|
vendor.qti.hardware.wifi.hostapd@1.0.vendor \
|
2019-09-28 10:15:42 +00:00
|
|
|
vendor.qti.hardware.wifi.hostapd@1.1.vendor \
|
2019-07-03 22:47:19 +00:00
|
|
|
vendor.qti.hardware.wifi.supplicant@2.0.vendor \
|
2019-09-28 10:15:42 +00:00
|
|
|
vendor.qti.hardware.wifi.supplicant@2.1.vendor \
|
2019-07-03 22:47:19 +00:00
|
|
|
wifi-mac-generator \
|
|
|
|
wpa_supplicant \
|
|
|
|
wpa_supplicant.conf
|
2019-06-24 13:32:23 +00:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-07-01 11:50:10 +00:00
|
|
|
$(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 \
|
|
|
|
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
|
2019-06-24 13:32:23 +00:00
|
|
|
|
2018-12-24 11:25:51 +00:00
|
|
|
# WiFi Display
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libnl
|
|
|
|
|
2019-11-04 17:44:48 +00:00
|
|
|
PRODUCT_BOOT_JARS += \
|
|
|
|
WfdCommon
|