Options is passed over during the code generation

The functions for the code generation now commonly accept Options
object. This allows us to add more options without further changing the
signature of the functions.

Bug: 110967839
Test: m -j
Test: runtests.sh

Change-Id: I3fe4278db241a4d1a07c7a61564d7ccca223b19b
8 files changed