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