The Giants and Rogers avoided arbitration by agreeing to a one-year, $5.25 million contract Thursday, Susan Slusser of the San Francisco Chronicle reports.