e2f58a3f03
Using the AndroidLocalUnwinder object allows unwinding interpreter and JIT'd frames by default. In addition, it simplifies the code. Test: Forced interpreter on all of the time and forced fdtrack on Test: and verified unwind includes dex frames. Test: Forced JIT on all of the time and forced fdtrack on Test: and verified unwind includes dex frames. Test: Unit tests pass. Change-Id: Icae17e83c9aaa04750b07471243550a7829524f7
48 lines
1 KiB
Text
48 lines
1 KiB
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",
|
|
"libdexfile_support",
|
|
"libunwindstack",
|
|
"liblzma",
|
|
"liblog",
|
|
],
|
|
target: {
|
|
recovery: {
|
|
exclude_static_libs: ["libdexfile_support"],
|
|
},
|
|
},
|
|
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"],
|
|
}
|