common.mk 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  1. #
  2. # Copyright (C) 2020 The LineageOS Project
  3. #
  4. # SPDX-License-Identifier: Apache-2.0
  5. #
  6. # Inherit from those products. Most specific first.
  7. $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
  8. $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
  9. # Enable project quotas and casefolding for emulated storage without sdcardfs
  10. $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
  11. # Enforce generic ramdisk allow list
  12. $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
  13. # Enable updating of APEXes
  14. $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
  15. # Enable virtual AB with vendor ramdisk
  16. $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
  17. # Setup dalvik vm configs
  18. $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
  19. # Inherit from the proprietary version
  20. $(call inherit-product, vendor/xiaomi/sm8450-common/sm8450-common-vendor.mk)
  21. # A/B
  22. AB_OTA_POSTINSTALL_CONFIG += \
  23. RUN_POSTINSTALL_system=true \
  24. POSTINSTALL_PATH_system=system/bin/otapreopt_script \
  25. FILESYSTEM_TYPE_system=ext4 \
  26. POSTINSTALL_OPTIONAL_system=true
  27. AB_OTA_POSTINSTALL_CONFIG += \
  28. RUN_POSTINSTALL_vendor=true \
  29. POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
  30. FILESYSTEM_TYPE_vendor=ext4 \
  31. POSTINSTALL_OPTIONAL_vendor=true
  32. PRODUCT_PACKAGES += \
  33. checkpoint_gc \
  34. otapreopt_script
  35. # ANT+
  36. PRODUCT_PACKAGES += \
  37. [email protected]
  38. # API
  39. PRODUCT_SHIPPING_API_LEVEL := 31
  40. BOARD_API_LEVEL := 31
  41. BOARD_SHIPPING_API_LEVEL := 31
  42. # Atrace
  43. PRODUCT_PACKAGES += \
  44. [email protected]
  45. # Audio
  46. PRODUCT_PACKAGES += \
  47. [email protected] \
  48. [email protected] \
  49. android.hardware.audio.service \
  50. [email protected]
  51. PRODUCT_PACKAGES += \
  52. audio.bluetooth.default \
  53. audio.r_submix.default \
  54. audio.usb.default
  55. PRODUCT_PACKAGES += \
  56. libvolumelistener
  57. PRODUCT_COPY_FILES += \
  58. $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/audio_effects.xml \
  59. $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/audio_effects.xml \
  60. $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/audio_policy_configuration.xml \
  61. $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/audio_policy_configuration.xml \
  62. $(LOCAL_PATH)/audio/mixer_paths_overlay_dynamic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/mixer_paths_overlay_dynamic.xml \
  63. $(LOCAL_PATH)/audio/mixer_paths_overlay_dynamic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/mixer_paths_overlay_dynamic.xml \
  64. $(LOCAL_PATH)/audio/mixer_paths_waipio_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/mixer_paths_waipio_mtp.xml \
  65. $(LOCAL_PATH)/audio/mixer_paths_waipio_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/mixer_paths_waipio_mtp.xml
  66. PRODUCT_COPY_FILES += \
  67. $(LOCAL_PATH)/audio/backend_conf.xml:$(TARGET_COPY_OUT_VENDOR)/etc/backend_conf.xml \
  68. $(LOCAL_PATH)/audio/card-defs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/card-defs.xml \
  69. $(LOCAL_PATH)/audio/media_codecs_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2_audio.xml \
  70. $(LOCAL_PATH)/audio/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
  71. $(LOCAL_PATH)/audio/microphone_characteristics.xml:$(TARGET_COPY_OUT_VENDOR)/etc/microphone_characteristics.xml \
  72. $(LOCAL_PATH)/audio/usecaseKvManager.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usecaseKvManager.xml
  73. PRODUCT_COPY_FILES += \
  74. frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
  75. frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
  76. frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
  77. frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
  78. frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
  79. frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
  80. frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
  81. # Automotive
  82. PRODUCT_PACKAGES += \
  83. [email protected]
  84. # Bluetooth
  85. PRODUCT_PACKAGES += \
  86. [email protected] \
  87. android.hardware.bluetooth.audio-impl \
  88. [email protected] \
  89. [email protected] \
  90. [email protected] \
  91. [email protected]
  92. PRODUCT_COPY_FILES += \
  93. frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
  94. frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
  95. # Boot control
  96. PRODUCT_PACKAGES += \
  97. [email protected] \
  98. [email protected] \
  99. [email protected]
  100. PRODUCT_PACKAGES_DEBUG += \
  101. bootctl
  102. # Camera
  103. PRODUCT_PACKAGES += \
  104. [email protected] \
  105. [email protected] \
  106. libcamera2ndk_vendor
  107. PRODUCT_COPY_FILES += \
  108. frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
  109. frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
  110. frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
  111. frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
  112. # Capabilityconfigstore
  113. PRODUCT_PACKAGES += \
  114. [email protected]
  115. # DRM
  116. PRODUCT_PACKAGES += \
  117. [email protected] \
  118. libdrm.vendor
  119. # Dumpstate
  120. PRODUCT_PACKAGES += \
  121. [email protected]
  122. # Fingerprint
  123. PRODUCT_COPY_FILES += \
  124. frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
  125. # Fstab
  126. PRODUCT_COPY_FILES += \
  127. $(LOCAL_PATH)/rootdir/etc/charger_fw_fstab.qti:$(TARGET_COPY_OUT_VENDOR)/etc/charger_fw_fstab.qti
  128. PRODUCT_COPY_FILES += \
  129. $(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom \
  130. $(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.qcom \
  131. $(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom
  132. # Gatekeeper
  133. PRODUCT_PACKAGES += \
  134. [email protected]
  135. # GPS
  136. PRODUCT_COPY_FILES += \
  137. frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
  138. # Graphics
  139. PRODUCT_PACKAGES += \
  140. [email protected] \
  141. libgralloc.qti \
  142. libqdMetaData \
  143. vendor.qti.hardware.display.config-V1-ndk_platform.vendor \
  144. vendor.qti.hardware.display.config-V2-ndk_platform.vendor \
  145. vendor.qti.hardware.display.config-V3-ndk_platform.vendor \
  146. vendor.qti.hardware.display.config-V4-ndk_platform.vendor \
  147. vendor.qti.hardware.display.config-V5-ndk_platform.vendor \
  148. vendor.qti.hardware.display.config-V6-ndk_platform.vendor
  149. PRODUCT_COPY_FILES += \
  150. frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
  151. frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
  152. frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
  153. frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
  154. frameworks/native/data/etc/android.software.opengles.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \
  155. frameworks/native/data/etc/android.software.vulkan.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml
  156. # Health
  157. PRODUCT_PACKAGES += \
  158. [email protected]
  159. # HIDL
  160. PRODUCT_PACKAGES += \
  161. [email protected] \
  162. [email protected] \
  163. libhidltransport.vendor \
  164. libhwbinder.vendor
  165. # Hotword Enrollement
  166. PRODUCT_COPY_FILES += \
  167. $(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
  168. # Identity
  169. PRODUCT_PACKAGES += \
  170. android.hardware.identity-V3-ndk_platform.vendor \
  171. android.hardware.keymaster-V3-ndk_platform.vendor
  172. # IPACM
  173. PRODUCT_PACKAGES += \
  174. ipacm \
  175. IPACM_cfg.xml \
  176. IPACM_Filter_cfg.xml
  177. # IR
  178. PRODUCT_PACKAGES += \
  179. [email protected] \
  180. [email protected]
  181. PRODUCT_COPY_FILES += \
  182. frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
  183. # JSON
  184. PRODUCT_PACKAGES += \
  185. libjson
  186. # Keymaster
  187. PRODUCT_PACKAGES += \
  188. [email protected] \
  189. android.hardware.security.keymint-V1-ndk_platform.vendor \
  190. android.hardware.security.secureclock-V1-ndk_platform.vendor \
  191. android.hardware.security.sharedsecret-V1-ndk_platform.vendor \
  192. libkeymaster_messages.vendor
  193. PRODUCT_COPY_FILES += \
  194. frameworks/native/data/etc/android.hardware.keystore.app_attest_key.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.keystore.app_attest_key.xml
  195. # Media
  196. PRODUCT_PACKAGES += \
  197. [email protected]
  198. PRODUCT_PACKAGES += \
  199. init.qti.media.rc \
  200. init.qti.media.sh
  201. # Network
  202. PRODUCT_PACKAGES += \
  203. [email protected]
  204. PRODUCT_COPY_FILES += \
  205. frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
  206. # Neural networks
  207. PRODUCT_PACKAGES += \
  208. android.hardware.neuralnetworks-V1-ndk_platform.vendor
  209. # NFC
  210. PRODUCT_PACKAGES += \
  211. [email protected] \
  212. libchrome.vendor
  213. PRODUCT_COPY_FILES += \
  214. frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
  215. frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
  216. frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
  217. frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
  218. frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
  219. frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
  220. frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
  221. # Overlays
  222. PRODUCT_PACKAGES += \
  223. CarrierConfigResCommon_Sys \
  224. FrameworksResCommon_Sys \
  225. SettingsResCommon_Sys \
  226. SystemUIResCommon_Sys \
  227. TelecommResCommon_Sys \
  228. TelephonyResCommon_Sys \
  229. WifiResCommon_Sys
  230. PRODUCT_PACKAGES += \
  231. DialerResXiaomi \
  232. FrameworksResTarget_Vendor \
  233. FrameworksResXiaomi \
  234. SettingsProviderResXiaomi \
  235. WifiResTarget \
  236. WifiResTarget_spf
  237. # Partitions
  238. PRODUCT_USE_DYNAMIC_PARTITIONS := true
  239. # Perf
  240. PRODUCT_PACKAGES += \
  241. [email protected]
  242. # Power
  243. PRODUCT_PACKAGES += \
  244. android.hardware.power-service-qti
  245. PRODUCT_COPY_FILES += \
  246. vendor/qcom/opensource/power/config/taro/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
  247. # QTI
  248. PRODUCT_PACKAGES += \
  249. libvndfwk_detect_jni.qti_vendor
  250. # QXR
  251. PRODUCT_PACKAGES += \
  252. android.hardware.common-V2-ndk_platform.vendor
  253. # Recovery
  254. PRODUCT_COPY_FILES += \
  255. $(LOCAL_PATH)/rootdir/etc/init.recovery.qcom.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.qcom.rc
  256. # RenderScript
  257. PRODUCT_PACKAGES += \
  258. [email protected]
  259. # RIL
  260. PRODUCT_PACKAGES += \
  261. [email protected] \
  262. [email protected] \
  263. # Secure element
  264. PRODUCT_PACKAGES += \
  265. [email protected]
  266. PRODUCT_COPY_FILES += \
  267. frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
  268. frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml
  269. # Sensors
  270. PRODUCT_PACKAGES += \
  271. [email protected] \
  272. libsensorndkbridge
  273. PRODUCT_COPY_FILES += \
  274. frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.accelerometer.xml \
  275. frameworks/native/data/etc/android.hardware.sensor.ambient_temperature.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.ambient_temperature.xml \
  276. frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.barometer.xml \
  277. frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.compass.xml \
  278. frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.gyroscope.xml \
  279. frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.hifi_sensors.xml \
  280. frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.light.xml \
  281. frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.proximity.xml \
  282. frameworks/native/data/etc/android.hardware.sensor.relative_humidity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.relative_humidity.xml \
  283. frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.stepcounter.xml \
  284. frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.stepdetector.xml \
  285. frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.accelerometer.xml \
  286. frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.compass.xml \
  287. frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.gyroscope.xml \
  288. frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.light.xml \
  289. frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.proximity.xml \
  290. frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.stepcounter.xml \
  291. frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.stepdetector.xml
  292. # Servicetracker
  293. PRODUCT_PACKAGES += \
  294. [email protected]
  295. # Soong namespaces
  296. PRODUCT_SOONG_NAMESPACES += \
  297. $(LOCAL_PATH)
  298. # Telephony
  299. PRODUCT_PACKAGES += \
  300. extphonelib \
  301. extphonelib-product \
  302. extphonelib.xml \
  303. extphonelib_product.xml \
  304. ims-ext-common \
  305. ims_ext_common.xml \
  306. qti-telephony-hidl-wrapper \
  307. qti-telephony-hidl-wrapper-prd \
  308. qti_telephony_hidl_wrapper.xml \
  309. qti_telephony_hidl_wrapper_prd.xml \
  310. qti-telephony-utils \
  311. qti-telephony-utils-prd \
  312. qti_telephony_utils.xml \
  313. qti_telephony_utils_prd.xml \
  314. telephony-ext
  315. PRODUCT_BOOT_JARS += \
  316. telephony-ext
  317. PRODUCT_COPY_FILES += \
  318. frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
  319. frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
  320. frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
  321. frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
  322. # Thermal
  323. PRODUCT_PACKAGES += \
  324. [email protected]
  325. # Touchscreen
  326. PRODUCT_COPY_FILES += \
  327. frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
  328. # Ueventd
  329. PRODUCT_COPY_FILES += \
  330. $(LOCAL_PATH)/rootdir/etc/ueventd.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc \
  331. $(LOCAL_PATH)/rootdir/etc/ueventd-odm.rc:$(TARGET_COPY_OUT_ODM)/etc/ueventd.rc
  332. # Update engine
  333. PRODUCT_PACKAGES += \
  334. update_engine \
  335. update_engine_sideload \
  336. update_verifier
  337. PRODUCT_PACKAGES_DEBUG += \
  338. update_engine_client
  339. # USB
  340. PRODUCT_PACKAGES += \
  341. [email protected]
  342. PRODUCT_COPY_FILES += \
  343. frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
  344. frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
  345. # Vendor service manager
  346. PRODUCT_PACKAGES += \
  347. vndservicemanager
  348. # Vendor init
  349. PRODUCT_COPY_FILES += \
  350. $(LOCAL_PATH)/rootdir/etc/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.rc \
  351. $(LOCAL_PATH)/rootdir/etc/init.target.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.target.rc \
  352. $(LOCAL_PATH)/rootdir/etc/init.touch_report.rc:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/etc/init/init.touch_report.rc \
  353. $(LOCAL_PATH)/rootdir/etc/init.touch_report.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.touch_report.rc \
  354. $(LOCAL_PATH)/rootdir/etc/init.xiaomi_sm8450.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.xiaomi_sm8450.rc \
  355. PRODUCT_COPY_FILES += \
  356. $(LOCAL_PATH)/rootdir/bin/init.class_main.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.class_main.sh \
  357. $(LOCAL_PATH)/rootdir/bin/init.qcom.class_core.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.class_core.sh \
  358. $(LOCAL_PATH)/rootdir/bin/init.qcom.early_boot.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.early_boot.sh \
  359. $(LOCAL_PATH)/rootdir/bin/init.qcom.post_boot.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.post_boot.sh \
  360. $(LOCAL_PATH)/rootdir/bin/init.qcom.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.sh
  361. # Verified boot
  362. PRODUCT_COPY_FILES += \
  363. frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
  364. # Vibrator
  365. PRODUCT_PACKAGES += \
  366. vendor.qti.hardware.vibrator.service
  367. PRODUCT_COPY_FILES += \
  368. vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
  369. # WiFi
  370. PRODUCT_PACKAGES += \
  371. [email protected] \
  372. [email protected] \
  373. hostapd \
  374. hostapd_cli \
  375. libwifi-hal-qcom \
  376. libwpa_client \
  377. wpa_cli \
  378. wpa_supplicant \
  379. wpa_supplicant.conf
  380. PRODUCT_COPY_FILES += \
  381. $(LOCAL_PATH)/wlan/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
  382. $(LOCAL_PATH)/wlan/vendor_cmd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/vendor_cmd.xml \
  383. $(LOCAL_PATH)/wlan/WCNSS_qcom_cfg_qca6490.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/qca6490/WCNSS_qcom_cfg.ini \
  384. $(LOCAL_PATH)/wlan/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
  385. PRODUCT_COPY_FILES += \
  386. frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \
  387. frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
  388. frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
  389. frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \
  390. frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml
  391. # WiFi Display
  392. PRODUCT_PACKAGES += \
  393. libnl \
  394. libwfdaac_vendor