Refactor CommandLineBuildTargetNormalizer to use pass-from-above.

Summary:
`CommandLineBuildTargetNormalizer` is constructed lazily by and made available through
`AbstractCommandOptions`.

This diff also deletes `BuildTargetNormalizer`, which apparently was unused.

This reduces the number of `Function` objects that need to be created.
This will make it simpler to add a normalize() method that takes a
single string, which will be done in a follow-up diff that uses it.

Test Plan: Sandcastle builds.
6 files changed
tree: c16cd6855591655c715d170a3d5222dd79a4cc67
  1. .buckconfig
  2. .classpath
  3. .gitignore
  4. .idea/
  5. .project
  6. .travis.yml
  7. DEFS
  8. LICENSE
  9. README.md
  10. bin/
  11. buck.iml
  12. build.xml
  13. config/
  14. docs/
  15. lib/
  16. plugin/
  17. pmd/
  18. scripts/
  19. src/
  20. test/
  21. testdata/
  22. third-party/
README.md

Buck

Buck is an Android build tool. To see what Buck can do for you, check out the documentation at http://facebook.github.io/buck/.

Build Status

Installation

To build Buck, run the following:

git clone git@github.com:facebook/buck.git
cd buck
ant
./bin/buck --help

License

Apache License 2.0