"If it comes to that" is a very frequently used phrase meaning "If such a situation arises" (as in if they are forced to take that step)
In the above sentence, it means that the they are building a team to take Google to court if such a situation arises in due course of time.
Another similar sounding phrase used in old English is "Come to that" which means "in fact" (said to introduce an additional point):
e.g.there isn’t a clock on the mantelpiece—come to that, there isn’t a mantelpiece!