Losing weight involvesl eating less and exercising more.
Gaining it involves eating more.
The type of bulk wanted is what determines the type of food, and wether or not exercise is a component,
For muscle mass, the plenty of protein for muscle, and carbs to give energy to exercise, and milk for bones, and plenty of exercise - weights with low reps and heavy weights, rather than lighter weights with more reps.
Though frankly toned would be better than bulk for general athletic capacity, and for health.