Since 2005 , the government has used billions of dollars in credit lines from China , Brazil , Portugal , Germany , Spain , and the EU to rebuild Angola 's public infrastructure .