From my limited knowledge through Discovery Channel snipits, I believe it can be both.
The target is identified using a laser, and the bombs have a detection system that hones into the laser. Most of the time the plane with the bombs also has the laser targeter but there are occasions where...