build: add AST support

Change-Id: Id5f88dba528c7b48b1d3f059f9ec65b9e2a88ef5
Revert "build: add AST support"

This reverts commit 3b4f8b3deebe41e5d2b861a44f4352ac6aab2ada.

Change-Id: I1b2370de13470549952285e2c46b68a0a1f9cc97
Merge branch 'cm-10.2' into martincz