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