M7350/qcom-opensource/location/loc_api/loc_api_v02/Android.mk

56 lines
1.0 KiB
Makefile
Raw Normal View History

2024-09-09 08:52:07 +00:00
ifneq ($(BUILD_TINY_ANDROID),true)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libloc_api_v02
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := \
libutils \
libcutils \
libqmi_cci \
libqmi_csi \
libqmi_common_so \
2024-09-09 08:57:42 +00:00
libloc_core \
libgps.utils \
libloc_ds_api
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
LOCAL_SRC_FILES = \
LocApiV02.cpp \
2024-09-09 08:52:07 +00:00
loc_api_v02_log.c \
loc_api_v02_client.c \
loc_api_sync_req.c \
location_service_v02.c
LOCAL_CFLAGS += \
-fno-short-enums \
-D_ANDROID_
2024-09-09 08:57:42 +00:00
LOCAL_COPY_HEADERS_TO:= libloc_api_v02/
LOCAL_COPY_HEADERS:= \
location_service_v02.h \
loc_api_v02_log.h \
loc_api_v02_client.h \
loc_api_sync_req.h \
LocApiV02.h \
loc_util_log.h
2024-09-09 08:52:07 +00:00
## Includes
LOCAL_C_INCLUDES := \
2024-09-09 08:57:42 +00:00
$(TARGET_OUT_HEADERS)/libloc_core \
2024-09-09 08:52:07 +00:00
$(TARGET_OUT_HEADERS)/qmi-framework/inc \
$(TARGET_OUT_HEADERS)/qmi/inc \
2024-09-09 08:57:42 +00:00
$(TARGET_OUT_HEADERS)/gps.utils \
$(TARGET_OUT_HEADERS)/libloc_ds_api
2024-09-09 08:52:07 +00:00
LOCAL_PRELINK_MODULE := false
include $(BUILD_SHARED_LIBRARY)
endif # not BUILD_TINY_ANDROID