Striker Rooney's three-and-a-half year extension will take him up until the summer of 2018.
Northern Ireland forward McGinn has signed on until the summer of 2017, as have promising youngsters Lawrence Shankland and Scott McKenna.
Manager Derek McInnes told RedWeb: "Adam and Niall are key players within the team while both Lawrence and Scott have the potential to develop into first team regulars in the not too distant future.
"I've always said that, while we've enjoyed a fruitful 2014, there is still a great deal of work to be done and securing players, who we want to be part of our journey, is vital if we want to achieve the success that everyone at the club craves."
Source: PA Sport