The San Francisco Giants have signed Jimmy Rollins to a minor league contract.

The deal will pay Rollins $1 million if he makes the major league roster, according to a source.

Rollins, 38, signed a similar deal with the Chicago White Sox last year and made the major league roster, but was designated for assignment in June.