Ice Cube’s son will play the iconic rapper in Universal Studios film about the group N.W.A., titled “Straight Outta Compton.”

Wow — that’s a pretty big coincidence.

Producer Ice Cube and director F. Gary Gray cast O’Shea Jackson Jr. to play a young Cube in the film, according to TheWrap.

Gray (“The Italian Job”) is working from a script by Jonathan Herman, which Ice Cube described as a “dramatic story that encompasses hip-hop, dope-dealing, Reaganomics, AIDS, LAPD, rap feuds, FBI, PMRC, the Parental Advisory stickers on the records … all of it.”

That’s going to be a pretty long movie.

Ice Cube said in February he wanted his son to play him, telling The Guardian, “I’ve been trying to get that pushed along.”

Cube still auditioned multiple candidates, from rappers to professional actors. Several sources reportedly said the rapper and actor convinced Universal executives that, despite his lack of acting experience, O’Shea Jr. could handle the job.

Eazy-E’s son has also lobbied for a role, but TheWrap reported an unknown actor will likely get the part, and that Universal could announce the main cast before week’s end.

Ice Cube is producing the movie with Dr. Dre and Easy-E’s widow, Tomica Woods-Wright. The trio has casting approval.

Ice Cube was a teenager when N.W.A. was formed in Compton; Dr. Dre and Eazy-E were in their early 20s. The other founding members were DJ Yella and Arabian Prince, the latter of whom left the group in 1988, shortly after MC Ren joined the group.

The group was active from 1986 to 1991 and stirred nationwide controversy for their lyrics. The group was banned from many mainstream radio stations in the U.S.

Contact Tony Hicks at Facebook.com/BayAreaNewsGroup.TonyHicks or Twitter.com/insertfoot.