merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2021 The LineageOS Project |
| 3 | # |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | # |
| 6 | |
| 7 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
merothh | 726fc3a | 2022-01-03 04:59:57 +0530 | [diff] [blame] | 8 | BOARD_BUILD_SUPER_IMAGE := true |
| 9 | BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true |
Roger Liao | 67b33f6 | 2020-04-06 23:38:49 +0800 | [diff] [blame] | 10 | PRODUCT_SHIPPING_API_LEVEL := 30 |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 11 | |
| 12 | # Enable virtual A/B OTA |
| 13 | $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk) |
| 14 | |
Luca Stefani | 82ac435 | 2019-09-12 23:47:56 +0200 | [diff] [blame] | 15 | # Enable updating of APEXes |
| 16 | $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) |
| 17 | |
Lokesh Gidra | 9fe4b8c | 2019-12-06 13:19:19 -0800 | [diff] [blame] | 18 | # Setup dalvik vm configs |
| 19 | $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) |
| 20 | |
merothh | acf1dfa | 2022-01-02 18:21:21 +0530 | [diff] [blame] | 21 | # Get non-open-source specific aspects |
| 22 | $(call inherit-product, vendor/fairphone/FP4/FP4-vendor.mk) |
| 23 | |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 24 | # Overlays |
| 25 | DEVICE_PACKAGE_OVERLAYS += \ |
merothh | c973b6f | 2022-01-03 05:05:17 +0530 | [diff] [blame] | 26 | $(LOCAL_PATH)/overlay \ |
| 27 | $(LOCAL_PATH)/overlay-lineage |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 28 | |
| 29 | PRODUCT_ENFORCE_RRO_TARGETS := * |
merothh | c973b6f | 2022-01-03 05:05:17 +0530 | [diff] [blame] | 30 | PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += $(LOCAL_PATH)/overlay/packages/apps/CarrierConfig |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 31 | |
merothh | 193efdd | 2022-01-03 04:43:57 +0530 | [diff] [blame] | 32 | # Permissions |
| 33 | PRODUCT_COPY_FILES += \ |
| 34 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 35 | frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \ |
| 36 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ |
| 37 | frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ |
| 38 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 39 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 40 | frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ |
| 41 | frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ |
| 42 | frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \ |
| 43 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ |
| 44 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/android.hardware.nfc.hcef.xml \ |
| 45 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ |
| 46 | frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \ |
| 47 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ |
| 48 | frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ |
| 49 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 50 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ |
| 51 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 52 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 53 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 54 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 55 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \ |
| 56 | frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \ |
| 57 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 58 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 59 | frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \ |
| 60 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 61 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ |
| 62 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ |
| 63 | frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \ |
| 64 | frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \ |
| 65 | frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \ |
| 66 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ |
| 67 | frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ |
| 68 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 69 | frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \ |
| 70 | frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \ |
| 71 | frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \ |
| 72 | frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \ |
| 73 | 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 \ |
| 74 | frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ |
| 75 | frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \ |
| 76 | frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml |
| 77 | |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 78 | # A/B |
| 79 | PRODUCT_PACKAGES += \ |
| 80 | android.hardware.boot@1.1-impl-qti \ |
| 81 | android.hardware.boot@1.1-impl-qti.recovery \ |
| 82 | android.hardware.boot@1.1-service |
| 83 | |
| 84 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 85 | RUN_POSTINSTALL_system=true \ |
| 86 | POSTINSTALL_PATH_system=system/bin/otapreopt_script \ |
| 87 | FILESYSTEM_TYPE_system=ext4 \ |
| 88 | POSTINSTALL_OPTIONAL_system=true |
| 89 | |
| 90 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 91 | RUN_POSTINSTALL_vendor=true \ |
| 92 | POSTINSTALL_PATH_vendor=bin/checkpoint_gc \ |
| 93 | FILESYSTEM_TYPE_vendor=ext4 \ |
| 94 | POSTINSTALL_OPTIONAL_vendor=true |
| 95 | |
| 96 | PRODUCT_PACKAGES += \ |
| 97 | checkpoint_gc \ |
| 98 | otapreopt_script |
| 99 | |
| 100 | PRODUCT_PACKAGES += \ |
| 101 | update_engine \ |
| 102 | update_engine_client \ |
| 103 | update_verifier \ |
| 104 | update_engine_sideload |
| 105 | |
Sebastiano Barezzi | f8bb2bd | 2021-02-10 21:58:07 +0100 | [diff] [blame] | 106 | # Atrace |
| 107 | PRODUCT_PACKAGES += \ |
| 108 | android.hardware.atrace@1.0-service |
| 109 | |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 110 | # Audio (HIDL) |
| 111 | PRODUCT_PACKAGES += \ |
| 112 | android.hardware.audio@6.0-impl \ |
| 113 | android.hardware.audio.effect@6.0-impl \ |
| 114 | android.hardware.audio.service \ |
| 115 | android.hardware.soundtrigger@2.3-impl |
| 116 | |
| 117 | # Audio (Hardware) |
| 118 | PRODUCT_PACKAGES += \ |
Rohit | 00be9f4 | 2023-03-20 16:00:09 +0530 | [diff] [blame] | 119 | audio_amplifier.lito \ |
Rohit | 7737da6 | 2023-03-17 14:44:12 +0530 | [diff] [blame] | 120 | audio.primary.lito \ |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 121 | audio.r_submix.default \ |
| 122 | audio.usb.default |
| 123 | |
| 124 | # Audio (Extensions) |
| 125 | PRODUCT_PACKAGES += \ |
| 126 | liba2dpoffload \ |
| 127 | libbatterylistener \ |
| 128 | libcomprcapture \ |
| 129 | libexthwplugin \ |
| 130 | libhdmiedid \ |
| 131 | libhfp \ |
| 132 | libsndmonitor \ |
| 133 | libspkrprot |
| 134 | |
| 135 | # Audio (SoundFX) |
| 136 | PRODUCT_PACKAGES += \ |
| 137 | libaudiopreprocessing \ |
| 138 | libbundlewrapper \ |
| 139 | libdownmix \ |
| 140 | libdynproc \ |
| 141 | libeffectproxy \ |
| 142 | libldnhncr \ |
| 143 | libqcompostprocbundle \ |
| 144 | libqcomvisualizer \ |
| 145 | libqcomvoiceprocessing \ |
| 146 | libreverbwrapper \ |
| 147 | libvisualizer \ |
| 148 | libvolumelistener |
| 149 | |
merothh | d7649fd | 2022-01-02 20:05:19 +0530 | [diff] [blame] | 150 | PRODUCT_COPY_FILES += \ |
| 151 | $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
| 152 | $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \ |
Rohit | 7737da6 | 2023-03-17 14:44:12 +0530 | [diff] [blame] | 153 | $(LOCAL_PATH)/audio/audio_platform_info_lagoon_fp4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \ |
merothh | d7649fd | 2022-01-02 20:05:19 +0530 | [diff] [blame] | 154 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
Michael Bestas | bbdf153 | 2022-03-28 20:22:52 +0300 | [diff] [blame] | 155 | $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \ |
| 156 | $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \ |
Rohit | 7737da6 | 2023-03-17 14:44:12 +0530 | [diff] [blame] | 157 | $(LOCAL_PATH)/audio/mixer_paths_lagoon_fp4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_lagoonmtp.xml \ |
merothh | d7649fd | 2022-01-02 20:05:19 +0530 | [diff] [blame] | 158 | $(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \ |
| 159 | $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml |
| 160 | |
| 161 | PRODUCT_COPY_FILES += \ |
merothh | d7649fd | 2022-01-02 20:05:19 +0530 | [diff] [blame] | 162 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 163 | frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ |
| 164 | frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ |
| 165 | frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ |
| 166 | frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml |
| 167 | |
merothh | 2e0e568 | 2022-01-02 20:25:57 +0530 | [diff] [blame] | 168 | # Biometrics |
| 169 | PRODUCT_PACKAGES += \ |
| 170 | android.hardware.biometrics.fingerprint@2.1-service |
| 171 | |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 172 | # Bluetooth |
| 173 | PRODUCT_PACKAGES += \ |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 174 | android.hardware.bluetooth@1.0.vendor:64 \ |
Michael Bestas | b12f506 | 2022-02-22 20:38:00 +0200 | [diff] [blame] | 175 | android.hardware.bluetooth.audio@2.0-impl \ |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 176 | audio.bluetooth.default \ |
| 177 | com.dsi.ant@1.0.vendor \ |
| 178 | vendor.qti.hardware.bluetooth_audio@2.1.vendor \ |
| 179 | vendor.qti.hardware.btconfigstore@1.0.vendor \ |
| 180 | vendor.qti.hardware.btconfigstore@2.0.vendor |
| 181 | |
merothh | a507a0f | 2022-01-02 20:11:36 +0530 | [diff] [blame] | 182 | # Camera |
| 183 | PRODUCT_PACKAGES += \ |
| 184 | android.hardware.camera.provider@2.4-impl \ |
| 185 | android.hardware.camera.provider@2.4-service_64 \ |
| 186 | vendor.qti.hardware.camera.device@1.0.vendor \ |
| 187 | vendor.qti.hardware.camera.postproc@1.0.vendor |
| 188 | |
merothh | 7af51cb | 2022-01-02 20:14:21 +0530 | [diff] [blame] | 189 | # Display |
| 190 | PRODUCT_PACKAGES += \ |
| 191 | android.hardware.graphics.mapper@3.0-impl-qti-display \ |
| 192 | android.hardware.graphics.mapper@4.0-impl-qti-display \ |
| 193 | android.hardware.memtrack@1.0-impl \ |
| 194 | android.hardware.memtrack@1.0-service \ |
| 195 | android.hardware.renderscript@1.0-impl \ |
| 196 | gralloc.lito \ |
Rohit R Sekhar | 260f7c1 | 2022-11-17 21:27:27 +0530 | [diff] [blame] | 197 | init.qti.display_boot.sh \ |
merothh | 7af51cb | 2022-01-02 20:14:21 +0530 | [diff] [blame] | 198 | memtrack.lito \ |
| 199 | libdisplayconfig.qti \ |
LuK1337 | efb4146 | 2022-10-12 09:33:30 +0200 | [diff] [blame] | 200 | libdisplayconfig.system.qti \ |
merothh | 7af51cb | 2022-01-02 20:14:21 +0530 | [diff] [blame] | 201 | libqdMetaData \ |
LuK1337 | efb4146 | 2022-10-12 09:33:30 +0200 | [diff] [blame] | 202 | libqdMetaData.system \ |
merothh | 7af51cb | 2022-01-02 20:14:21 +0530 | [diff] [blame] | 203 | libsdmcore \ |
| 204 | libsdmutils \ |
| 205 | libtinyxml \ |
| 206 | libvulkan \ |
| 207 | vendor.display.config@1.5 \ |
| 208 | vendor.display.config@1.11.vendor \ |
| 209 | vendor.display.config@2.0 \ |
| 210 | vendor.display.config@2.0.vendor \ |
| 211 | vendor.qti.hardware.display.allocator-service \ |
| 212 | vendor.qti.hardware.display.composer-service \ |
| 213 | vendor.qti.hardware.display.mapper@1.1.vendor \ |
| 214 | vendor.qti.hardware.display.mapper@2.0.vendor \ |
| 215 | vendor.qti.hardware.display.mapper@3.0.vendor \ |
| 216 | vendor.qti.hardware.display.mapper@4.0.vendor |
| 217 | |
Hridya Valsaraju | acf5430 | 2021-04-02 11:33:45 -0700 | [diff] [blame] | 218 | # DebugFS |
| 219 | PRODUCT_SET_DEBUGFS_RESTRICTIONS := true |
| 220 | |
Sebastiano Barezzi | 2789dea | 2021-02-10 22:01:11 +0100 | [diff] [blame] | 221 | # DRM |
| 222 | PRODUCT_PACKAGES += \ |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 223 | android.hardware.drm@1.3.vendor \ |
Edwin Wong | d381852 | 2021-03-25 00:19:58 -0700 | [diff] [blame] | 224 | android.hardware.drm@1.4-service.clearkey |
Sebastiano Barezzi | 2789dea | 2021-02-10 22:01:11 +0100 | [diff] [blame] | 225 | |
merothh | 2b9692d | 2022-01-14 00:55:59 +0530 | [diff] [blame] | 226 | # Euicc |
| 227 | PRODUCT_COPY_FILES += \ |
| 228 | $(LOCAL_PATH)/configs/privapp-permissions-euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-euicc.xml |
| 229 | |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 230 | # fastbootd |
| 231 | PRODUCT_PACKAGES += \ |
| 232 | fastbootd |
| 233 | |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 234 | # Gatekeeper |
| 235 | PRODUCT_PACKAGES += \ |
| 236 | android.hardware.gatekeeper@1.0.vendor:64 |
| 237 | |
| 238 | # GPS |
| 239 | PRODUCT_PACKAGES += \ |
Michael Bestas | d870a48 | 2023-05-04 01:19:43 +0300 | [diff] [blame] | 240 | android.hardware.gnss@2.1-impl-qti \ |
| 241 | android.hardware.gnss@2.1-service-qti \ |
| 242 | gnss@2.0-base.policy \ |
| 243 | gnss@2.0-xtra-daemon.policy \ |
| 244 | gnss@2.0-xtwifi-client.policy \ |
| 245 | gnss@2.0-xtwifi-inet-agent.policy \ |
Michael Bestas | d870a48 | 2023-05-04 01:19:43 +0300 | [diff] [blame] | 246 | libbatching \ |
| 247 | libgeofencing \ |
| 248 | libgnss \ |
| 249 | libgnsspps \ |
| 250 | libloc_socket |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 251 | |
Michael Bestas | 097b890 | 2023-05-12 16:24:16 +0300 | [diff] [blame^] | 252 | # GPS configs |
| 253 | PRODUCT_PACKAGES += \ |
| 254 | flp.conf \ |
| 255 | gps.conf \ |
| 256 | izat.conf |
| 257 | |
Sebastiano Barezzi | f97d62a | 2021-02-10 22:01:44 +0100 | [diff] [blame] | 258 | # Health |
| 259 | PRODUCT_PACKAGES += \ |
| 260 | android.hardware.health@2.1-impl \ |
| 261 | android.hardware.health@2.1-service |
| 262 | |
Sebastiano Barezzi | 63afb8d | 2021-02-10 22:02:15 +0100 | [diff] [blame] | 263 | # HIDL |
| 264 | PRODUCT_PACKAGES += \ |
LuK1337 | 59bce60 | 2022-04-26 10:56:05 +0200 | [diff] [blame] | 265 | libhidltransport.vendor \ |
Sebastiano Barezzi | 63afb8d | 2021-02-10 22:02:15 +0100 | [diff] [blame] | 266 | libhwbinder.vendor |
| 267 | |
Sebastiano Barezzi | 7e8029e | 2021-02-10 22:02:37 +0100 | [diff] [blame] | 268 | # IPACM |
| 269 | PRODUCT_PACKAGES += \ |
| 270 | ipacm \ |
| 271 | IPACM_cfg.xml \ |
| 272 | libipanat \ |
| 273 | liboffloadhal |
| 274 | |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 275 | # Keymaster |
| 276 | PRODUCT_PACKAGES += \ |
| 277 | android.hardware.keymaster@4.1.vendor:64 |
| 278 | |
merothh | 431b69d | 2022-01-03 01:32:52 +0530 | [diff] [blame] | 279 | # Media |
| 280 | PRODUCT_PACKAGES += \ |
| 281 | libavservices_minijail \ |
| 282 | libavservices_minijail.vendor |
| 283 | |
merothh | f25a4a7 | 2022-01-02 21:45:42 +0530 | [diff] [blame] | 284 | PRODUCT_COPY_FILES += \ |
| 285 | $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
| 286 | $(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \ |
| 287 | $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 288 | $(LOCAL_PATH)/media/media_codecs_performance_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v1.xml \ |
| 289 | $(LOCAL_PATH)/media/media_codecs_performance_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v2.xml \ |
| 290 | $(LOCAL_PATH)/media/media_codecs_performance_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v2.xml \ |
| 291 | $(LOCAL_PATH)/media/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \ |
| 292 | $(LOCAL_PATH)/media/media_codecs_vendor_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v1.xml \ |
| 293 | $(LOCAL_PATH)/media/media_codecs_vendor_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v2.xml \ |
| 294 | $(LOCAL_PATH)/media/media_codecs_vendor_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v3.xml \ |
| 295 | $(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \ |
| 296 | $(LOCAL_PATH)/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml |
| 297 | |
merothh | 694b09a | 2022-01-02 22:58:24 +0530 | [diff] [blame] | 298 | # Media (Codec2) |
| 299 | PRODUCT_PACKAGES += \ |
| 300 | libcodec2_hidl@1.0.vendor \ |
| 301 | libcodec2_vndk.vendor \ |
| 302 | |
Subash Abhinov Kasiviswanathan | 3f16b3b | 2022-01-02 22:22:14 +0530 | [diff] [blame] | 303 | # Net |
| 304 | PRODUCT_PACKAGES += \ |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 305 | android.system.net.netd@1.1.vendor:64 \ |
Subash Abhinov Kasiviswanathan | 3f16b3b | 2022-01-02 22:22:14 +0530 | [diff] [blame] | 306 | netutils-wrapper-1.0 |
| 307 | |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 308 | # Neural networks |
| 309 | PRODUCT_PACKAGES += \ |
| 310 | android.hardware.neuralnetworks@1.3.vendor:64 |
| 311 | |
Andrew Hexen | a9aed25 | 2020-09-26 11:51:58 -0700 | [diff] [blame] | 312 | # NFC |
| 313 | PRODUCT_PACKAGES += \ |
merothh | 59dd296 | 2022-02-01 14:24:54 +0530 | [diff] [blame] | 314 | android.hardware.nfc@1.2 \ |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 315 | android.hardware.nfc@1.2.vendor:64 \ |
| 316 | android.hardware.secure_element@1.2.vendor:64 \ |
Andrew Hexen | a9aed25 | 2020-09-26 11:51:58 -0700 | [diff] [blame] | 317 | com.android.nfc_extras \ |
| 318 | NfcNci \ |
| 319 | SecureElement \ |
| 320 | Tag |
| 321 | |
Sebastiano Barezzi | ed13832 | 2021-02-10 22:04:15 +0100 | [diff] [blame] | 322 | # OMX |
| 323 | PRODUCT_PACKAGES += \ |
| 324 | libmm-omxcore \ |
| 325 | libOmxAacEnc \ |
| 326 | libOmxAmrEnc \ |
| 327 | libOmxCore \ |
| 328 | libOmxEvrcEnc \ |
| 329 | libOmxG711Enc \ |
| 330 | libOmxQcelp13Enc \ |
| 331 | libOmxVdec \ |
| 332 | libOmxVenc \ |
| 333 | libstagefrighthw |
| 334 | |
Sebastiano Barezzi | ff0754a | 2021-02-10 22:05:37 +0100 | [diff] [blame] | 335 | # Power |
| 336 | PRODUCT_PACKAGES += \ |
| 337 | android.hardware.power-service-qti \ |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 338 | android.hardware.power@1.2.vendor \ |
Sebastiano Barezzi | ff0754a | 2021-02-10 22:05:37 +0100 | [diff] [blame] | 339 | vendor.qti.hardware.perf@2.2.vendor |
| 340 | |
merothh | 00be060 | 2022-01-02 23:00:09 +0530 | [diff] [blame] | 341 | # Public libraries |
| 342 | PRODUCT_COPY_FILES += \ |
| 343 | $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt |
| 344 | |
Sebastiano Barezzi | 17434b2 | 2021-02-10 22:06:22 +0100 | [diff] [blame] | 345 | # QTI fwk-detect |
| 346 | PRODUCT_PACKAGES += \ |
| 347 | libqti_vndfwk_detect \ |
| 348 | libqti_vndfwk_detect.vendor \ |
| 349 | libvndfwk_detect_jni.qti \ |
| 350 | libvndfwk_detect_jni.qti.vendor |
| 351 | |
Sebastiano Barezzi | 0441dfa | 2021-02-10 22:06:43 +0100 | [diff] [blame] | 352 | # RIL |
| 353 | PRODUCT_PACKAGES += \ |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 354 | android.hardware.radio@1.5.vendor:64 \ |
| 355 | android.hardware.radio.config@1.2.vendor:64 \ |
| 356 | android.hardware.radio.deprecated@1.0.vendor:64 \ |
Sebastiano Barezzi | 0441dfa | 2021-02-10 22:06:43 +0100 | [diff] [blame] | 357 | libjson \ |
| 358 | libprotobuf-cpp-full \ |
| 359 | librmnetctl \ |
| 360 | libxml2 |
| 361 | |
Andrew Hexen | 3929a45 | 2021-02-15 06:33:18 -0800 | [diff] [blame] | 362 | # Sensors |
| 363 | PRODUCT_PACKAGES += \ |
| 364 | android.hardware.sensors@2.0-service.multihal |
| 365 | |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 366 | # Soong Namespaces |
| 367 | PRODUCT_SOONG_NAMESPACES += \ |
| 368 | $(LOCAL_PATH) |
| 369 | |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 370 | # Telephony |
| 371 | PRODUCT_PACKAGES += \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 372 | extphonelib \ |
| 373 | extphonelib-product \ |
| 374 | extphonelib.xml \ |
| 375 | extphonelib_product.xml \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 376 | ims-ext-common \ |
| 377 | ims_ext_common.xml \ |
| 378 | qti-telephony-hidl-wrapper \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 379 | qti-telephony-hidl-wrapper-prd \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 380 | qti_telephony_hidl_wrapper.xml \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 381 | qti_telephony_hidl_wrapper_prd.xml \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 382 | qti-telephony-utils \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 383 | qti-telephony-utils-prd \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 384 | qti_telephony_utils.xml \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 385 | qti_telephony_utils_prd.xml \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 386 | telephony-ext |
| 387 | |
| 388 | PRODUCT_BOOT_JARS += \ |
| 389 | telephony-ext |
| 390 | |
Sebastiano Barezzi | a488c66 | 2021-02-17 17:21:17 +0100 | [diff] [blame] | 391 | # Thermal |
| 392 | PRODUCT_PACKAGES += \ |
| 393 | android.hardware.thermal@2.0-service.qti |
| 394 | |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 395 | # Ramdisk |
| 396 | PRODUCT_COPY_FILES += \ |
| 397 | $(LOCAL_PATH)/rootdir/etc/fstab.default:$(TARGET_COPY_OUT_RAMDISK)/fstab.default |
Sebastiano Barezzi | 64068f1 | 2021-02-10 22:09:03 +0100 | [diff] [blame] | 398 | |
merothh | 32be688 | 2022-01-03 01:54:57 +0530 | [diff] [blame] | 399 | # Rootdir |
| 400 | PRODUCT_PACKAGES += \ |
| 401 | init.class_main.sh \ |
| 402 | init.qcom.class_core.sh \ |
| 403 | init.qcom.early_boot.sh \ |
| 404 | init.qcom.post_boot.sh \ |
| 405 | init.qcom.sh \ |
merothh | f81fec6 | 2022-01-03 03:22:01 +0530 | [diff] [blame] | 406 | init.qcom.usb.sh \ |
| 407 | init.qti.dcvs.sh \ |
| 408 | init.qti.qcv.sh |
merothh | 32be688 | 2022-01-03 01:54:57 +0530 | [diff] [blame] | 409 | |
| 410 | PRODUCT_PACKAGES += \ |
| 411 | init.qcom.rc \ |
| 412 | init.qcom.usb.rc \ |
merothh | f81fec6 | 2022-01-03 03:22:01 +0530 | [diff] [blame] | 413 | init.qti.qcv.rc \ |
Michael Bestas | 6e2df4f | 2022-02-22 00:04:50 +0200 | [diff] [blame] | 414 | init.recovery.qcom.rc \ |
merothh | f81fec6 | 2022-01-03 03:22:01 +0530 | [diff] [blame] | 415 | init.stnfc.rc \ |
merothh | 32be688 | 2022-01-03 01:54:57 +0530 | [diff] [blame] | 416 | init.target.rc \ |
| 417 | fstab.default \ |
| 418 | ueventd.qcom.rc |
| 419 | |
Sebastiano Barezzi | 64068f1 | 2021-02-10 22:09:03 +0100 | [diff] [blame] | 420 | # USB |
| 421 | PRODUCT_PACKAGES += \ |
Albert Wang | 0dcdbc9 | 2021-03-25 00:03:02 +0800 | [diff] [blame] | 422 | android.hardware.usb@1.3-service-qti |
Roger Liao | dcb2e03 | 2020-04-10 04:46:38 +0800 | [diff] [blame] | 423 | |
Alexander Koskovich | e62c05c | 2022-04-12 05:00:05 -0700 | [diff] [blame] | 424 | PRODUCT_SOONG_NAMESPACES += \ |
| 425 | vendor/qcom/opensource/usb/etc |
| 426 | |
Roger Liao | dcb2e03 | 2020-04-10 04:46:38 +0800 | [diff] [blame] | 427 | # vndservicemanager |
| 428 | PRODUCT_PACKAGES += \ |
| 429 | vndservicemanager |
merothh | 66682a5 | 2021-11-13 19:20:17 +0530 | [diff] [blame] | 430 | |
| 431 | # Vibrator |
| 432 | PRODUCT_PACKAGES += \ |
| 433 | vendor.qti.hardware.vibrator.service.FP4 |
Bruno Martins | 3316584 | 2021-06-19 12:54:58 +0100 | [diff] [blame] | 434 | |
| 435 | PRODUCT_COPY_FILES += \ |
| 436 | $(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml |
Sebastiano Barezzi | fd6e1f8 | 2021-02-10 22:10:19 +0100 | [diff] [blame] | 437 | |
| 438 | # WiFi |
| 439 | PRODUCT_PACKAGES += \ |
| 440 | android.hardware.wifi@1.0-service \ |
| 441 | hostapd \ |
| 442 | libwpa_client \ |
| 443 | libwifi-hal-ctrl \ |
| 444 | libwifi-hal-qcom \ |
Roshan Pius | 595263d | 2020-04-24 14:33:28 -0700 | [diff] [blame] | 445 | WifiOverlay \ |
Sebastiano Barezzi | fd6e1f8 | 2021-02-10 22:10:19 +0100 | [diff] [blame] | 446 | wpa_supplicant \ |
| 447 | wpa_supplicant.conf |
| 448 | |
| 449 | PRODUCT_COPY_FILES += \ |
| 450 | $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini \ |
| 451 | $(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \ |
| 452 | $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf |
Sebastiano Barezzi | 6262fdd | 2021-02-10 22:10:39 +0100 | [diff] [blame] | 453 | |
| 454 | # WiFi Display |
| 455 | PRODUCT_PACKAGES += \ |
| 456 | libnl \ |
| 457 | libwfdaac_vendor |
| 458 | |
| 459 | PRODUCT_BOOT_JARS += \ |
| 460 | WfdCommon |