common.mk 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  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_SHIPPING_API_LEVEL := 31
  41. # Atrace
  42. PRODUCT_PACKAGES += \
  43. [email protected]
  44. # Audio
  45. PRODUCT_PACKAGES += \
  46. [email protected] \
  47. [email protected] \
  48. android.hardware.audio.service \
  49. [email protected]
  50. PRODUCT_PACKAGES += \
  51. audio.bluetooth.default \
  52. audio.r_submix.default \
  53. audio.usb.default
  54. PRODUCT_COPY_FILES += \
  55. $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/audio_effects.xml \
  56. $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/audio_policy_configuration.xml \
  57. $(LOCAL_PATH)/audio/mixer_paths_overlay_dynamic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/mixer_paths_overlay_dynamic.xml \
  58. $(LOCAL_PATH)/audio/mixer_paths_overlay_static.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/mixer_paths_overlay_static.xml \
  59. $(LOCAL_PATH)/audio/mixer_paths_waipio_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/mixer_paths_waipio_mtp.xml \
  60. $(LOCAL_PATH)/audio/resourcemanager_waipio_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/resourcemanager_waipio_mtp.xml
  61. PRODUCT_COPY_FILES += \
  62. $(LOCAL_PATH)/audio/backend_conf.xml:$(TARGET_COPY_OUT_VENDOR)/etc/backend_conf.xml \
  63. $(LOCAL_PATH)/audio/bluetooth_qti_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_hearing_aid_audio_policy_configuration.xml \
  64. $(LOCAL_PATH)/audio/card-defs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/card-defs.xml \
  65. $(LOCAL_PATH)/audio/media_codecs_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2_audio.xml \
  66. $(LOCAL_PATH)/audio/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
  67. $(LOCAL_PATH)/audio/microphone_characteristics.xml:$(TARGET_COPY_OUT_VENDOR)/etc/microphone_characteristics.xml \
  68. $(LOCAL_PATH)/audio/usecaseKvManager.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usecaseKvManager.xml
  69. PRODUCT_COPY_FILES += \
  70. frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
  71. frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
  72. frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
  73. frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
  74. frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
  75. frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
  76. # Automotive
  77. PRODUCT_PACKAGES += \
  78. [email protected]
  79. # Bluetooth
  80. PRODUCT_PACKAGES += \
  81. [email protected] \
  82. android.hardware.bluetooth.audio-impl \
  83. [email protected] \
  84. [email protected] \
  85. [email protected] \
  86. [email protected]
  87. PRODUCT_COPY_FILES += \
  88. frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
  89. frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
  90. # Boot control
  91. PRODUCT_PACKAGES += \
  92. [email protected] \
  93. [email protected] \
  94. [email protected]
  95. PRODUCT_PACKAGES_DEBUG += \
  96. bootctl
  97. # Camera
  98. PRODUCT_PACKAGES += \
  99. [email protected] \
  100. [email protected] \
  101. libcamera2ndk_vendor
  102. PRODUCT_COPY_FILES += \
  103. frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
  104. frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
  105. frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
  106. frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
  107. # Capabilityconfigstore
  108. PRODUCT_PACKAGES += \
  109. [email protected]
  110. # DRM
  111. PRODUCT_PACKAGES += \
  112. [email protected] \
  113. libdrm.vendor
  114. # Dumpstate
  115. PRODUCT_PACKAGES += \
  116. [email protected]
  117. # Fingerprint
  118. PRODUCT_COPY_FILES += \
  119. frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
  120. # Fstab
  121. PRODUCT_COPY_FILES += \
  122. $(LOCAL_PATH)/rootdir/etc/charger_fw_fstab.qti:$(TARGET_COPY_OUT_VENDOR)/etc/charger_fw_fstab.qti
  123. PRODUCT_COPY_FILES += \
  124. $(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom \
  125. $(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.qcom \
  126. $(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom
  127. # Gatekeeper
  128. PRODUCT_PACKAGES += \
  129. [email protected]
  130. # GPS
  131. PRODUCT_COPY_FILES += \
  132. frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
  133. # Graphics
  134. PRODUCT_PACKAGES += \
  135. [email protected] \
  136. libgralloc.qti \
  137. libqdMetaData \
  138. vendor.qti.hardware.display.config-V1-ndk_platform.vendor \
  139. vendor.qti.hardware.display.config-V2-ndk_platform.vendor \
  140. vendor.qti.hardware.display.config-V3-ndk_platform.vendor \
  141. vendor.qti.hardware.display.config-V4-ndk_platform.vendor \
  142. vendor.qti.hardware.display.config-V5-ndk_platform.vendor \
  143. vendor.qti.hardware.display.config-V6-ndk_platform.vendor
  144. PRODUCT_COPY_FILES += \
  145. frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
  146. frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
  147. frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
  148. frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
  149. 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 \
  150. 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
  151. # Health
  152. PRODUCT_PACKAGES += \
  153. [email protected]
  154. # HIDL
  155. PRODUCT_PACKAGES += \
  156. [email protected] \
  157. [email protected] \
  158. libhidltransport.vendor \
  159. libhwbinder.vendor
  160. # Identity
  161. PRODUCT_PACKAGES += \
  162. android.hardware.identity-V3-ndk_platform.vendor \
  163. android.hardware.keymaster-V3-ndk_platform.vendor
  164. # IPACM
  165. PRODUCT_PACKAGES += \
  166. ipacm \
  167. IPACM_cfg.xml
  168. # IR
  169. PRODUCT_PACKAGES += \
  170. [email protected] \
  171. [email protected]
  172. PRODUCT_COPY_FILES += \
  173. frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
  174. # JSON
  175. PRODUCT_PACKAGES += \
  176. libjson
  177. # Keymaster
  178. PRODUCT_PACKAGES += \
  179. [email protected] \
  180. android.hardware.security.keymint-V1-ndk_platform.vendor \
  181. android.hardware.security.secureclock-V1-ndk_platform.vendor \
  182. android.hardware.security.sharedsecret-V1-ndk_platform.vendor \
  183. libkeymaster_messages.vendor
  184. # Media
  185. PRODUCT_PACKAGES += \
  186. [email protected]
  187. PRODUCT_PACKAGES += \
  188. init.qti.media.rc \
  189. init.qti.media.sh
  190. # Network
  191. PRODUCT_PACKAGES += \
  192. [email protected]
  193. PRODUCT_COPY_FILES += \
  194. frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
  195. # Neural networks
  196. PRODUCT_PACKAGES += \
  197. android.hardware.neuralnetworks-V1-ndk_platform.vendor
  198. # NFC
  199. PRODUCT_PACKAGES += \
  200. [email protected] \
  201. [email protected]
  202. PRODUCT_COPY_FILES += \
  203. frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
  204. frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
  205. frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
  206. frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
  207. frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
  208. frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
  209. frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
  210. # Overlays
  211. PRODUCT_PACKAGES += \
  212. CarrierConfigResCommon_Sys \
  213. FrameworksResCommon_Sys \
  214. SettingsResCommon_Sys \
  215. SystemUIResCommon_Sys \
  216. TelecommResCommon_Sys \
  217. TelephonyResCommon_Sys \
  218. WifiResCommon_Sys
  219. PRODUCT_PACKAGES += \
  220. FrameworksResTarget_Vendor \
  221. FrameworksResXiaomi \
  222. SettingsProviderResXiaomi \
  223. WifiResTarget \
  224. WifiResTarget_spf
  225. # Partitions
  226. PRODUCT_USE_DYNAMIC_PARTITIONS := true
  227. # Perf
  228. PRODUCT_PACKAGES += \
  229. [email protected]
  230. # Power
  231. PRODUCT_PACKAGES += \
  232. android.hardware.power-service-qti
  233. PRODUCT_COPY_FILES += \
  234. vendor/qcom/opensource/power/config/taro/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
  235. # QTI
  236. PRODUCT_PACKAGES += \
  237. libvndfwk_detect_jni.qti_vendor
  238. # QXR
  239. PRODUCT_PACKAGES += \
  240. android.hardware.common-V2-ndk_platform.vendor
  241. # Recovery
  242. PRODUCT_COPY_FILES += \
  243. $(LOCAL_PATH)/rootdir/etc/init.recovery.qcom.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.qcom.rc
  244. # RenderScript
  245. PRODUCT_PACKAGES += \
  246. [email protected]
  247. # RIL
  248. PRODUCT_PACKAGES += \
  249. [email protected] \
  250. [email protected] \
  251. # Secure element
  252. PRODUCT_PACKAGES += \
  253. [email protected]
  254. PRODUCT_COPY_FILES += \
  255. frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
  256. frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml
  257. # Sensors
  258. PRODUCT_PACKAGES += \
  259. [email protected] \
  260. libsensorndkbridge
  261. PRODUCT_COPY_FILES += \
  262. frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.accelerometer.xml \
  263. frameworks/native/data/etc/android.hardware.sensor.ambient_temperature.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.ambient_temperature.xml \
  264. frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.barometer.xml \
  265. frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.compass.xml \
  266. frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.gyroscope.xml \
  267. frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.hifi_sensors.xml \
  268. frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.light.xml \
  269. frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.proximity.xml \
  270. frameworks/native/data/etc/android.hardware.sensor.relative_humidity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.relative_humidity.xml \
  271. frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.stepcounter.xml \
  272. frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.stepdetector.xml \
  273. frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.accelerometer.xml \
  274. frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.compass.xml \
  275. frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.gyroscope.xml \
  276. frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.light.xml \
  277. frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.proximity.xml \
  278. frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.stepcounter.xml \
  279. frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_taro/android.hardware.sensor.stepdetector.xml
  280. # Servicetracker
  281. PRODUCT_PACKAGES += \
  282. [email protected]
  283. # Soong namespaces
  284. PRODUCT_SOONG_NAMESPACES += \
  285. $(LOCAL_PATH)
  286. # Telephony
  287. PRODUCT_PACKAGES += \
  288. extphonelib \
  289. extphonelib-product \
  290. extphonelib.xml \
  291. extphonelib_product.xml \
  292. ims-ext-common \
  293. ims_ext_common.xml \
  294. qti-telephony-hidl-wrapper \
  295. qti-telephony-hidl-wrapper-prd \
  296. qti_telephony_hidl_wrapper.xml \
  297. qti_telephony_hidl_wrapper_prd.xml \
  298. qti-telephony-utils \
  299. qti-telephony-utils-prd \
  300. qti_telephony_utils.xml \
  301. qti_telephony_utils_prd.xml \
  302. telephony-ext
  303. PRODUCT_BOOT_JARS += \
  304. telephony-ext
  305. PRODUCT_COPY_FILES += \
  306. frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
  307. frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
  308. frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
  309. frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
  310. # Thermal
  311. PRODUCT_PACKAGES += \
  312. [email protected]
  313. # Touchscreen
  314. PRODUCT_COPY_FILES += \
  315. frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
  316. # Ueventd
  317. PRODUCT_COPY_FILES += \
  318. $(LOCAL_PATH)/rootdir/etc/ueventd.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc \
  319. $(LOCAL_PATH)/rootdir/etc/ueventd-odm.rc:$(TARGET_COPY_OUT_ODM)/etc/ueventd.rc
  320. # Update engine
  321. PRODUCT_PACKAGES += \
  322. update_engine \
  323. update_engine_sideload \
  324. update_verifier
  325. PRODUCT_PACKAGES_DEBUG += \
  326. update_engine_client
  327. # USB
  328. PRODUCT_PACKAGES += \
  329. [email protected]
  330. PRODUCT_COPY_FILES += \
  331. frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
  332. frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
  333. # Vendor service manager
  334. PRODUCT_PACKAGES += \
  335. vndservicemanager
  336. # Vendor init
  337. PRODUCT_COPY_FILES += \
  338. $(LOCAL_PATH)/rootdir/etc/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.rc \
  339. $(LOCAL_PATH)/rootdir/etc/init.target.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.target.rc \
  340. $(LOCAL_PATH)/rootdir/etc/init.touch_report.rc:$(TARGET_COPY_OUT_RECOVERY)/root/vendor/etc/init/init.touch_report.rc \
  341. $(LOCAL_PATH)/rootdir/etc/init.touch_report.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.touch_report.rc \
  342. $(LOCAL_PATH)/rootdir/etc/init.xiaomi_sm8450.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.xiaomi_sm8450.rc \
  343. PRODUCT_COPY_FILES += \
  344. $(LOCAL_PATH)/rootdir/bin/init.class_main.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.class_main.sh \
  345. $(LOCAL_PATH)/rootdir/bin/init.qcom.class_core.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.class_core.sh \
  346. $(LOCAL_PATH)/rootdir/bin/init.qcom.early_boot.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.early_boot.sh \
  347. $(LOCAL_PATH)/rootdir/bin/init.qcom.post_boot.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.post_boot.sh \
  348. $(LOCAL_PATH)/rootdir/bin/init.qcom.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom.sh
  349. # Verified boot
  350. PRODUCT_COPY_FILES += \
  351. frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
  352. # WiFi
  353. PRODUCT_PACKAGES += \
  354. [email protected] \
  355. hostapd \
  356. hostapd_cli \
  357. libwifi-hal-qcom \
  358. libwpa_client \
  359. wpa_cli \
  360. wpa_supplicant \
  361. wpa_supplicant.conf
  362. PRODUCT_COPY_FILES += \
  363. $(LOCAL_PATH)/wlan/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
  364. $(LOCAL_PATH)/wlan/vendor_cmd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/vendor_cmd.xml \
  365. $(LOCAL_PATH)/wlan/WCNSS_qcom_cfg_qca6490.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/qca6490/WCNSS_qcom_cfg.ini \
  366. $(LOCAL_PATH)/wlan/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
  367. PRODUCT_COPY_FILES += \
  368. frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \
  369. frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
  370. frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
  371. frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \
  372. frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml
  373. # WiFi Display
  374. PRODUCT_PACKAGES += \
  375. libnl \
  376. libwfdaac_vendor