I'm not a lawyer, but I think the fact that it's California is irrelevant. Once you start "gifting" across state (any state) lines, then federal laws apply to the transfer of that gun regardless if it is a sale, gift, or trade. I think Bullseye Shooter is correct that the gun would have to go through an FFL in CA subject to whatever additional restrictions CA might add.