6b3be172d6
It was discovered that we were building some objects inconsistently due to an optimization in cc_library to only build objects once and use them for both the static and shared libraries. But static libraries didn't get system_shared_libs set automatically, and we didn't notice that we would have built the objects differently. So static libraries now get the default system_shared_libs, we allow adjusting that for static vs shared in a cc_library, and we disable the optimization if the linked libraries are configured differently between static and shared in a single cc_library. This triggers dependency cycles for static libraries that libc/libdl use, so fix those cycles here. Test: treehugger Change-Id: I3cf7fda161a05ec32e0c1e871999720d12a4d38e |
||
---|---|---|
.. | ||
Android.bp | ||
libdl.arm.map | ||
libdl.arm64.map | ||
libdl.cpp | ||
libdl.map.txt | ||
libdl.mips.map | ||
libdl.mips64.map | ||
libdl.x86.map | ||
libdl.x86_64.map | ||
libdl_cfi.cpp | ||
libdl_static.cpp | ||
MODULE_LICENSE_BSD |