However, unlike many companies, they actually have a process where you can submit your "weekend projects" for Google to review and "gain back" explicit ownership of them.
Basically Google just checks to make sure it's not competing with anything Google's already doing, and then contractually assigns it back to you. (And anecdotally, if it does compete, you may be offered the opportunity to join said team, since it shows you're passionate about it.)