platform_bionic/libc
Dan Willemsen 6b3be172d6 Prevent dependency cycle due to system_shared_libs expansion
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
2018-12-03 15:41:56 -08:00
..
arch-arm [ifunc] Use c implementation to compare cpu variant names 2018-11-30 07:56:22 +00:00
arch-arm64 Remove denver64 from libc 2018-11-30 22:28:39 +00:00
arch-common/bionic Change crtbrand for host bionic 2018-10-22 17:15:22 -07:00
arch-mips Remove __overloadable/__RENAME_CLANG 2018-02-06 13:35:56 -08:00
arch-mips64 bionic: add vdso clock_getres 2017-12-07 09:41:48 -08:00
arch-x86 Change memcpy ifunc to return memmove for x86 2018-11-13 14:23:19 -08:00
arch-x86_64 Make memcpy memmove 2018-06-11 18:12:45 +00:00
async_safe Add async_safe_format_fd_va_list 2018-10-08 13:27:16 -07:00
bionic Merge "Use cmdline instead for enabling heapprofd." 2018-11-30 21:56:00 +00:00
dns Merge "Replace android_open_proxy with dns_open_proxy" 2018-11-28 12:21:33 +00:00
include Revert "Add Android Runtime APEX directories to Bionic search paths." 2018-11-26 18:57:32 +00:00
kernel Update to v4.19 kernel headers. 2018-10-30 09:21:16 -07:00
malloc_debug Merge "Revert "Disable lld, libc_malloc_debug failed to boot."" 2018-11-08 04:59:14 +00:00
malloc_hooks Fix malloc_hooks for hooks_write_malloc_leak_info. 2018-07-18 15:25:45 +01:00
private Use shared globals to init __progname + environ 2018-11-28 14:26:14 -08:00
seccomp seccomp: Generate the policy files at compile time 2018-08-06 11:10:25 -07:00
stdio Make fclose/pclose distinct. 2018-10-01 16:17:37 -07:00
stdlib Add PR_SET_VMA and PR_SET_VMA_ANON_NAME to <sys/prctl.h>. 2018-08-22 10:36:23 -07:00
system_properties Clean up bionic_macros.h a bit. 2018-10-25 11:00:00 -07:00
tools Add lp32 and lp64 shorthands to SYSCALLS.TXT. 2018-11-09 13:57:34 -08:00
tzcode Finalize the name of the apex package 2018-11-07 15:42:43 +00:00
upstream-freebsd Add reallocarray(3). 2018-09-26 14:24:18 -07:00
upstream-netbsd Remove unused NetBSD compatibility cruft. 2018-09-20 13:27:41 -07:00
upstream-openbsd Add reallocarray(3). 2018-09-26 14:24:18 -07:00
versioner-dependencies Unified sysroot: kill arch-specific include dirs. 2017-10-12 13:19:51 -07:00
Android.bp Prevent dependency cycle due to system_shared_libs expansion 2018-12-03 15:41:56 -08:00
fs_config_generator.py
libc.arm.map Add getloadavg(3). 2018-10-23 11:23:00 -07:00
libc.arm64.map Add getloadavg(3). 2018-10-23 11:23:00 -07:00
libc.map.txt Add getloadavg(3). 2018-10-23 11:23:00 -07:00
libc.mips.map Add getloadavg(3). 2018-10-23 11:23:00 -07:00
libc.mips64.map Add getloadavg(3). 2018-10-23 11:23:00 -07:00
libc.x86.map Add getloadavg(3). 2018-10-23 11:23:00 -07:00
libc.x86_64.map Add getloadavg(3). 2018-10-23 11:23:00 -07:00
libstdc++.arm.map Mark new/delete as weak in the NDK stubs. 2017-07-28 11:01:33 -07:00
libstdc++.arm64.map Mark new/delete as weak in the NDK stubs. 2017-07-28 11:01:33 -07:00
libstdc++.map.txt Mark new/delete as weak in the NDK stubs. 2017-07-28 11:01:33 -07:00
libstdc++.mips.map Mark new/delete as weak in the NDK stubs. 2017-07-28 11:01:33 -07:00
libstdc++.mips64.map Mark new/delete as weak in the NDK stubs. 2017-07-28 11:01:33 -07:00
libstdc++.x86.map Mark new/delete as weak in the NDK stubs. 2017-07-28 11:01:33 -07:00
libstdc++.x86_64.map Mark new/delete as weak in the NDK stubs. 2017-07-28 11:01:33 -07:00
MODULE_LICENSE_BSD
NOTICE Remove denver64 from libc 2018-11-30 22:28:39 +00:00
SECCOMP_BLACKLIST_APP.TXT Allow several syscalls to app process 2018-03-28 16:30:20 -07:00
SECCOMP_BLACKLIST_COMMON.TXT Split zygote's seccomp filter into two 2018-01-04 12:28:40 -08:00
SECCOMP_WHITELIST_APP.TXT Move pipe, open, and getdents from the APP to COMMON seccomp whitelist. 2018-09-11 19:20:34 -04:00
SECCOMP_WHITELIST_COMMON.TXT Move pipe, open, and getdents from the APP to COMMON seccomp whitelist. 2018-09-11 19:20:34 -04:00
SECCOMP_WHITELIST_GLOBAL.TXT Create global seccomp policy. 2017-07-21 20:30:21 -07:00
SECCOMP_WHITELIST_SYSTEM.TXT Add bpf syscall to seccomp whitelist 2018-01-18 12:08:34 -08:00
SYSCALLS.TXT Add lp32 and lp64 shorthands to SYSCALLS.TXT. 2018-11-09 13:57:34 -08:00
version_script.txt