1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4LOCAL_MODULE := android.hardware.gnss@1.0-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 42LOCAL_SHARED_LIBRARIES += \ 43 libloc_core \ 44 libgps.utils \ 45 libdl \ 46 liblocation_api \ 47 48LOCAL_CFLAGS += $(GNSS_CFLAGS) 49include $(BUILD_SHARED_LIBRARY) 50 51include $(CLEAR_VARS) 52LOCAL_MODULE := android.hardware.gnss@1.0-service-qti 53LOCAL_VINTF_FRAGMENTS := android.hardware.gnss@1.0-service-qti.xml 54LOCAL_VENDOR_MODULE := true 55LOCAL_MODULE_RELATIVE_PATH := hw 56LOCAL_INIT_RC := android.hardware.gnss@1.0-service-qti.rc 57LOCAL_SRC_FILES := \ 58 service.cpp \ 59 60LOCAL_C_INCLUDES:= \ 61 $(LOCAL_PATH)/location_api 62LOCAL_HEADER_LIBRARIES := \ 63 libgps.utils_headers \ 64 libloc_core_headers \ 65 libloc_pla_headers \ 66 liblocation_api_headers 67 68 69LOCAL_SHARED_LIBRARIES := \ 70 liblog \ 71 libcutils \ 72 libdl \ 73 libbase \ 74 libutils \ 75 libgps.utils \ 76 libqti_vndfwk_detect \ 77 78LOCAL_SHARED_LIBRARIES += \ 79 libhwbinder \ 80 libhidlbase \ 81 libhidltransport \ 82 android.hardware.gnss@1.0 \ 83 84LOCAL_CFLAGS += $(GNSS_CFLAGS) 85 86ifneq ($(LOC_HIDL_VERSION),) 87LOCAL_CFLAGS += -DLOC_HIDL_VERSION='"$(LOC_HIDL_VERSION)"' 88endif 89 90include $(BUILD_EXECUTABLE) 91