The U.S. Navy has awarded Raytheon and Boeing contracts worth $225 million for warship and aircraft upgrades.