OSDN Git Service

More NDK generated libs support.
authorDan Albert <danalbert@google.com>
Thu, 4 Aug 2016 21:14:50 +0000 (14:14 -0700)
committerDan Albert <danalbert@google.com>
Thu, 4 Aug 2016 22:22:11 +0000 (15:22 -0700)
commitc1ca19007f65fca866c95bb7de33105ed0a2f127
tree93720149bf02bab9f3f68b6139bfdf0cc0848ebd
parent6b5e8f003716c1ec218b63ddeb2ee9abfebfe74b
More NDK generated libs support.

Any NDK shared libraries not in LOCAL_SYSTEM_SHARED_LIBRARIES weren't
being pulled from the generated libs before since we were only
filtering my_system_shared_libraries and even if we had filtered
my_shared_libraries they would have been rewritten to my_ldlibs.

* Filter my_shared_libraries for NDK generated libs as well.
* Stop rewriting NDK LOCAL_SHARED_LIBRARIES to my_ldlibs. Instead,
  rewrite in the opposite direction just like we do for the platform.
* Move shared libs/ldlibs rewriting to before we filter NDK
  libraries out of shared libs/system shared libs.

Test: make checkbuild
Bug: http://b/27533932
Change-Id: If1860d9638de77089a46884f406766edaf362216
core/binary.mk