Fix builds with readonly source directories am: 63f822dff8 am: bf216ce629 -s ours Change-Id: I5c4fe9d41a78262808d0ab3e118762e87c99ffd6