Support target specific resource selection. https://github.com/CyanogenMod/android_build/commit/c001fcb8decc216c2394e4936a136ef300a0a1c1

Change-Id: I9252c12775e3ef47794684d68a436c5289e848bc