Add --preloaded-classes flag to dex2oat.

So that dex2oat knows which classes will be initialized by the zygote. We will use
this information in a follow-up CL to change how we compile static methods of known
uninitialized classes.

Test: m
Bug: 162110941
Change-Id: I82d3ca465e6ff92d3d81b8d6c14a404e3a62152d
3 files changed