Implement AGnss, AGnssRil, GnssConfiguration, GnssMeasurement and MeasurementCorrections of GNSS HAL 2.0 to on par with Android P Change-Id: Id430e60c2d9cc7333f4b331c7e5a1e9a45a0289a CRs-Fixed: 2342198
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
#build dummy android.hardware.gnss@2.0-impl-qti
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := android.hardware.gnss@2.0-impl-qti
|
|
LOCAL_VENDOR_MODULE := true
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
LOCAL_SRC_FILES := GnssDummy.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libhidlbase \
|
|
libhidltransport \
|
|
libhwbinder \
|
|
libcutils \
|
|
libutils \
|
|
android.hardware.gnss@1.0 \
|
|
|
|
LOCAL_CFLAGS += $(GNSS_CFLAGS)
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := android.hardware.gnss@2.0-service-qti
|
|
LOCAL_VENDOR_MODULE := true
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
LOCAL_INIT_RC := android.hardware.gnss@2.0-service-qti.rc
|
|
LOCAL_SRC_FILES := \
|
|
serviceDummy.cpp \
|
|
|
|
#LOCAL_C_INCLUDES:= \
|
|
$(LOCAL_PATH)/location_api
|
|
#LOCAL_HEADER_LIBRARIES := \
|
|
libgps.utils_headers \
|
|
libloc_core_headers \
|
|
libloc_pla_headers \
|
|
liblocation_api_headers
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libcutils \
|
|
libdl \
|
|
libbase \
|
|
libutils \
|
|
|
|
LOCAL_SHARED_LIBRARIES += \
|
|
libhwbinder \
|
|
libhidlbase \
|
|
libhidltransport \
|
|
android.hardware.gnss@1.0 \
|
|
|
|
LOCAL_CFLAGS += $(GNSS_CFLAGS)
|
|
include $(BUILD_EXECUTABLE)
|