The European Parliament gave approval on Wednesday to the Galileo project , setting in stone the legal basis for the system , which has been plagued in the past by delays and infighting among EU nations .