Global dep analyzer and resolve aliases.