Cache only the intermediate shared objects and not the object files of ndk libraries.
Cache only the intermediate shared objects and not the object files of ndk libraries.

Summary: We need because the resulting cache artifact can get incredibly huge!

Test Plan:
Build a ndk_library rule() with directory cache turned on, inspect the generated
cache artifact before and after this change.

mread/buck,nguyentruongtho/buck,shs96c/buck,Dominator008/buck,brettwooldridge/buck,ilya-klyuchnikov/buck,vine/buck,romanoid/buck,pwz3n0/buck,mikekap/buck,pwz3n0/buck,rhencke/buck,rhencke/buck,janicduplessis/buck,pwz3n0/buck,JoelMarcey/buck,zhan-xiong/buck,ilya-klyuchnikov/buck,daedric/buck,vschs007/buck,rhencke/buck,siddhartharay007/buck,rhencke/buck,bocon13/buck,OkBuilds/buck,sdwilsh/buck,siddhartharay007/buck,facebook/buck,bocon13/buck,Addepar/buck,zhan-xiong/buck,siddhartharay007/buck,robbertvanginkel/buck,tgummerer/buck,pwz3n0/buck,dpursehouse/buck,marcinkwiatkowski/buck,zhuxiaohao/buck,sdwilsh/buck,rhencke/buck,zpao/buck,Dominator008/buck,Learn-Android-app/buck,clonetwin26/buck,grumpyjames/buck,daedric/buck,liuyang-li/buck,zhan-xiong/buck,vschs007/buck,marcinkwiatkowski/buck,davido/buck,1yvT0s/buck,facebook/buck,k21/buck,vine/buck,mnuessler/buck,artiya4u/buck,sdwilsh/buck,stuhood/buck,shybovycha/buck,k21/buck,vschs007/buck,brettwooldridge/buck,zhan-xiong/buck,dushmis/buck,OkBuilds/buck,Addepar/buck,kageiit/buck,lukw00/buck,zhan-xiong/buck,raviagarwal7/buck,mikekap/buck,k21/buck,mogers/buck,davido/buck,grumpyjames/buck,justinmuller/buck,mikekap/buck,dsyang/buck,Dominator008/buck,zhuxiaohao/buck,grumpyjames/buck,marcinkwiatkowski/buck,nguyentruongtho/buck,SeleniumHQ/buck,raviagarwal7/buck,mread/buck,clonetwin26/buck,kageiit/buck,mogers/buck,Learn-Android-app/buck,sdwilsh/buck,mogers/buck,zhuxiaohao/buck,JoelMarcey/buck,luiseduardohdbackup/buck,liuyang-li/buck,luiseduardohdbackup/buck,robbertvanginkel/buck,luiseduardohdbackup/buck,romanoid/buck,illicitonion/buck,vschs007/buck,dushmis/buck,shybovycha/buck,sdwilsh/buck,rhencke/buck,robbertvanginkel/buck,romanoid/buck,mikekap/buck,clonetwin26/buck,zhuxiaohao/buck,shybovycha/buck,vschs007/buck,artiya4u/buck,rmaz/buck,hgl888/buck,vschs007/buck,OkBuilds/buck,daedric/buck,romanoid/buck,artiya4u/buck,romanoid/buck,Addepar/buck,sdwilsh/buck,grumpyjames/buck,JoelMarcey/buck,daedric/buck,zhan-xiong/buck,sdwilsh/buck,JoelMarcey/buck,janicduplessis/buck,romanoid/buck,mread/buck,dpursehouse/buck,shs96c/buck,kageiit/buck,facebook/buck,1yvT0s/buck,rmaz/buck,vschs007/buck,daedric/buck,ilya-klyuchnikov/buck,Addepar/buck,mnuessler/buck,mikekap/buck,tgummerer/buck,luiseduardohdbackup/buck,hgl888/buck,siddhartharay007/buck,Distrotech/buck,Learn-Android-app/buck,Heart2009/buck,tgummerer/buck,dushmis/buck,MarkRunWu/buck,siddhartharay007/buck,stuhood/buck,brettwooldridge/buck,marcinkwiatkowski/buck,dpursehouse/buck,stuhood/buck,Dominator008/buck,illicitonion/buck,OkBuilds/buck,Learn-Android-app/buck,dsyang/buck,raviagarwal7/buck,liuyang-li/buck,vine/buck,pwz3n0/buck,illicitonion/buck,brettwooldridge/buck,romanoid/buck,vine/buck,justinmuller/buck,zhuxiaohao/buck,shybovycha/buck,grumpyjames/buck,grumpyjames/buck,stuhood/buck,zhuxiaohao/buck,LegNeato/buck,marcinkwiatkowski/buck,Learn-Android-app/buck,LegNeato/buck,illicitonion/buck,mikekap/buck,justinmuller/buck,1yvT0s/buck,vine/buck,rowillia/buck,lukw00/buck,Distrotech/buck,mikekap/buck,ilya-klyuchnikov/buck,MarkRunWu/buck,janicduplessis/buck,tgummerer/buck,k21/buck,mnuessler/buck,shs96c/buck,brettwooldridge/buck,Heart2009/buck,shs96c/buck,tgummerer/buck,MarkRunWu/buck,dsyang/buck,illicitonion/buck,davido/buck,artiya4u/buck,stuhood/buck,clonetwin26/buck,janicduplessis/buck,justinmuller/buck,darkforestzero/buck,SeleniumHQ/buck,raviagarwal7/buck,vschs007/buck,clonetwin26/buck,Distrotech/buck,1yvT0s/buck,raviagarwal7/buck,SeleniumHQ/buck,mikekap/buck,facebook/buck,sdwilsh/buck,dsyang/buck,liuyang-li/buck,pwz3n0/buck,nguyentruongtho/buck,rmaz/buck,ilya-klyuchnikov/buck,lukw00/buck,mread/buck,JoelMarcey/buck,Heart2009/buck,grumpyjames/buck,davido/buck,liuyang-li/buck,brettwooldridge/buck,clonetwin26/buck,robbertvanginkel/buck,JoelMarcey/buck,darkforestzero/buck,ilya-klyuchnikov/buck,janicduplessis/buck,ilya-klyuchnikov/buck,SeleniumHQ/buck,mikekap/buck,Distrotech/buck,shs96c/buck,grumpyjames/buck,robbertvanginkel/buck,mogers/buck,rmaz/buck,mogers/buck,justinmuller/buck,artiya4u/buck,Dominator008/buck,Learn-Android-app/buck,k21/buck,neonichu/buck,mogers/buck,neonichu/buck,romanoid/buck,SeleniumHQ/buck,brettwooldridge/buck,k21/buck,marcinkwiatkowski/buck,mread/buck,mnuessler/buck,darkforestzero/buck,siddhartharay007/buck,OkBuilds/buck,facebook/buck,davido/buck,clonetwin26/buck,kageiit/buck,k21/buck,LegNeato/buck,SeleniumHQ/buck,daedric/buck,OkBuilds/buck,raviagarwal7/buck,Addepar/buck,LegNeato/buck,romanoid/buck,k21/buck,stuhood/buck,zpao/buck,luiseduardohdbackup/buck,artiya4u/buck,OkBuilds/buck,marcinkwiatkowski/buck,janicduplessis/buck,rhencke/buck,darkforestzero/buck,janicduplessis/buck,Addepar/buck,liuyang-li/buck,k21/buck,shs96c/buck,vine/buck,siddhartharay007/buck,siddhartharay007/buck,artiya4u/buck,zhuxiaohao/buck,Learn-Android-app/buck,LegNeato/buck,marcinkwiatkowski/buck,hgl888/buck,zhan-xiong/buck,mikekap/buck,vine/buck,darkforestzero/buck,shybovycha/buck,LegNeato/buck,Heart2009/buck,Learn-Android-app/buck,robbertvanginkel/buck,rowillia/buck,rowillia/buck,clonetwin26/buck,JoelMarcey/buck,lukw00/buck,daedric/buck,mogers/buck,raviagarwal7/buck,kageiit/buck,facebook/buck,stuhood/buck,Addepar/buck,rowillia/buck,mread/buck,rmaz/buck,OkBuilds/buck,clonetwin26/buck,shybovycha/buck,LegNeato/buck,stuhood/buck,1yvT0s/buck,bocon13/buck,robbertvanginkel/buck,pwz3n0/buck,clonetwin26/buck,dushmis/buck,hgl888/buck,SeleniumHQ/buck,brettwooldridge/buck,LegNeato/buck,raviagarwal7/buck,darkforestzero/buck,grumpyjames/buck,rhencke/buck,shs96c/buck,illicitonion/buck,vschs007/buck,shs96c/buck,robbertvanginkel/buck,Distrotech/buck,shs96c/buck,bocon13/buck,artiya4u/buck,lukw00/buck,liuyang-li/buck,OkBuilds/buck,grumpyjames/buck,grumpyjames/buck,shybovycha/buck,dushmis/buck,bocon13/buck,daedric/buck,hgl888/buck,shybovycha/buck,mnuessler/buck,daedric/buck,tgummerer/buck,rhencke/buck,darkforestzero/buck,mnuessler/buck,Distrotech/buck,hgl888/buck,rowillia/buck,mnuessler/buck,MarkRunWu/buck,lukw00/buck,LegNeato/buck,mogers/buck,tgummerer/buck,ilya-klyuchnikov/buck,rmaz/buck,vine/buck,sdwilsh/buck,liuyang-li/buck,Dominator008/buck,k21/buck,dsyang/buck,janicduplessis/buck,rmaz/buck,justinmuller/buck,mogers/buck,vschs007/buck,zpao/buck,OkBuilds/buck,dushmis/buck,vine/buck,Addepar/buck,rmaz/buck,darkforestzero/buck,darkforestzero/buck,MarkRunWu/buck,Heart2009/buck,darkforestzero/buck,ilya-klyuchnikov/buck,marcinkwiatkowski/buck,dpursehouse/buck,mikekap/buck,hgl888/buck,zhuxiaohao/buck,shs96c/buck,mnuessler/buck,pwz3n0/buck,shs96c/buck,rowillia/buck,davido/buck,bocon13/buck,Heart2009/buck,MarkRunWu/buck,raviagarwal7/buck,romanoid/buck,neonichu/buck,justinmuller/buck,facebook/buck,nguyentruongtho/buck,MarkRunWu/buck,shybovycha/buck,rmaz/buck,k21/buck,dpursehouse/buck,raviagarwal7/buck,brettwooldridge/buck,nguyentruongtho/buck,Dominator008/buck,robbertvanginkel/buck,liuyang-li/buck,zhan-xiong/buck,justinmuller/buck,daedric/buck,darkforestzero/buck,LegNeato/buck,raviagarwal7/buck,LegNeato/buck,justinmuller/buck,nguyentruongtho/buck,kageiit/buck,OkBuilds/buck,Dominator008/buck,rowillia/buck,dpursehouse/buck,stuhood/buck,stuhood/buck,marcinkwiatkowski/buck,davido/buck,lukw00/buck,illicitonion/buck,liuyang-li/buck,zhuxiaohao/buck,clonetwin26/buck,dpursehouse/buck,grumpyjames/buck,rmaz/buck,lukw00/buck,neonichu/buck,rowillia/buck,SeleniumHQ/buck,Learn-Android-app/buck,lukw00/buck,Distrotech/buck,Dominator008/buck,pwz3n0/buck,davido/buck,sdwilsh/buck,zhan-xiong/buck,vschs007/buck,ilya-klyuchnikov/buck,davido/buck,clonetwin26/buck,1yvT0s/buck,illicitonion/buck,tgummerer/buck,JoelMarcey/buck,1yvT0s/buck,justinmuller/buck,marcinkwiatkowski/buck,daedric/buck,ilya-klyuchnikov/buck,tgummerer/buck,dushmis/buck,pwz3n0/buck,janicduplessis/buck,Distrotech/buck,Addepar/buck,neonichu/buck,luiseduardohdbackup/buck,Dominator008/buck,artiya4u/buck,OkBuilds/buck,marcinkwiatkowski/buck,Addepar/buck,bocon13/buck,dsyang/buck,rowillia/buck,mogers/buck,justinmuller/buck,SeleniumHQ/buck,zhan-xiong/buck,davido/buck,shs96c/buck,OkBuilds/buck,Distrotech/buck,Addepar/buck,vine/buck,shybovycha/buck,janicduplessis/buck,1yvT0s/buck,JoelMarcey/buck,justinmuller/buck,shs96c/buck,1yvT0s/buck,hgl888/buck,dushmis/buck,sdwilsh/buck,sdwilsh/buck,zhan-xiong/buck,zpao/buck,bocon13/buck,bocon13/buck,rowillia/buck,justinmuller/buck,bocon13/buck,bocon13/buck,illicitonion/buck,luiseduardohdbackup/buck,Heart2009/buck,neonichu/buck,zhan-xiong/buck,Dominator008/buck,zhan-xiong/buck,k21/buck,illicitonion/buck,romanoid/buck,LegNeato/buck,raviagarwal7/buck,JoelMarcey/buck,brettwooldridge/buck,liuyang-li/buck,shybovycha/buck,SeleniumHQ/buck,rmaz/buck,dsyang/buck,hgl888/buck,zpao/buck,pwz3n0/buck,lukw00/buck,darkforestzero/buck,clonetwin26/buck,robbertvanginkel/buck,Learn-Android-app/buck,Addepar/buck,romanoid/buck,Heart2009/buck,artiya4u/buck,davido/buck,bocon13/buck,SeleniumHQ/buck,nguyentruongtho/buck,marcinkwiatkowski/buck,neonichu/buck,rowillia/buck,darkforestzero/buck,rowillia/buck,JoelMarcey/buck,dsyang/buck,stuhood/buck,dsyang/buck,romanoid/buck,mogers/buck,dushmis/buck,Dominator008/buck,SeleniumHQ/buck,vschs007/buck,LegNeato/buck,dsyang/buck,dsyang/buck,mikekap/buck,mnuessler/buck,dpursehouse/buck,daedric/buck,rhencke/buck,janicduplessis/buck,daedric/buck,Distrotech/buck,brettwooldridge/buck,JoelMarcey/buck,shybovycha/buck,brettwooldridge/buck,vine/buck,ilya-klyuchnikov/buck,Learn-Android-app/buck,illicitonion/buck,dsyang/buck,robbertvanginkel/buck,SeleniumHQ/buck,rmaz/buck,tgummerer/buck,siddhartharay007/buck,Addepar/buck,artiya4u/buck,neonichu/buck,Distrotech/buck,raviagarwal7/buck,luiseduardohdbackup/buck,robbertvanginkel/buck,Heart2009/buck,rhencke/buck,brettwooldridge/buck,k21/buck,zpao/buck,lukw00/buck,zpao/buck,kageiit/buck,ilya-klyuchnikov/buck,illicitonion/buck,robbertvanginkel/buck,rmaz/buck,sdwilsh/buck,davido/buck,MarkRunWu/buck,illicitonion/buck,neonichu/buck,janicduplessis/buck,dsyang/buck,dushmis/buck,shybovycha/buck,vschs007/buck,tgummerer/buck,JoelMarcey/buck,davido/buck,luiseduardohdbackup/buck