Android.mk 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
  2. # Set required flags
  3. GNSS_CFLAGS := \
  4. -Werror \
  5. -Wformat \
  6. -Wformat-extra-args \
  7. -Wunused-label \
  8. -Wunused-variable \
  9. -Wunused-function \
  10. -Wimplicit-fallthrough \
  11. -Wno-unused-parameter \
  12. -Wno-error=unused-parameter \
  13. -Wno-error=macro-redefined \
  14. -Wno-error=reorder \
  15. -Wno-error=missing-braces \
  16. -Wno-error=self-assign \
  17. -Wno-error=enum-conversion \
  18. -Wno-error=logical-op-parentheses \
  19. -Wno-error=null-arithmetic \
  20. -Wno-error=null-conversion \
  21. -Wno-error=parentheses-equality \
  22. -Wno-error=undefined-bool-conversion \
  23. -Wno-error=tautological-compare \
  24. -Wno-error=switch
  25. GNSS_HIDL_VERSION := 2.1
  26. GNSS_AIDL_VERSION := 1
  27. GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8937
  28. GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8953
  29. GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8998
  30. GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += apq8098_latv
  31. GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm710
  32. GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += qcs605
  33. GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm845
  34. GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm660
  35. ifneq (,$(filter $(GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST),$(TARGET_BOARD_PLATFORM)))
  36. GNSS_HIDL_LEGACY_MEASURMENTS := true
  37. endif
  38. LOCAL_PATH := $(call my-dir)
  39. include $(call all-makefiles-under,$(LOCAL_PATH))
  40. GNSS_SANITIZE_DIAG := cfi bounds null unreachable integer address
  41. endif # ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)