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