Trevorrow had admired Sy 's acting , and wrote the character of Barry with him in mind for the role .
Vincent D'Onofrio , Irrfan Khan and Omar Sy were cast in early 2014 .
Trevorrow had admired Omar Sy 's acting , and wrote the character of Barry with him in mind for the role .
Vincent D'Onofrio , Irrfan Khan and Omar Sy were cast in early 2014 .