Enable GRAPHITE and build with memory optimizations
This flags will enable graphite to be built onto the kernel and also allow it to build with memory optimizations.
This only applies to kernels.

For ROM check https://github.com/AOSPAL