Add code generation options

Change-Id: Ia45f1341795dab5c676035596a83cd37bdb55020