Add xts_res_dir_root flag to specify the xts resource target directory. Change-Id: I0b899ad8f01b6a40cf4c6720d97d6ba9eea00398