1 ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) 2 ifneq ($(BUILD_TINY_ANDROID),true) 3 4 LOCAL_PATH := $(call my-dir) 5 6 include $(CLEAR_VARS) 7 8 LOCAL_MODULE := libloc_core 9 LOCAL_MODULE_OWNER := qcom 10 11 LOCAL_MODULE_TAGS := optional 12 13 ifeq ($(TARGET_DEVICE),apq8026_lw) 14 LOCAL_CFLAGS += -DPDK_FEATURE_SET 15 else ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true) 16 LOCAL_CFLAGS += -DPDK_FEATURE_SET 17 endif 18 19 LOCAL_SHARED_LIBRARIES := \ 20 libutils \ 21 libcutils \ 22 libgps.utils \ 23 libdl \ 24 libloc_pla 25 26 LOCAL_SRC_FILES += \ 27 LocApiBase.cpp \ 28 LocAdapterBase.cpp \ 29 ContextBase.cpp \ 30 LocDualContext.cpp \ 31 loc_core_log.cpp 32 33 LOCAL_CFLAGS += \ 34 -fno-short-enums \ 35 -D_ANDROID_ 36 37 LOCAL_C_INCLUDES:= \ 38 $(TARGET_OUT_HEADERS)/gps.utils \ 39 $(TARGET_OUT_HEADERS)/libflp \ 40 $(TARGET_OUT_HEADERS)/libloc_pla 41 42 LOCAL_COPY_HEADERS_TO:= libloc_core/ 43 LOCAL_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 55 LOCAL_PRELINK_MODULE := false 56 57 include $(BUILD_SHARED_LIBRARY) 58 59 endif # not BUILD_TINY_ANDROID 60 endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 61