AC Milan's Thiago Silva and Real Madrid left back Marcelo were also selected, after defeats in internationals warmups last month against Mexico and Argentina highlighted Brazil's problems in finding decent defensive players under 23 years old.
Santos striker Neymar, 20, stands out as the 18-man squad's ace in the pack.
Brazil, seeking their first Olympic soccer gold medal, kick off against Egypt in Group C on July 26.
Goalkeepers: Rafael Cabral (Santos), Neto (Fiorentina)
Defenders: Marcelo (Real Madrid), Rafael (Manchester United), Danilo (Porto), Alex Sandro (Porto), Thiago Silva (AC Milan), Juan (Inter Milan), Bruno Uvini (Sao Paulo)
Midfielders: Romulo (Vasco da Gama), Ganso (Santos), Oscar (Internacional), Sandro (Tottenham Hotspur), Lucas (Sao Paulo)
Forwards: Neymar (Santos), Alexandre Pato (AC Milan), Leandro Damiao (Internacional), Hulk (Porto).