Split launch/flags.cc out from launch/main.cc

This separates initializing the flags from the rest of the launcher. It
dragged some filesystem initialization along with it, in order to create
a single InitFilesystemAndCreateConfig interface that main.cc uses.

Test: build and run locally
Change-Id: I1e3166cbe0cf4d94364df2fbec40416aa736240d
4 files changed
tree: ab4638801fb22ef6a8b8c79ea2858703877cc608
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS