Chris McKay, who supervised animation on “The Lego Movie,” has signed a first-look producing deal at Warner Bros.

McKay is on board to direct Warner’s “Lego Batman” project, set to be released in May 2017, with Will Arnett again voicing the Caped Crusader. Roy Lee and Dan Lin are returning as producers along with “Lego” directors Phil Lord and Christopher Miller.

McKay and Lee recently set up at Warner Bros. a movie version of the Cartoon Network series “Adventure Time,” which centers on a 12-year-old boy and his dog Jake.

McKay’s deal is a sign that Warner Bros. intends to continue ramping up activity in animation. “The Lego Movie” was an outsize success with worldwide grosses topping $460 million.

Lee and Lin also have first-look deals at Warner Bros.

Prior to coming on to the Lego franchise, McKay directed 39 episodes of Cartoon Network’s “Robot Chicken” TV series.