The 36-year-old Swiss, seeded one, has been placed in the same half of the draw as in-form Croatian third seed Marin Cilic who he beat in last year’s final, Reuters reported.
Seven-time women’s champion Serena Williams was handed a comfortable-looking first-round draw after being paired with 107th ranked Dutchwoman Arantxa Rus.
The 36-year-old, who has played only a handful of matches this year after giving birth last September, is seeded 25th after being bumped up from a current world ranking of 183.
Defending women’s champion Garbine Muguruza of Spain will play Briton Naomi Broady in the first round.
Men’s second seed Rafael Nadal, champion in 2008 and 2010, starts against Israel’s Dudi Sela while three-time champion Novak Djokovic faces American Tennys Sandgren.
British favorite Andy Murray, still a doubt for the tournament as he makes a comeback from nearly a year out with a hip injury, is unseeded and was drawn to play Benoit Paire.
The biggest match of the men’s first round will see sixth seed Grigor Dimitrov face three-time Grand Slam champion Stan Wawrinka who like Murray is unseeded after an injury break.
Women’s top seed Simona Halep will play Japan’s Kurumi Nara in the first round.