Considering that most of Google's open source projects are of the "throw over the wall" kind, where they don't really care about the wider community, when most of Meta's projects (that I've seen) are interacting with and creating communities, it's not really comparable.
TLDR: by KLOC Google might have more, but arguably Meta's have more impact.