libc: Update Android.bp with recent changes

Change-Id: I54047df9db95169452bbac6d52c75161d2f3bb64
This commit is contained in:
Dan Willemsen 2016-01-05 14:32:06 -08:00
parent c6c3b47be2
commit 9b59acc9c7

View File

@ -1348,6 +1348,7 @@ cc_library_static {
"bionic/getpid.cpp",
"bionic/gettid.cpp",
"bionic/__gnu_basename.cpp",
"bionic/ifaddrs.cpp",
"bionic/inotify_init.cpp",
"bionic/ioctl.cpp",
"bionic/lchown.cpp",
@ -1766,7 +1767,6 @@ cc_library {
nocrt: true,
// special for arm
arch: {
arm: {
//TODO: This is to work around b/24465209. Remove after root cause is fixed
@ -1774,6 +1774,11 @@ cc_library {
// Don't re-export new/delete and friends, even if the compiler really wants to.
version_script: "libc.arm.map",
product_variables: {
brillo: {
version_script: "libc.arm.brillo.map",
},
},
shared: {
srcs: ["arch-arm/bionic/exidx_dynamic.c"],
@ -1781,6 +1786,8 @@ cc_library {
static: {
srcs: ["arch-arm/bionic/exidx_static.c"],
},
// special for arm
cflags: ["-DCRT_LEGACY_WORKAROUND"],
srcs: [
"arch-arm/bionic/atexit_legacy.c",
@ -1793,6 +1800,11 @@ cc_library {
mips: {
// Don't re-export new/delete and friends, even if the compiler really wants to.
version_script: "libc.mips.map",
product_variables: {
brillo: {
version_script: "libc.mips.brillo.map",
},
},
},
mips64: {
// Don't re-export new/delete and friends, even if the compiler really wants to.
@ -1804,6 +1816,11 @@ cc_library {
// Don't re-export new/delete and friends, even if the compiler really wants to.
version_script: "libc.x86.map",
product_variables: {
brillo: {
version_script: "libc.x86.brillo.map",
},
},
},
x86_64: {
// Don't re-export new/delete and friends, even if the compiler really wants to.