Clean up libbase(_header) dependencies in libdexfile_support.

We must not depend dynamically on non-NDK libraries in
libdexfile_support, because it becomes a prebuilt that has to work on
older platforms. (Removing the libbase dependency is a NOP change since
no symbols from it are used now.)

We also must not re-export any platform header files, because they'll
then get added to the include path for the caller and may hide the
headers they should be using.

Plenty of platform and external headers are still exported by the
libdexfile and libdexfile_static prebuilts, but the former isn't a real
problem and the latter is an already known problem. Add some comments
to discuss both.

Test: Build prebuilts on internal git_master-art and use the S
      prebuilts in a SCv2 tree with ag/19239336 and
      https://r.android.com/2267725
Bug: 282171830
Bug: 169885605
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f34513630c38f485454d93b6f6c5c86aed117b44)
Merged-In: Ibff288cd14400015456b04b805efbfd6d76a89a3
Change-Id: Ibff288cd14400015456b04b805efbfd6d76a89a3
3 files changed