Given an asset pathName, returns the list of all assets it depends on.
Given an array of pathNames, returns the list of all assets that the assets depend on.