1LOCAL_PATH := $(call my-dir) 2 3qcom_qti_common_cflags := \ 4 -Wall \ 5 -Werror \ 6 -Wno-format \ 7 -Wno-unused-parameter \ 8 -Wno-unused-private-field \ 9 10include $(CLEAR_VARS) 11LOCAL_MODULE := android.hardware.gnss@1.0-impl-qti 12LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_not_a_contribution 13LOCAL_LICENSE_CONDITIONS := by_exception_only not_allowed notice 14LOCAL_VENDOR_MODULE := true 15LOCAL_MODULE_OWNER := qti 16LOCAL_MODULE_RELATIVE_PATH := hw 17LOCAL_CFLAGS := $(qcom_qti_common_cflags) 18LOCAL_SRC_FILES := \ 19 AGnss.cpp \ 20 Gnss.cpp \ 21 GnssBatching.cpp \ 22 GnssGeofencing.cpp \ 23 GnssMeasurement.cpp \ 24 GnssNi.cpp \ 25 GnssConfiguration.cpp \ 26 GnssDebug.cpp \ 27 AGnssRil.cpp 28 29LOCAL_SRC_FILES += \ 30 location_api/LocationUtil.cpp \ 31 location_api/GnssAPIClient.cpp \ 32 location_api/GeofenceAPIClient.cpp \ 33 location_api/FlpAPIClient.cpp \ 34 location_api/GnssMeasurementAPIClient.cpp \ 35 36LOCAL_C_INCLUDES:= \ 37 $(LOCAL_PATH)/location_api \ 38 $(TARGET_OUT_HEADERS)/gps.utils \ 39 $(TARGET_OUT_HEADERS)/libloc_core \ 40 $(TARGET_OUT_HEADERS)/libloc_pla \ 41 $(TARGET_OUT_HEADERS)/liblocation_api \ 42 43LOCAL_SHARED_LIBRARIES := \ 44 liblog \ 45 libhidlbase \ 46 libutils \ 47 android.hardware.gnss@1.0 \ 48 49LOCAL_SHARED_LIBRARIES += \ 50 libloc_core \ 51 libgps.utils \ 52 libdl \ 53 libloc_pla \ 54 liblocation_api \ 55 56include $(BUILD_SHARED_LIBRARY) 57 58include $(CLEAR_VARS) 59LOCAL_MODULE := android.hardware.gnss@1.0-service-qti 60LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_not_a_contribution 61LOCAL_LICENSE_CONDITIONS := by_exception_only not_allowed notice 62LOCAL_MODULE_OWNER := qti 63LOCAL_MODULE_RELATIVE_PATH := hw 64LOCAL_INIT_RC := android.hardware.gnss@1.0-service-qti.rc 65LOCAL_VENDOR_MODULE := true 66LOCAL_CFLAGS := $(qcom_qti_common_cflags) 67LOCAL_SRC_FILES := \ 68 service.cpp \ 69 70LOCAL_C_INCLUDES:= \ 71 $(LOCAL_PATH)/location_api \ 72 $(TARGET_OUT_HEADERS)/gps.utils \ 73 $(TARGET_OUT_HEADERS)/libloc_core \ 74 $(TARGET_OUT_HEADERS)/libloc_pla \ 75 $(TARGET_OUT_HEADERS)/liblocation_api \ 76 77 78LOCAL_SHARED_LIBRARIES := \ 79 liblog \ 80 libcutils \ 81 libdl \ 82 libbase \ 83 libutils \ 84 85LOCAL_SHARED_LIBRARIES += \ 86 libhidlbase \ 87 android.hardware.gnss@1.0 \ 88 89include $(BUILD_EXECUTABLE) 90