blob: 644d46d97cec7456c31f4fe0a2ee622a113c6b5e [file] [log] [blame]
Bob Badouraa7d8352021-02-19 13:06:22 -08001package {
Aditya Choudharyd9d37c02024-02-02 13:57:12 +00002 default_team: "trendy_team_native_tools_libraries",
Bob Badouraa7d8352021-02-19 13:06:22 -08003 default_applicable_licenses: ["bionic_libfdtrack_license"],
4}
5
6license {
7 name: "bionic_libfdtrack_license",
8 visibility: [":__subpackages__"],
9 license_kinds: [
10 "SPDX-license-identifier-BSD",
11 ],
12 license_text: [
13 "NOTICE",
14 ],
15}
16
Josh Gao97271922019-11-06 13:15:00 -080017cc_library_shared {
18 name: "libfdtrack",
19 srcs: ["fdtrack.cpp"],
20 stl: "libc++_static",
21
22 header_libs: ["bionic_libc_platform_headers"],
23 static_libs: [
24 "libasync_safe",
25 "libbase",
Christopher Ferrise2f58a32023-05-17 16:04:38 -070026 "libdexfile_support",
Josh Gao97271922019-11-06 13:15:00 -080027 "libunwindstack",
28 "liblzma",
29 "liblog",
Spandan Dascc3a08e2024-01-24 01:17:14 +000030 "libz",
Josh Gao97271922019-11-06 13:15:00 -080031 ],
Christopher Ferrise2f58a32023-05-17 16:04:38 -070032 target: {
33 recovery: {
34 exclude_static_libs: ["libdexfile_support"],
35 },
36 },
Josh Gao97271922019-11-06 13:15:00 -080037 version_script: "libfdtrack.map.txt",
38
39 allow_undefined_symbols: true,
40 recovery_available: true,
41}
Josh Gaoad8f02d2020-01-28 13:54:00 -080042
43cc_test {
44 name: "fdtrack_test",
45 srcs: ["fdtrack_test.cpp"],
46 whole_static_libs: ["libBionicCtsGtestMain"],
47 static_libs: ["liblog"],
48 test_suites: ["device-tests"],
Christopher Ferris459eecb2022-01-07 13:38:10 -080049 runtime_libs: ["libfdtrack"],
Josh Gaoad8f02d2020-01-28 13:54:00 -080050}