
The ndk_platform backend will soon be deprecated because the ndk backend can serve the same purpose. This is to eliminate the confusion about having two variants (ndk and ndk_platform) for the same ndk backend. Bug: 161456198 Test: m Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547 Change-Id: I7b9055909b901843631314b9577a9e578a739d00
83 lines
2.0 KiB
Makefile
83 lines
2.0 KiB
Makefile
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := android.hardware.gnss-aidl-impl-qti
|
|
# activate the following line for debug purposes only, comment out for production
|
|
#LOCAL_SANITIZE_DIAG += $(GNSS_SANITIZE_DIAG)
|
|
|
|
LOCAL_VENDOR_MODULE := true
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
LOCAL_VINTF_FRAGMENTS := android.hardware.gnss-aidl-service-qti.xml
|
|
|
|
LOCAL_SRC_FILES := \
|
|
Gnss.cpp \
|
|
GnssConfiguration.cpp \
|
|
GnssPowerIndication.cpp \
|
|
GnssMeasurementInterface.cpp \
|
|
location_api/GnssAPIClient.cpp
|
|
|
|
LOCAL_HEADER_LIBRARIES := \
|
|
libgps.utils_headers \
|
|
libloc_core_headers \
|
|
libloc_pla_headers \
|
|
liblocation_api_headers
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libbase \
|
|
libbinder_ndk \
|
|
android.hardware.gnss-V1-ndk \
|
|
liblog \
|
|
libcutils \
|
|
libqti_vndfwk_detect_vendor \
|
|
libutils \
|
|
libloc_core \
|
|
libgps.utils \
|
|
libdl \
|
|
liblocation_api
|
|
|
|
LOCAL_CFLAGS += $(GNSS_CFLAGS)
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := android.hardware.gnss-aidl-service-qti
|
|
# activate the following line for debug purposes only, comment out for production
|
|
#LOCAL_SANITIZE_DIAG += $(GNSS_SANITIZE_DIAG)
|
|
LOCAL_VINTF_FRAGMENTS := android.hardware.gnss-aidl-service-qti.xml
|
|
LOCAL_VENDOR_MODULE := true
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
LOCAL_INIT_RC := android.hardware.gnss-aidl-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 \
|
|
liblocation_api \
|
|
libqti_vndfwk_detect_vendor \
|
|
libbinder_ndk
|
|
|
|
LOCAL_SHARED_LIBRARIES += \
|
|
libhidlbase \
|
|
android.hardware.gnss@1.0 \
|
|
android.hardware.gnss@1.1 \
|
|
android.hardware.gnss@2.0 \
|
|
android.hardware.gnss@2.1 \
|
|
android.hardware.gnss-V1-ndk \
|
|
android.hardware.gnss-aidl-impl-qti
|
|
|
|
LOCAL_CFLAGS += $(GNSS_CFLAGS)
|
|
|
|
include $(BUILD_EXECUTABLE)
|