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 -Wno-error \ 27 28LOCAL_LDFLAGS += -Wl,--export-dynamic 29 30## Includes 31LOCAL_C_INCLUDES:= \ 32 $(LOCAL_PATH)/../platform_lib_abstractions 33 34LOCAL_COPY_HEADERS_TO:= gps.utils/ 35LOCAL_COPY_HEADERS:= \ 36 loc_log.h \ 37 loc_cfg.h \ 38 log_util.h \ 39 linked_list.h \ 40 msg_q.h \ 41 loc_target.h \ 42 loc_timer.h \ 43 ../platform_lib_abstractions/platform_lib_includes.h \ 44 ../platform_lib_abstractions/platform_lib_time.h \ 45 ../platform_lib_abstractions/platform_lib_macros.h 46 47 48LOCAL_MODULE := libgps.utils 49 50LOCAL_MODULE_TAGS := optional 51 52LOCAL_PRELINK_MODULE := false 53 54LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES) 55include $(BUILD_SHARED_LIBRARY) 56