Cal. Penal Code § 30340
Nothing in this article shall prohibit the manufacture of ammunition under contracts approved by agencies of the state or federal government.