You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

common-treble.mk 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. # RenderScript HAL
  2. PRODUCT_PACKAGES += \
  3. android.hardware.renderscript@1.0-impl
  4. # Graphics
  5. PRODUCT_PACKAGES += \
  6. android.hardware.graphics.allocator@2.0-impl:64 \
  7. android.hardware.graphics.allocator@2.0-service \
  8. android.hardware.graphics.composer@2.1-impl:64 \
  9. android.hardware.graphics.composer@2.1-service \
  10. android.hardware.graphics.mapper@2.0-impl
  11. # Memtrack
  12. PRODUCT_PACKAGES += \
  13. android.hardware.memtrack@1.0-impl \
  14. android.hardware.memtrack@1.0-service
  15. # Configstore
  16. PRODUCT_PACKAGES += \
  17. android.hardware.configstore@1.1-service
  18. # RIL
  19. # Interface library needed by odm blobs:
  20. PRODUCT_PACKAGES += \
  21. android.hardware.radio.config@1.0
  22. # Audio
  23. PRODUCT_PACKAGES += \
  24. android.hardware.audio@4.0-impl:32 \
  25. android.hardware.audio@2.0-service \
  26. android.hardware.audio.effect@4.0-impl:32 \
  27. android.hardware.soundtrigger@2.1-impl:32
  28. # Camera
  29. PRODUCT_PACKAGES += \
  30. android.hardware.camera.provider@2.4-impl:32 \
  31. android.hardware.camera.provider@2.4-service
  32. # Wi-Fi
  33. PRODUCT_PACKAGES += \
  34. android.hardware.wifi@1.0-service
  35. # NFC packages
  36. PRODUCT_PACKAGES += \
  37. android.hardware.nfc@1.1-impl \
  38. android.hardware.nfc@1.1-service
  39. # GNSS
  40. PRODUCT_PACKAGES += \
  41. android.hardware.gnss@1.1-impl-qti \
  42. android.hardware.gnss@1.1-service-qti
  43. # Light
  44. PRODUCT_PACKAGES += \
  45. android.hardware.light@2.0-service.sony
  46. # Health
  47. PRODUCT_PACKAGES += \
  48. android.hardware.health@2.0-service.sony
  49. # Remove deprecated backup healthd; this can be omitted
  50. # once healthd is no longer included by default.
  51. DEVICE_FRAMEWORK_MANIFEST_FILE += \
  52. system/libhidl/vintfdata/manifest_healthd_exclude.xml
  53. # Sensors
  54. PRODUCT_PACKAGES += \
  55. android.hardware.sensors@1.0-impl:64 \
  56. android.hardware.sensors@1.0-service
  57. # Vibrator
  58. PRODUCT_PACKAGES += \
  59. android.hardware.vibrator@1.0-impl \
  60. android.hardware.vibrator@1.0-service
  61. # Fingerprint
  62. PRODUCT_PACKAGES += \
  63. android.hardware.biometrics.fingerprint@2.1-service.sony
  64. ifeq ($(TARGET_LEGACY_KEYMASTER),true)
  65. # Keymaster
  66. PRODUCT_PACKAGES += \
  67. android.hardware.keymaster@3.0-impl \
  68. android.hardware.keymaster@3.0-service
  69. # Gatekeeper
  70. PRODUCT_PACKAGES += \
  71. android.hardware.gatekeeper@1.0-impl \
  72. android.hardware.gatekeeper@1.0-service
  73. else ifeq ($(TARGET_KEYMASTER_V4),true)
  74. # Keymaster 4
  75. PRODUCT_PACKAGES += \
  76. android.hardware.keymaster@4.0-service-qti
  77. # Gatekeeper
  78. PRODUCT_PACKAGES += \
  79. android.hardware.gatekeeper@1.0-impl-qti \
  80. android.hardware.gatekeeper@1.0-service-qti
  81. else
  82. # Keymaster
  83. PRODUCT_PACKAGES += \
  84. android.hardware.keymaster@3.0-impl-qti \
  85. android.hardware.keymaster@3.0-service-qti
  86. # Gatekeeper
  87. PRODUCT_PACKAGES += \
  88. android.hardware.gatekeeper@1.0-impl-qti \
  89. android.hardware.gatekeeper@1.0-service-qti
  90. endif
  91. # DRM
  92. PRODUCT_PACKAGES += \
  93. android.hardware.drm@1.0-impl:32 \
  94. android.hardware.drm@1.0-service \
  95. android.hardware.drm@1.1-service.clearkey
  96. ifneq ($(BOARD_USE_LEGACY_USB),true)
  97. # Usb HAL
  98. PRODUCT_PACKAGES += \
  99. android.hardware.usb@1.0-service
  100. else
  101. # Simple Usb HAL
  102. PRODUCT_PACKAGES += \
  103. android.hardware.usb@1.0-service.basic
  104. endif
  105. # Thermal HAL
  106. PRODUCT_PACKAGES += \
  107. android.hardware.thermal@1.0-impl \
  108. android.hardware.thermal@1.0-service
  109. # Power
  110. PRODUCT_PACKAGES += \
  111. android.hardware.power@1.3-service.sony
  112. ifeq ($(AB_OTA_UPDATER),true)
  113. # Boot control
  114. PRODUCT_PACKAGES += \
  115. android.hardware.boot@1.0-impl:64 \
  116. android.hardware.boot@1.0-service
  117. endif