1#Compile this library only for builds with the latest modem image 2 3LOCAL_PATH := $(call my-dir) 4 5include $(CLEAR_VARS) 6 7## Libs 8LOCAL_SHARED_LIBRARIES := \ 9 libutils \ 10 libcutils \ 11 liblog 12 13LOCAL_SRC_FILES += \ 14 loc_log.cpp \ 15 loc_cfg.cpp \ 16 msg_q.c \ 17 linked_list.c \ 18 loc_target.cpp \ 19 loc_timer.c \ 20 ../platform_lib_abstractions/elapsed_millis_since_boot.cpp 21 22 23LOCAL_CFLAGS += \ 24 -fno-short-enums \ 25 -D_ANDROID_ 26 27LOCAL_LDFLAGS += -Wl,--export-dynamic 28 29## Includes 30LOCAL_C_INCLUDES:= \ 31 $(LOCAL_PATH)/../platform_lib_abstractions 32 33LOCAL_COPY_HEADERS_TO:= gps.utils/ 34LOCAL_COPY_HEADERS:= \ 35 loc_log.h \ 36 loc_cfg.h \ 37 log_util.h \ 38 linked_list.h \ 39 msg_q.h \ 40 loc_target.h \ 41 loc_timer.h \ 42 ../platform_lib_abstractions/platform_lib_includes.h \ 43 ../platform_lib_abstractions/platform_lib_time.h \ 44 ../platform_lib_abstractions/platform_lib_macros.h 45 46 47LOCAL_MODULE := libgps.utils 48LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 49LOCAL_LICENSE_CONDITIONS := notice 50 51LOCAL_MODULE_TAGS := optional 52 53LOCAL_PRELINK_MODULE := false 54 55LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES) 56include $(BUILD_SHARED_LIBRARY) 57