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