The Giants signed on to an amicus brief in support of same-sex marriage.