2016-11-08 13:39:00 +00:00
|
|
|
ifneq ($(BUILD_TINY_ANDROID),true)
|
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := libloc_core
|
|
|
|
LOCAL_MODULE_OWNER := qcom
|
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
|
|
|
ifeq ($(TARGET_DEVICE),apq8026_lw)
|
|
|
|
LOCAL_CFLAGS += -DPDK_FEATURE_SET
|
|
|
|
else ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true)
|
|
|
|
LOCAL_CFLAGS += -DPDK_FEATURE_SET
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libutils \
|
|
|
|
libcutils \
|
|
|
|
libgps.utils \
|
2017-06-27 09:20:50 +00:00
|
|
|
libdl \
|
|
|
|
libloc_pla
|
2016-11-08 13:39:00 +00:00
|
|
|
|
|
|
|
LOCAL_SRC_FILES += \
|
|
|
|
LocApiBase.cpp \
|
|
|
|
LocAdapterBase.cpp \
|
|
|
|
ContextBase.cpp \
|
|
|
|
LocDualContext.cpp \
|
|
|
|
loc_core_log.cpp
|
|
|
|
|
|
|
|
LOCAL_CFLAGS += \
|
|
|
|
-fno-short-enums \
|
|
|
|
-D_ANDROID_
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES:= \
|
|
|
|
$(TARGET_OUT_HEADERS)/gps.utils \
|
2017-06-27 09:20:50 +00:00
|
|
|
$(TARGET_OUT_HEADERS)/libflp \
|
|
|
|
$(TARGET_OUT_HEADERS)/libloc_pla
|
2016-11-08 13:39:00 +00:00
|
|
|
|
|
|
|
LOCAL_COPY_HEADERS_TO:= libloc_core/
|
|
|
|
LOCAL_COPY_HEADERS:= \
|
|
|
|
LocApiBase.h \
|
|
|
|
LocAdapterBase.h \
|
|
|
|
ContextBase.h \
|
|
|
|
LocDualContext.h \
|
|
|
|
LBSProxyBase.h \
|
|
|
|
UlpProxyBase.h \
|
|
|
|
gps_extended_c.h \
|
|
|
|
gps_extended.h \
|
|
|
|
loc_core_log.h \
|
|
|
|
LocAdapterProxyBase.h
|
|
|
|
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
endif # not BUILD_TINY_ANDROID
|