Move many ndk path calculations to a helper object
Move many ndk path calculations to a helper object

Summary:
Dealing with the fact that these paths are different for all
kinds of different ndk/compiler/runtime/architecture/etc is a huge pain,
particularly when updating the ndk. This is the first step to making it
much simpler.

There should be no behavior change and the paths are all calculated
exactly as before.

Test Plan: Run tests.

Reviewed By: dreiss, marcinkosiba

fbshipit-source-id: b67d86f

rmaz/buck,clonetwin26/buck,Addepar/buck,k21/buck,davido/buck,facebook/buck,SeleniumHQ/buck,brettwooldridge/buck,zpao/buck,shybovycha/buck,ilya-klyuchnikov/buck,Addepar/buck,dsyang/buck,zhan-xiong/buck,justinmuller/buck,vschs007/buck,SeleniumHQ/buck,grumpyjames/buck,LegNeato/buck,ilya-klyuchnikov/buck,zhan-xiong/buck,illicitonion/buck,sdwilsh/buck,davido/buck,Addepar/buck,zhan-xiong/buck,illicitonion/buck,zhan-xiong/buck,vschs007/buck,sdwilsh/buck,shs96c/buck,LegNeato/buck,dsyang/buck,sdwilsh/buck,illicitonion/buck,LegNeato/buck,shs96c/buck,JoelMarcey/buck,daedric/buck,raviagarwal7/buck,shybovycha/buck,raviagarwal7/buck,shs96c/buck,sdwilsh/buck,JoelMarcey/buck,marcinkwiatkowski/buck,vschs007/buck,justinmuller/buck,daedric/buck,brettwooldridge/buck,illicitonion/buck,marcinkwiatkowski/buck,romanoid/buck,justinmuller/buck,romanoid/buck,rmaz/buck,darkforestzero/buck,sdwilsh/buck,shybovycha/buck,davido/buck,davido/buck,raviagarwal7/buck,dsyang/buck,robbertvanginkel/buck,OkBuilds/buck,facebook/buck,shs96c/buck,Addepar/buck,daedric/buck,facebook/buck,sdwilsh/buck,marcinkwiatkowski/buck,ilya-klyuchnikov/buck,zhan-xiong/buck,clonetwin26/buck,brettwooldridge/buck,daedric/buck,dsyang/buck,grumpyjames/buck,Addepar/buck,illicitonion/buck,rmaz/buck,shybovycha/buck,romanoid/buck,SeleniumHQ/buck,romanoid/buck,darkforestzero/buck,dsyang/buck,nguyentruongtho/buck,robbertvanginkel/buck,OkBuilds/buck,clonetwin26/buck,marcinkwiatkowski/buck,k21/buck,LegNeato/buck,justinmuller/buck,grumpyjames/buck,robbertvanginkel/buck,romanoid/buck,rmaz/buck,romanoid/buck,OkBuilds/buck,darkforestzero/buck,clonetwin26/buck,vschs007/buck,Addepar/buck,daedric/buck,raviagarwal7/buck,zhan-xiong/buck,SeleniumHQ/buck,Addepar/buck,Addepar/buck,marcinkwiatkowski/buck,clonetwin26/buck,marcinkwiatkowski/buck,vschs007/buck,ilya-klyuchnikov/buck,shs96c/buck,brettwooldridge/buck,robbertvanginkel/buck,rmaz/buck,clonetwin26/buck,zpao/buck,clonetwin26/buck,nguyentruongtho/buck,grumpyjames/buck,rmaz/buck,SeleniumHQ/buck,LegNeato/buck,illicitonion/buck,rmaz/buck,raviagarwal7/buck,justinmuller/buck,kageiit/buck,shs96c/buck,vschs007/buck,shybovycha/buck,JoelMarcey/buck,sdwilsh/buck,SeleniumHQ/buck,davido/buck,OkBuilds/buck,k21/buck,Addepar/buck,marcinkwiatkowski/buck,dsyang/buck,daedric/buck,grumpyjames/buck,shs96c/buck,vschs007/buck,romanoid/buck,Addepar/buck,SeleniumHQ/buck,sdwilsh/buck,robbertvanginkel/buck,rmaz/buck,romanoid/buck,vschs007/buck,JoelMarcey/buck,OkBuilds/buck,k21/buck,kageiit/buck,OkBuilds/buck,sdwilsh/buck,dsyang/buck,romanoid/buck,grumpyjames/buck,dsyang/buck,ilya-klyuchnikov/buck,darkforestzero/buck,nguyentruongtho/buck,Addepar/buck,Addepar/buck,darkforestzero/buck,zpao/buck,davido/buck,JoelMarcey/buck,k21/buck,JoelMarcey/buck,sdwilsh/buck,brettwooldridge/buck,kageiit/buck,facebook/buck,shs96c/buck,justinmuller/buck,vschs007/buck,grumpyjames/buck,robbertvanginkel/buck,k21/buck,rmaz/buck,grumpyjames/buck,SeleniumHQ/buck,darkforestzero/buck,kageiit/buck,justinmuller/buck,justinmuller/buck,LegNeato/buck,ilya-klyuchnikov/buck,LegNeato/buck,darkforestzero/buck,robbertvanginkel/buck,daedric/buck,brettwooldridge/buck,robbertvanginkel/buck,marcinkwiatkowski/buck,shybovycha/buck,grumpyjames/buck,kageiit/buck,kageiit/buck,JoelMarcey/buck,k21/buck,shybovycha/buck,clonetwin26/buck,shybovycha/buck,marcinkwiatkowski/buck,vschs007/buck,justinmuller/buck,k21/buck,daedric/buck,ilya-klyuchnikov/buck,SeleniumHQ/buck,vschs007/buck,OkBuilds/buck,ilya-klyuchnikov/buck,k21/buck,shybovycha/buck,JoelMarcey/buck,sdwilsh/buck,clonetwin26/buck,justinmuller/buck,SeleniumHQ/buck,marcinkwiatkowski/buck,brettwooldridge/buck,zhan-xiong/buck,sdwilsh/buck,shs96c/buck,shs96c/buck,SeleniumHQ/buck,davido/buck,illicitonion/buck,LegNeato/buck,daedric/buck,romanoid/buck,davido/buck,brettwooldridge/buck,LegNeato/buck,k21/buck,justinmuller/buck,davido/buck,rmaz/buck,vschs007/buck,darkforestzero/buck,justinmuller/buck,illicitonion/buck,JoelMarcey/buck,raviagarwal7/buck,JoelMarcey/buck,clonetwin26/buck,daedric/buck,raviagarwal7/buck,clonetwin26/buck,rmaz/buck,illicitonion/buck,ilya-klyuchnikov/buck,JoelMarcey/buck,nguyentruongtho/buck,nguyentruongtho/buck,zhan-xiong/buck,robbertvanginkel/buck,zpao/buck,shybovycha/buck,ilya-klyuchnikov/buck,justinmuller/buck,facebook/buck,JoelMarcey/buck,robbertvanginkel/buck,shs96c/buck,marcinkwiatkowski/buck,nguyentruongtho/buck,OkBuilds/buck,shs96c/buck,k21/buck,k21/buck,romanoid/buck,zpao/buck,daedric/buck,zhan-xiong/buck,zpao/buck,LegNeato/buck,Addepar/buck,dsyang/buck,raviagarwal7/buck,robbertvanginkel/buck,ilya-klyuchnikov/buck,OkBuilds/buck,shybovycha/buck,dsyang/buck,zhan-xiong/buck,zhan-xiong/buck,clonetwin26/buck,illicitonion/buck,raviagarwal7/buck,OkBuilds/buck,darkforestzero/buck,brettwooldridge/buck,dsyang/buck,vschs007/buck,kageiit/buck,zhan-xiong/buck,SeleniumHQ/buck,davido/buck,marcinkwiatkowski/buck,LegNeato/buck,OkBuilds/buck,brettwooldridge/buck,shybovycha/buck,grumpyjames/buck,darkforestzero/buck,ilya-klyuchnikov/buck,facebook/buck,raviagarwal7/buck,zpao/buck,darkforestzero/buck,dsyang/buck,robbertvanginkel/buck,illicitonion/buck,brettwooldridge/buck,davido/buck,davido/buck,raviagarwal7/buck,LegNeato/buck,JoelMarcey/buck,raviagarwal7/buck,illicitonion/buck,OkBuilds/buck,LegNeato/buck,romanoid/buck,darkforestzero/buck,robbertvanginkel/buck,SeleniumHQ/buck,brettwooldridge/buck,grumpyjames/buck,marcinkwiatkowski/buck,shs96c/buck,OkBuilds/buck,k21/buck,clonetwin26/buck,romanoid/buck,daedric/buck,shybovycha/buck,brettwooldridge/buck,illicitonion/buck,davido/buck,zhan-xiong/buck,rmaz/buck,nguyentruongtho/buck,rmaz/buck,grumpyjames/buck,sdwilsh/buck,dsyang/buck,ilya-klyuchnikov/buck,raviagarwal7/buck,daedric/buck,darkforestzero/buck,facebook/buck