Brazil will host the Netherlands on June 4 and Romania on June 7.
The match against Romania will mark the farewell for former Brazil star Ronaldo, who retired from football earlier this year. He is expected to play only a few minutes before being honored at halftime.
Young Santos sensation Neymar and Fred, a member of the 2006 World Cup team, were also included in the list of 28 players selected by coach Mano Menezes on Thursday.
Menezes will pick his final squad for the Copa America in Argentina in July following the match against Romania.