In a matchup of pitchers with seven All-Star Game appearances between them, Weaver threw 5 1-3 shutout innings. The Angels' expected opening day starter gave up four hits, struck out six and walked one.
Lincecum, who missed his last scheduled appearance because of a sore neck, allowed one run and two hits in four innings. It was his fourth spring appearance and first start.
Lincecum, a two-time NL Cy Young Award winner with four All-Star game appearances, gave up a leadoff double to Collin Cowgill in the first. The right-hander retired nine of his last 10 batters.
Kyle Kubitza's RBI single with one out and the bases loaded off Curtis Partch drove in the winning run in the bottom of the ninth.