Merge "Remove libc_ndk." into main

This commit is contained in:
Elliott Hughes 2024-02-02 21:12:29 +00:00 committed by Gerrit Code Review
commit 38dadd1225

View file

@ -1371,75 +1371,6 @@ cc_library_static {
cflags: ["-fno-builtin"],
}
// ========================================================
// libc_ndk.a
// Compatibility library for the NDK. This library contains
// all the parts of libc that are safe to statically link.
// We can't safely statically link things that can only run
// on a certain version of the OS. Examples include
// anything that talks to netd (a large portion of the DNS
// code) and anything that is dependent on the layout of a
// data structure that has changed across releases (such as
// pthread_t).
// ========================================================
cc_library_static {
name: "libc_ndk",
defaults: [
"libc_defaults",
"libc_native_allocator_defaults",
],
ramdisk_available: false,
vendor_ramdisk_available: false,
srcs: libc_common_src_files + [
"bionic/gwp_asan_wrappers.cpp",
"bionic/heap_tagging.cpp",
"bionic/malloc_common.cpp",
"bionic/malloc_limit.cpp",
],
multilib: {
lib32: {
srcs: libc_common_src_files_32,
},
},
arch: {
arm: {
srcs: [
"arch-arm/bionic/exidx_dynamic.c",
"arch-common/bionic/crtbegin_so.c",
"arch-arm/bionic/atexit_legacy.c",
"arch-common/bionic/crtend_so.S",
],
},
},
cflags: [
"-fvisibility=hidden",
"-DLIBC_STATIC",
],
whole_static_libs: [
"gwp_asan",
"gwp_asan_crash_handler",
"libarm-optimized-routines-string",
"libasync_safe",
"libc_bionic_ndk",
"libc_bootstrap",
"libc_fortify",
"libc_freebsd",
"libc_freebsd_large_stack",
"libc_freebsd_ldexp",
"libc_gdtoa",
"libc_netbsd",
"libc_openbsd_large_stack",
"libc_openbsd_ndk",
"libc_syscalls",
"libc_tzcode",
"libm",
"libstdc++",
],
}
// ========================================================
// libc_common.a
// ========================================================