c45fe9f7bd
Bionic libs are part of the runtime APEX (com.android.runtime). In order to be able to update the runtime APEX independetly from the platform, we have to prevent things outside of the APEX from using bionic symbols that are not guaranteed to be stable. Otherwise, platform could break when a symbol is removed from the libs via the APEX update. To achive this goal, this change adds stubs variant to the bionic libs. With this, things outside of the runtime APEX (i.e. other APEXes and the platform) are built with the stubs variants that provide only the symbols that are guaranteed to be stable. The set of symbols are basically the same as the symbols available to NDK clients. However, there are a few additional symbols that are not available for NDK but should be made available for platform components. They are marked with "# apex" tag. Symbols with that tag are not exposed to apps (via NDK stubs) or vendors (via LLNDK stubs). Note that the stubs is a build-time only artifact. It is used just to break the build when private symbols are used outside of the runtime APEX. At runtime, the real library in the APEX is used. Bug: 120266448 Test: m Test: m bionic-unit-tests Change-Id: I7b8d75830c81d7d7d54e2fca21a85b3417531b47 |
||
---|---|---|
.. | ||
amd64 | ||
arm | ||
arm64 | ||
i387 | ||
mips | ||
upstream-freebsd | ||
upstream-netbsd/lib/libm | ||
x86 | ||
x86_64 | ||
Android.bp | ||
builtins.cpp | ||
digittoint.c | ||
fake_long_double.c | ||
fpmath.h | ||
freebsd-compat.h | ||
libm.map.txt | ||
MODULE_LICENSE_BSD_LIKE | ||
signbit.cpp | ||
significandl.c |