IntroIn Sitecore 8 we have way more config files then in any other Sitecore version. When creating the deployment package for delivery instance we use a Hardening.targets file for the tranformation.
See here our Hardening.targets on github if you are to lazy to type all that.
Based on: https://doc.sitecore.net/sitecore%20experience%20platform/xdb%20configuration/configure%20a%20content%20delivery%20server
Solr stuff is NOT included as we do not use it for now!