Hampered by an injury-thinned roster, the Giants purchased the contracts of outfielder Mac Williamson and catcher Trevor Brown from Triple-A Sacramento on Wednesday to provide depth for the remainder of the season.