Link libc++ statically

Test: bit statsd_test:*
Test: bit libstatssocket_test:*
Test: bit libstatspull_test:*
Bug: 153349659
Change-Id: Ief3d0e062ed3e5cabf5b8b6198510caf3f64eefd
This commit is contained in:
Tej Singh 2020-04-06 15:01:41 -07:00
parent 27311fd844
commit 5d8f770b1c
2 changed files with 5 additions and 1 deletions

View file

@ -30,11 +30,11 @@ cc_defaults {
shared_libs: [
"libbinder_ndk",
"liblog",
"statsd-aidl-ndk_platform",
"libstatssocket",
],
static_libs: [
"libutils",
"statsd-aidl-ndk_platform",
],
}
cc_library_shared {
@ -53,6 +53,9 @@ cc_library_shared {
"com.android.os.statsd",
"test_com.android.os.statsd",
],
stl: "libc++_static",
// TODO(b/151102177): Enable it when the build error is fixed.
header_abi_checker: {
enabled: false,

View file

@ -54,6 +54,7 @@ cc_library {
},
},
},
stl: "libc++_static",
// enumerate stable entry points for APEX use
stubs: {