common.mk 21 KB

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