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