1ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) 2ifneq ($(BUILD_TINY_ANDROID),true) 3#Compile this library only for builds with the latest modem image 4 5LOCAL_PATH := $(call my-dir) 6 7include $(CLEAR_VARS) 8 9## Libs 10LOCAL_SHARED_LIBRARIES := \ 11 libutils \ 12 libcutils \ 13 liblog \ 14 libprocessgroup 15 16LOCAL_SRC_FILES += \ 17 loc_log.cpp \ 18 loc_cfg.cpp \ 19 msg_q.c \ 20 linked_list.c \ 21 loc_target.cpp \ 22 platform_lib_abstractions/elapsed_millis_since_boot.cpp \ 23 LocHeap.cpp \ 24 LocTimer.cpp \ 25 LocThread.cpp \ 26 MsgTask.cpp \ 27 loc_misc_utils.cpp 28 29LOCAL_CFLAGS += \ 30 -fno-short-enums \ 31 -D_ANDROID_ 32 33ifeq ($(TARGET_BUILD_VARIANT),user) 34 LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER 35endif 36 37LOCAL_LDFLAGS += -Wl,--export-dynamic 38 39## Includes 40LOCAL_C_INCLUDES:= \ 41 $(LOCAL_PATH)/platform_lib_abstractions 42 43 44LOCAL_MODULE := libgps.utils 45 46LOCAL_MODULE_TAGS := optional 47 48LOCAL_MODULE_OWNER := qcom 49 50LOCAL_PROPRIETARY_MODULE := true 51 52LOCAL_PRELINK_MODULE := false 53 54include $(BUILD_SHARED_LIBRARY) 55 56include $(CLEAR_VARS) 57LOCAL_MODULE := libgps.utils_headers 58LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) $(LOCAL_PATH)/platform_lib_abstractions 59include $(BUILD_HEADER_LIBRARY) 60 61endif # not BUILD_TINY_ANDROID 62endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 63