Establish the built module dependencies on prebuilt shared library

This is needed because the linker command line uses -rpath-link with
built module path ($(*_OUT_INTERMEDIATE_LIBRARIES)) to search for indirect
dependency libraries.

Change-Id: I21d537c7c697dfb18df25d3d2bb7bffe2f9d370f
(cherry picked from commit ada8f296570e0bda93b433a7aa86ad138dd1705e)
Respect DISABLE_PROGUARD

The flag is only used by unbundled build currently.

Change-Id: I8e9bab69dd7accae52ec8cdd627fc4e24178a790
Fix use of LOCAL_CLASSPATH in droiddoc.mk

Remove the unnecessary use of LOCAL_STATIC_JAVA_LIBRARIES.
You should use LOCAL_JAVA_LIBRARIES in that case.

Change-Id: I0b51b5b22530722e48193e5b4e964e8835f193af
(cherry picked from commit 8578cab0667cf3a3da263d838e29b07060af9ba7)
Revert "Remove mediarouter v7 support library from SDK."

This reverts commit 0eacd936b7d6dabd380ecd6f1d25d39625b37495.

Bug: 9425325
Change-Id: Idf81e6721fb4361a38ffd73d39c574c2cb2b1155