Add ability to pass flag read only status to aapt2

Also adds the ability to pass flags to the compile command

Test: automated
Bug: 344979955
Flag: EXEMPT tools change

Change-Id: I29997712d262be6d89eef16daf67d37cbafe3cba
8 files changed