People who work at the White House were among those targeted by the China-based hackers who broke into Google Inc.'s Gmail accounts, according to one U.S. official.

The hackers likely were hoping the officials were conducting administration business on their private emails, according to lawmakers and security experts.

The...