459eecb28b
Modify libfdtrack to use the normal Unwinder object. In addition, update the libfdtrack so that it doesn't record frames in libfdtrack.so rather than skipping frames it thinks will be in the library. Modify the malloc debug code to use the normal Unwinder object. Bug: 120606663 Test: All unit tests pass. Change-Id: I3c9612dd10e62389e6219e68045ee87f7b2625f5
42 lines
890 B
Text
42 lines
890 B
Text
package {
|
|
default_applicable_licenses: ["bionic_libfdtrack_license"],
|
|
}
|
|
|
|
license {
|
|
name: "bionic_libfdtrack_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-BSD",
|
|
],
|
|
license_text: [
|
|
"NOTICE",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libfdtrack",
|
|
srcs: ["fdtrack.cpp"],
|
|
stl: "libc++_static",
|
|
|
|
header_libs: ["bionic_libc_platform_headers"],
|
|
static_libs: [
|
|
"libasync_safe",
|
|
"libbase",
|
|
"libunwindstack",
|
|
"liblzma",
|
|
"liblog",
|
|
],
|
|
version_script: "libfdtrack.map.txt",
|
|
|
|
allow_undefined_symbols: true,
|
|
recovery_available: true,
|
|
}
|
|
|
|
cc_test {
|
|
name: "fdtrack_test",
|
|
srcs: ["fdtrack_test.cpp"],
|
|
whole_static_libs: ["libBionicCtsGtestMain"],
|
|
static_libs: ["liblog"],
|
|
test_suites: ["device-tests"],
|
|
runtime_libs: ["libfdtrack"],
|
|
}
|