Refactor graph enhancement logic into AndroidBinaryGraphEnhancer. Summary: This makes the graph enhancement logic easier to unit test, and helps ensure that it does not modify the `AndroidBinaryRule.Builder` from which it is used. Its only side-effect is that it updates the `BuildRuleResolver` that is passed in, but now that distinction is clearer. Test Plan: Sandcastle builds.
Buck is an Android build tool. To see what Buck can do for you, check out the documentation at http://facebook.github.io/buck/.
To build Buck, run the following:
git clone git@github.com:facebook/buck.git cd buck ant ./bin/buck --help
Apache License 2.0