Fix shared_libs for cc/prebuilt.go
This commit fixes `shared_libs` for `cc_prebuilt_binary`, `cc_prebuilt_library_static`, and `cc_prebuilt_library_shared`. Before this commit, all shared libraries in `shared_libs` are dropped from the generated `LOCAL_SHARED_LIBRARIES`. This commit fixes the problem by delegating `linkerDeps()` to `libraryDecorator.linkerDeps()`. This commit also fixes the dependencies to NDK shared libraries. Before this change, those dependencies are mapped to a `ndkStubDepTag` and then ignored by the computation of `AndroidMkSharedLibs`. This commit adds it back. Bug: 123053270 Bug: 119084334 Test: libclang_rt.scudo-*.so can be checked with 2 more hacks. Change-Id: I59e37e1a3fe0c329e8cb7032e5671f117f7832a0
Loading
Please register or sign in to comment