Warner Bros. has greenlit “Gangster Squad” with “Zombieland” director Ruben Fleischer helming.

Warner issued the official greenlight on Wednesday. Studio brass and producers are interested in offering the leading parts to Sean Penn and Ryan Gosling but has not confirmed whether offers have been made yet.

Warner acquired the rights two years ago to the L.A. Times’ seven-part series “Tales From the Gangster Squad.” Dan Lin and Kevin McCormick — both former studio execs with Warner term deals — are producing the feature adaptation through their Lin Pictures and Langley Park banners. Jon Silk, of Lin Pictures, will co-produce.

The newspaper series, penned by Paul Lieberman, chronicled efforts by the LAPD to deal with a chaotic and corrupt Los Angeles by forming what was dubbed the Gangster Squad to keep the East Coast Mafia out of the city.

Feature script was penned by former LAPD officer Will Beall.