th1520-common.mk 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. TARGET_BOARD_PLATFORM := th1520
  2. $(call inherit-product, vendor/thead/proprietary/config/chipset/th1520/th1520.mk)
  3. include device/thead/th1520/subdevs/graphics/graphics.mk
  4. include device/thead/th1520/subdevs/security/security.mk
  5. include device/thead/th1520/subdevs/updater/updater.mk
  6. include device/thead/th1520/subdevs/performance/performance.mk
  7. include device/thead/th1520/subdevs/audio/audio.mk
  8. include device/thead/th1520/subdevs/camera/camera.mk
  9. include device/thead/th1520/subdevs/media/media.mk
  10. include device/thead/th1520/subdevs/connectivity/connectivity.mk
  11. PRODUCT_SHIPPING_API_LEVEL := 31
  12. PRODUCT_CHARACTERISTICS := tablet
  13. # FIXME API_LEVEL 32 required manifest fcm verison ge 6
  14. # but now is 3
  15. DEVICE_MANIFEST_FILE += \
  16. device/thead/th1520/manifest.xml
  17. PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false
  18. # Enable userspace reboot
  19. $(call inherit-product, $(SRC_TARGET_DIR)/product/userspace_reboot.mk)
  20. # Enable project quotas and casefolding for emulated storage without sdcardfs
  21. $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
  22. # setup dalvik vm configs
  23. $(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
  24. # Enable Virtual A/B
  25. # $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/compression.mk)
  26. # $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
  27. #debug tools included only for userdebug and eng build
  28. ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
  29. PRODUCT_PACKAGES += \
  30. modetest
  31. endif
  32. ifeq ($(TARGET_PREBUILT_KERNEL_MODULES), )
  33. KERNEL_MODULE_DIR := device/thead/th1520-kernel
  34. else
  35. KERNEL_MODULE_DIR := $(TARGET_PREBUILT_KERNEL_MODULES)
  36. endif
  37. BOARD_VENDOR_KERNEL_MODULES := $(wildcard $(KERNEL_MODULE_DIR)/*.ko)