ed22efea40
* CAF package version: kk_3.5 * Revert the following patch as it's causing a missing symbol error when loading Samsung proprietary GPS libraries: "Add a new LocAdapterProxyBase class" Change-Id: Ib23df3e207048ed32880537a528aa7f85ebcdfe1
101 lines
1.8 KiB
Makefile
101 lines
1.8 KiB
Makefile
ifneq ($(BUILD_TINY_ANDROID),true)
|
|
#Compile this library only for builds with the latest modem image
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libloc_eng
|
|
LOCAL_MODULE_OWNER := qcom
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libutils \
|
|
libcutils \
|
|
libdl \
|
|
liblog \
|
|
libloc_core \
|
|
libgps.utils
|
|
|
|
LOCAL_SRC_FILES += \
|
|
loc_eng.cpp \
|
|
loc_eng_agps.cpp \
|
|
loc_eng_xtra.cpp \
|
|
loc_eng_ni.cpp \
|
|
loc_eng_log.cpp \
|
|
loc_eng_nmea.cpp \
|
|
LocEngAdapter.cpp
|
|
|
|
LOCAL_SRC_FILES += \
|
|
loc_eng_dmn_conn.cpp \
|
|
loc_eng_dmn_conn_handler.cpp \
|
|
loc_eng_dmn_conn_thread_helper.c \
|
|
loc_eng_dmn_conn_glue_msg.c \
|
|
loc_eng_dmn_conn_glue_pipe.c
|
|
|
|
LOCAL_CFLAGS += \
|
|
-fno-short-enums \
|
|
-D_ANDROID_
|
|
|
|
LOCAL_C_INCLUDES:= \
|
|
$(TARGET_OUT_HEADERS)/gps.utils \
|
|
$(TARGET_OUT_HEADERS)/libloc_core \
|
|
$(LOCAL_PATH)
|
|
|
|
LOCAL_COPY_HEADERS_TO:= libloc_eng/
|
|
LOCAL_COPY_HEADERS:= \
|
|
LocEngAdapter.h \
|
|
loc.h \
|
|
loc_eng.h \
|
|
loc_eng_xtra.h \
|
|
loc_eng_ni.h \
|
|
loc_eng_agps.h \
|
|
loc_eng_msg.h \
|
|
loc_eng_log.h
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := gps.msm8974
|
|
LOCAL_MODULE_OWNER := qcom
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
## Libs
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libutils \
|
|
libcutils \
|
|
liblog \
|
|
libloc_eng \
|
|
libloc_core \
|
|
libgps.utils \
|
|
libdl
|
|
|
|
LOCAL_SRC_FILES += \
|
|
loc.cpp \
|
|
gps.c
|
|
|
|
LOCAL_CFLAGS += \
|
|
-fno-short-enums \
|
|
-D_ANDROID_ \
|
|
|
|
ifeq ($(TARGET_USES_QCOM_BSP), true)
|
|
LOCAL_CFLAGS += -DTARGET_USES_QCOM_BSP
|
|
endif
|
|
|
|
## Includes
|
|
LOCAL_C_INCLUDES:= \
|
|
$(TARGET_OUT_HEADERS)/gps.utils \
|
|
$(TARGET_OUT_HEADERS)/libloc_core
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
endif # not BUILD_TINY_ANDROID
|