I'd say it depends.  This is why I added the "common" mock directory. In case of cms, there is a whole lot of software directly under the platform directory (before CMSSW).