Add redirection wrappers for all of the utilities in platform-tools, not
just adb. Also add emulator variant wrappers for tools.
ClosesHomebrew/homebrew#12751.
ClosesHomebrew/homebrew#13101.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Removed duplicate sqlite3 tool from the stuff linked into bin. Made the bin scripts and they exec the actual tool in bin. Was necessary for the emulator tool to work. Should have done it this way in the first place really.
The `android` tool downloads the SDK images into its prefix. Which means you have to move them manually to the new android-sdk keg when you upgrade. Which sucks. So we'll store them in the var/lib/android-sdk directory because that makes the most sense based on my interpretation of the POSIX filesystem hierarchy documentation.
We still have to symlink the var directories back into the keg, because the SDK is stupid.
For discussion: whether we should use var in this manner more.
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
Signed-off-by: Max Howell <max@methylblue.com>
Added an alias. Cleaned it up a bit.
Also removed the chmod 0777, '..' line as it made no sense and had no comment to justify it. Always comment weird stuff!