1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4LOCAL_MODULE := android.hardware.gnss@1.1-impl-qti 5LOCAL_VENDOR_MODULE := true 6LOCAL_MODULE_RELATIVE_PATH := hw 7LOCAL_SRC_FILES := \ 8 AGnss.cpp \ 9 Gnss.cpp \ 10 GnssBatching.cpp \ 11 GnssGeofencing.cpp \ 12 GnssMeasurement.cpp \ 13 GnssNi.cpp \ 14 GnssConfiguration.cpp \ 15 GnssDebug.cpp \ 16 AGnssRil.cpp 17 18LOCAL_SRC_FILES += \ 19 location_api/LocationUtil.cpp \ 20 location_api/GnssAPIClient.cpp \ 21 location_api/GeofenceAPIClient.cpp \ 22 location_api/BatchingAPIClient.cpp \ 23 location_api/MeasurementAPIClient.cpp \ 24 25LOCAL_C_INCLUDES:= \ 26 $(LOCAL_PATH)/location_api 27LOCAL_HEADER_LIBRARIES := \ 28 libgps.utils_headers \ 29 libloc_core_headers \ 30 libloc_pla_headers \ 31 liblocation_api_headers 32 33LOCAL_SHARED_LIBRARIES := \ 34 liblog \ 35 libhidlbase \ 36 libhidltransport \ 37 libhwbinder \ 38 libcutils \ 39 libutils \ 40 android.hardware.gnss@1.0 \ 41 android.hardware.gnss@1.1 \ 42 43LOCAL_SHARED_LIBRARIES += \ 44 libloc_core \ 45 libgps.utils \ 46 libdl \ 47 liblocation_api \ 48 49LOCAL_CFLAGS += $(GNSS_CFLAGS) 50include $(BUILD_SHARED_LIBRARY) 51 52include $(CLEAR_VARS) 53LOCAL_MODULE := android.hardware.gnss@1.1-service-qti 54LOCAL_VINTF_FRAGMENTS := android.hardware.gnss@1.1-service-qti.xml 55LOCAL_VENDOR_MODULE := true 56LOCAL_MODULE_RELATIVE_PATH := hw 57LOCAL_INIT_RC := android.hardware.gnss@1.1-service-qti.rc 58LOCAL_SRC_FILES := \ 59 service.cpp \ 60 61LOCAL_C_INCLUDES:= \ 62 $(LOCAL_PATH)/location_api 63LOCAL_HEADER_LIBRARIES := \ 64 libgps.utils_headers \ 65 libloc_core_headers \ 66 libloc_pla_headers \ 67 liblocation_api_headers 68 69 70LOCAL_SHARED_LIBRARIES := \ 71 liblog \ 72 libcutils \ 73 libdl \ 74 libbase \ 75 libutils \ 76 libgps.utils \ 77 libqti_vndfwk_detect \ 78 79LOCAL_SHARED_LIBRARIES += \ 80 libhwbinder \ 81 libhidlbase \ 82 libhidltransport \ 83 android.hardware.gnss@1.0 \ 84 android.hardware.gnss@1.1 \ 85 86LOCAL_CFLAGS += $(GNSS_CFLAGS) 87 88ifneq ($(LOC_HIDL_VERSION),) 89LOCAL_CFLAGS += -DLOC_HIDL_VERSION='"$(LOC_HIDL_VERSION)"' 90endif 91 92include $(BUILD_EXECUTABLE) 93