Evan Longoria hit a solo home run in the fifth inning, and that was all the San Francisco Giants needed in their 1-0 win over the Los Angeles Dodgers in Game 3 of the NLDS.