51dca017c5
Implement AGnss, AGnssRil, GnssConfiguration, GnssMeasurement and MeasurementCorrections of GNSS HAL 2.0 to on par with Android P Change-Id: Id430e60c2d9cc7333f4b331c7e5a1e9a45a0289a CRs-Fixed: 2342198
92 lines
2.2 KiB
Makefile
92 lines
2.2 KiB
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := android.hardware.gnss@2.0-impl-qti
|
|
LOCAL_VENDOR_MODULE := true
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
LOCAL_SRC_FILES := \
|
|
AGnss.cpp \
|
|
Gnss.cpp \
|
|
AGnssRil.cpp \
|
|
GnssMeasurement.cpp \
|
|
GnssConfiguration.cpp \
|
|
GnssBatching.cpp \
|
|
GnssGeofencing.cpp \
|
|
GnssNi.cpp \
|
|
GnssDebug.cpp \
|
|
../measurement_corrections/1.0/MeasurementCorrections.cpp \
|
|
../visibility_control/1.0/GnssVisibilityControl.cpp
|
|
|
|
LOCAL_SRC_FILES += \
|
|
location_api/GnssAPIClient.cpp \
|
|
location_api/MeasurementAPIClient.cpp \
|
|
location_api/GeofenceAPIClient.cpp \
|
|
location_api/BatchingAPIClient.cpp \
|
|
location_api/LocationUtil.cpp \
|
|
|
|
LOCAL_C_INCLUDES:= \
|
|
$(LOCAL_PATH)/location_api \
|
|
$(LOCAL_PATH)/../measurement_corrections/1.0 \
|
|
$(LOCAL_PATH)/../visibility_control/1.0
|
|
LOCAL_HEADER_LIBRARIES := \
|
|
libgps.utils_headers \
|
|
libloc_core_headers \
|
|
libloc_pla_headers \
|
|
liblocation_api_headers
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libhidlbase \
|
|
libhidltransport \
|
|
libhwbinder \
|
|
libcutils \
|
|
libutils \
|
|
android.hardware.gnss@1.0 \
|
|
android.hardware.gnss@1.1 \
|
|
android.hardware.gnss@2.0 \
|
|
android.hardware.gnss.measurement_corrections@1.0 \
|
|
android.hardware.gnss.visibility_control@1.0
|
|
|
|
LOCAL_SHARED_LIBRARIES += \
|
|
libloc_core \
|
|
libgps.utils \
|
|
libdl \
|
|
liblocation_api \
|
|
|
|
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 := \
|
|
service.cpp \
|
|
|
|
LOCAL_HEADER_LIBRARIES := \
|
|
libgps.utils_headers \
|
|
libloc_core_headers \
|
|
libloc_pla_headers \
|
|
liblocation_api_headers
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libcutils \
|
|
libdl \
|
|
libbase \
|
|
libutils \
|
|
libgps.utils \
|
|
libqti_vndfwk_detect \
|
|
|
|
LOCAL_SHARED_LIBRARIES += \
|
|
libhwbinder \
|
|
libhidlbase \
|
|
libhidltransport \
|
|
android.hardware.gnss@1.0 \
|
|
android.hardware.gnss@1.1 \
|
|
android.hardware.gnss@2.0 \
|
|
|
|
LOCAL_CFLAGS += $(GNSS_CFLAGS)
|
|
include $(BUILD_EXECUTABLE)
|