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 libcutils \ 22 libgps.utils \ 23 libdl \ 24 libprocessgroup 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 -Wno-error \ 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