2021-02-19 22:06:22 +01:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["bionic_libfdtrack_license"],
|
|
|
|
}
|
|
|
|
|
|
|
|
license {
|
|
|
|
name: "bionic_libfdtrack_license",
|
|
|
|
visibility: [":__subpackages__"],
|
|
|
|
license_kinds: [
|
|
|
|
"SPDX-license-identifier-BSD",
|
|
|
|
],
|
|
|
|
license_text: [
|
|
|
|
"NOTICE",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
2019-11-06 22:15:00 +01:00
|
|
|
cc_library_shared {
|
|
|
|
name: "libfdtrack",
|
|
|
|
srcs: ["fdtrack.cpp"],
|
|
|
|
stl: "libc++_static",
|
|
|
|
|
|
|
|
header_libs: ["bionic_libc_platform_headers"],
|
|
|
|
static_libs: [
|
|
|
|
"libasync_safe",
|
|
|
|
"libbase",
|
2023-05-18 01:04:38 +02:00
|
|
|
"libdexfile_support",
|
2019-11-06 22:15:00 +01:00
|
|
|
"libunwindstack",
|
|
|
|
"liblzma",
|
|
|
|
"liblog",
|
|
|
|
],
|
2023-05-18 01:04:38 +02:00
|
|
|
target: {
|
|
|
|
recovery: {
|
|
|
|
exclude_static_libs: ["libdexfile_support"],
|
|
|
|
},
|
|
|
|
},
|
2019-11-06 22:15:00 +01:00
|
|
|
version_script: "libfdtrack.map.txt",
|
|
|
|
|
|
|
|
allow_undefined_symbols: true,
|
|
|
|
recovery_available: true,
|
|
|
|
}
|
2020-01-28 22:54:00 +01:00
|
|
|
|
|
|
|
cc_test {
|
|
|
|
name: "fdtrack_test",
|
|
|
|
srcs: ["fdtrack_test.cpp"],
|
|
|
|
whole_static_libs: ["libBionicCtsGtestMain"],
|
|
|
|
static_libs: ["liblog"],
|
|
|
|
test_suites: ["device-tests"],
|
2022-01-07 22:38:10 +01:00
|
|
|
runtime_libs: ["libfdtrack"],
|
2020-01-28 22:54:00 +01:00
|
|
|
}
|