1ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) 2ifneq ($(BUILD_TINY_ANDROID),true) 3 4LOCAL_PATH := $(call my-dir) 5 6include $(CLEAR_VARS) 7 8LOCAL_MODULE := libloc_core 9LOCAL_MODULE_OWNER := qcom 10 11LOCAL_MODULE_TAGS := optional 12 13ifeq ($(TARGET_DEVICE),apq8026_lw) 14LOCAL_CFLAGS += -DPDK_FEATURE_SET 15else ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true) 16LOCAL_CFLAGS += -DPDK_FEATURE_SET 17endif 18 19LOCAL_SHARED_LIBRARIES := \ 20 libutils \ 21 liblog \ 22 libcutils \ 23 libgps.utils \ 24 libdl 25 26LOCAL_SRC_FILES += \ 27 MsgTask.cpp \ 28 LocApiBase.cpp \ 29 LocAdapterBase.cpp \ 30 ContextBase.cpp \ 31 LocDualContext.cpp \ 32 loc_core_log.cpp 33 34LOCAL_CFLAGS += \ 35 -fno-short-enums \ 36 -D_ANDROID_ \ 37 -Wno-unused-parameter 38 39LOCAL_C_INCLUDES:= \ 40 $(TARGET_OUT_HEADERS)/gps.utils 41 42LOCAL_COPY_HEADERS_TO:= libloc_core/ 43LOCAL_COPY_HEADERS:= \ 44 MsgTask.h \ 45 LocApiBase.h \ 46 LocAdapterBase.h \ 47 ContextBase.h \ 48 LocDualContext.h \ 49 LBSProxyBase.h \ 50 UlpProxyBase.h \ 51 gps_extended_c.h \ 52 gps_extended.h \ 53 loc_core_log.h \ 54 LocAdapterProxyBase.h 55 56LOCAL_PRELINK_MODULE := false 57 58include $(BUILD_SHARED_LIBRARY) 59 60endif # not BUILD_TINY_ANDROID 61endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 62