added dependency calculation without building
added dependency calculation without building