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