1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_MODULE := android.hardware.gnss (a] 1.0-impl 5 LOCAL_PROPRIETARY_MODULE := true 6 LOCAL_MODULE_RELATIVE_PATH := hw 7 LOCAL_SRC_FILES := \ 8 ThreadCreationWrapper.cpp \ 9 AGnss.cpp \ 10 AGnssRil.cpp \ 11 Gnss.cpp \ 12 GnssBatching.cpp \ 13 GnssDebug.cpp \ 14 GnssGeofencing.cpp \ 15 GnssMeasurement.cpp \ 16 GnssNavigationMessage.cpp \ 17 GnssNi.cpp \ 18 GnssXtra.cpp \ 19 GnssConfiguration.cpp \ 20 GnssUtils.cpp 21 22 LOCAL_SHARED_LIBRARIES := \ 23 liblog \ 24 libhidlbase \ 25 libhidltransport \ 26 libutils \ 27 android.hardware.gnss (a] 1.0 \ 28 libhardware 29 30 LOCAL_CFLAGS += -Werror 31 32 include $(BUILD_SHARED_LIBRARY) 33 34 include $(CLEAR_VARS) 35 LOCAL_MODULE_RELATIVE_PATH := hw 36 LOCAL_PROPRIETARY_MODULE := true 37 LOCAL_MODULE := android.hardware.gnss (a] 1.0-service 38 LOCAL_INIT_RC := android.hardware.gnss (a] 1.0-service.rc 39 LOCAL_SRC_FILES := \ 40 service.cpp \ 41 42 LOCAL_SHARED_LIBRARIES := \ 43 liblog \ 44 libcutils \ 45 libdl \ 46 libbase \ 47 libutils \ 48 libhardware \ 49 libbinder \ 50 51 LOCAL_SHARED_LIBRARIES += \ 52 libhidlbase \ 53 libhidltransport \ 54 android.hardware.gnss (a] 1.0 \ 55 56 include $(BUILD_EXECUTABLE) 57