device.mk 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #
  2. # Copyright (C) 2023 The Android Open Source Project
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. LOCAL_PATH := device/samsung/dm2q
  17. # Dynamic partitions
  18. PRODUCT_USE_DYNAMIC_PARTITIONS := true
  19. # fastbootd
  20. PRODUCT_PACKAGES += \
  21. android.hardware.fastboot@1.0-impl-mock \
  22. fastbootd
  23. # qcom decryption
  24. PRODUCT_PACKAGES += \
  25. qcom_decrypt \
  26. qcom_decrypt_fbe
  27. # Dependencies
  28. TARGET_RECOVERY_DEVICE_MODULES += \
  29. libion \
  30. libdmabufheap
  31. RECOVERY_LIBRARY_SOURCE_FILES += \
  32. $(TARGET_OUT_SHARED_LIBRARIES)/libion.so \
  33. $(TARGET_OUT_SHARED_LIBRARIES)/libdmabufheap.so
  34. # Enable Fuse Passthrough
  35. PRODUCT_PROPERTY_OVERRIDES += persist.sys.fuse.passthrough.enable=true