Revert "Revert "Remove graphite optimizations.""

This reverts commit 011a302a24ac1effd31273a959bd880142d75596.
Merge Base and Recommended Configurations from source.android

Change-Id: I55a1441557593cc596c3b15577575e520ce20c8b