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 $(TARGET_OUT_HEADERS)/libflp 40 41 LOCAL_COPY_HEADERS_TO:= libloc_core/ 42 LOCAL_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 54 LOCAL_PRELINK_MODULE := false 55 56 include $(BUILD_SHARED_LIBRARY) 57 58 endif # not BUILD_TINY_ANDROID 59 endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 60