Shrink vendor/ dir for porting to new device
I'm trying to port the AOSP tree I re-generated for my device (it builds, boots and and works 99%) to Ubuntu Touch. It's a tree customized by mediatek and at the moment I'm facing the problem that my ubuntu sources try to build some subdirs of vendor/ which need java. I think this isn't normal, and I would to know which part of vendor should I avoid to port (like vendor/mediatek/proprietary/package, maybe?) and what's he correct way to chieve that. I think it should be sufficient to delete the dirs, because usually they are sourced by a simple
(call first-makefiles-under, $(LOCAL_PATH)
in their parent directory.