General Dynamics Electric Boat Corp. has been awarded a $22.2 billion contract to design and build nine Virginia-class submarines for the U.S. Navy, the Department of Defense announced.