Do pistol manufacturers usually build their own magazines, or do they contract out to third-party companies?

We know a ton about the OEM makers of AR-15 parts, but I don't know much at all about the supply chain for pistol magazines. Anyone know?