use releasetools extensions as implemented in aries common and AOSP