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_VENDOR_MODULE := true 10LOCAL_MODULE_OWNER := qcom 11 12LOCAL_MODULE_TAGS := optional 13 14ifeq ($(TARGET_DEVICE),apq8026_lw) 15LOCAL_CFLAGS += -DPDK_FEATURE_SET 16else ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true) 17LOCAL_CFLAGS += -DPDK_FEATURE_SET 18endif 19 20LOCAL_SHARED_LIBRARIES := \ 21 libutils \ 22 libcutils \ 23 libgps.utils \ 24 libdl \ 25 liblog 26 27LOCAL_SRC_FILES += \ 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 $(TARGET_OUT_HEADERS)/libflp 43 44LOCAL_HEADER_LIBRARIES := libutils_headers 45 46LOCAL_COPY_HEADERS_TO:= libloc_core/ 47LOCAL_COPY_HEADERS:= \ 48 LocApiBase.h \ 49 LocAdapterBase.h \ 50 ContextBase.h \ 51 LocDualContext.h \ 52 LBSProxyBase.h \ 53 UlpProxyBase.h \ 54 gps_extended_c.h \ 55 gps_extended.h \ 56 loc_core_log.h \ 57 LocAdapterProxyBase.h 58 59LOCAL_PRELINK_MODULE := false 60 61include $(BUILD_SHARED_LIBRARY) 62 63endif # not BUILD_TINY_ANDROID 64endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 65