Simplify module and singleton registration.

This change eliminates blueprint.ModuleType and replaces it with simple factory
functions.  Rather than using the explicitly provided ModuleType names to
essentially identify the Go factory function in the generated Ninja files, we
now use the actual factory function name.

Change-Id: Ib7813e850322a82cc35cdc56bebff7d580a5c6ec
6 files changed
tree: c5ff073b841f67dfdbaccea811f110919193594d
  1. blueprint/
  2. Blueprints
  3. bootstrap.bash
  4. build.ninja.in