I'm using Android 9 Auto. I have kept my libgps source code under /vendor/nxp-opensource/imx/libgps.
If i build using command 'mm' by going inside vendor/nxp-opensource/imx/libgps, i can see that in out folder gps.MEK.so is created. However when i build completed Android build then i dont see its getting created. I have tried this after deleting all symbols, intermediates which were created in standalone build. I've also added USE_ATHR_GPS_HARDWARE=true in BoardConfig.mk
Please let me know what wrong I'm doing.
My Android.mk file is like below:
LOCAL_PATH := $(call my-dir)
# HAL module implemenation, not prelinked and stored in
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_SHARED_LIBRARIES := liblog libcutils libhardware
LOCAL_SRC_FILES := athr_gps.c
LOCAL_SRC_FILES += gps.c
LOCAL_MODULE := gps.$(TARGET_BOOTLOADER_BOARD_NAME)
LOCAL_MODULE_TAGS := optional