U.S. president took aim at Canada as part of speech extolling tariffs