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 libprocessgroup 26 27LOCAL_SRC_FILES += \ 28 MsgTask.cpp \ 29 LocApiBase.cpp \ 30 LocAdapterBase.cpp \ 31 ContextBase.cpp \ 32 LocDualContext.cpp \ 33 loc_core_log.cpp 34 35LOCAL_CFLAGS += \ 36 -fno-short-enums \ 37 -D_ANDROID_ \ 38 -Wno-unused-parameter 39 40LOCAL_C_INCLUDES:= \ 41 $(TARGET_OUT_HEADERS)/gps.utils 42 43LOCAL_COPY_HEADERS_TO:= libloc_core/ 44LOCAL_COPY_HEADERS:= \ 45 MsgTask.h \ 46 LocApiBase.h \ 47 LocAdapterBase.h \ 48 ContextBase.h \ 49 LocDualContext.h \ 50 LBSProxyBase.h \ 51 UlpProxyBase.h \ 52 gps_extended_c.h \ 53 gps_extended.h \ 54 loc_core_log.h \ 55 LocAdapterProxyBase.h 56 57LOCAL_PRELINK_MODULE := false 58 59include $(BUILD_SHARED_LIBRARY) 60 61endif # not BUILD_TINY_ANDROID 62endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 63