build: add AST support

Change-Id: Id5f88dba528c7b48b1d3f059f9ec65b9e2a88ef5
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2