5230c34f83
Change-Id: Idc1e896796742df928ef244bf003d24e87bfd3d7
60 lines
1.2 KiB
Makefile
60 lines
1.2 KiB
Makefile
ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
|
|
ifneq ($(BUILD_TINY_ANDROID),true)
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libloc_core
|
|
LOCAL_VENDOR_MODULE := true
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libutils \
|
|
libcutils \
|
|
libgps.utils \
|
|
libdl \
|
|
liblog
|
|
|
|
LOCAL_SRC_FILES += \
|
|
LocApiBase.cpp \
|
|
LocAdapterBase.cpp \
|
|
ContextBase.cpp \
|
|
LocContext.cpp \
|
|
loc_core_log.cpp \
|
|
data-items/DataItemsFactoryProxy.cpp \
|
|
SystemStatusOsObserver.cpp \
|
|
SystemStatus.cpp
|
|
|
|
LOCAL_CFLAGS += \
|
|
-fno-short-enums \
|
|
-D_ANDROID_
|
|
|
|
LOCAL_C_INCLUDES:= \
|
|
$(LOCAL_PATH)/data-items \
|
|
$(LOCAL_PATH)/data-items/common \
|
|
$(LOCAL_PATH)/observer \
|
|
|
|
LOCAL_HEADER_LIBRARIES := \
|
|
libutils_headers \
|
|
libgps.utils_headers \
|
|
libloc_pla_headers \
|
|
liblocation_api_headers
|
|
|
|
LOCAL_CFLAGS += $(GNSS_CFLAGS)
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := libloc_core_headers
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := \
|
|
$(LOCAL_PATH) \
|
|
$(LOCAL_PATH)/data-items \
|
|
$(LOCAL_PATH)/data-items/common \
|
|
$(LOCAL_PATH)/observer
|
|
include $(BUILD_HEADER_LIBRARY)
|
|
|
|
endif # not BUILD_TINY_ANDROID
|
|
endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
|