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 15LOCAL_SRC_FILES += \ 16 loc_log.cpp \ 17 loc_cfg.cpp \ 18 msg_q.c \ 19 linked_list.c \ 20 loc_target.cpp \ 21 platform_lib_abstractions/elapsed_millis_since_boot.cpp \ 22 LocHeap.cpp \ 23 LocTimer.cpp \ 24 LocThread.cpp \ 25 MsgTask.cpp \ 26 loc_misc_utils.cpp 27 28LOCAL_CFLAGS += \ 29 -fno-short-enums \ 30 -D_ANDROID_ 31 32ifeq ($(TARGET_BUILD_VARIANT),user) 33 LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER 34endif 35 36LOCAL_LDFLAGS += -Wl,--export-dynamic 37 38## Includes 39LOCAL_C_INCLUDES:= \ 40 $(LOCAL_PATH)/platform_lib_abstractions 41 42 43LOCAL_MODULE := libgps.utils 44 45LOCAL_MODULE_TAGS := optional 46 47LOCAL_MODULE_OWNER := qcom 48 49LOCAL_PROPRIETARY_MODULE := true 50 51LOCAL_PRELINK_MODULE := false 52 53include $(BUILD_SHARED_LIBRARY) 54 55include $(CLEAR_VARS) 56LOCAL_MODULE := libgps.utils_headers 57LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) $(LOCAL_PATH)/platform_lib_abstractions 58include $(BUILD_HEADER_LIBRARY) 59 60endif # not BUILD_TINY_ANDROID 61endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 62