Change signature of `extractDependenciesFromSrcs`