blob: c19d8b20428eddd6eac78fe7f79ea9e14fa4ed09 [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",
30 ],
Christopher Ferrise2f58a32023-05-17 16:04:38 -070031 target: {
32 recovery: {
33 exclude_static_libs: ["libdexfile_support"],
34 },
35 },
Josh Gao97271922019-11-06 13:15:00 -080036 version_script: "libfdtrack.map.txt",
37
38 allow_undefined_symbols: true,
39 recovery_available: true,
40}
Josh Gaoad8f02d2020-01-28 13:54:00 -080041
42cc_test {
43 name: "fdtrack_test",
44 srcs: ["fdtrack_test.cpp"],
45 whole_static_libs: ["libBionicCtsGtestMain"],
46 static_libs: ["liblog"],
47 test_suites: ["device-tests"],
Christopher Ferris459eecb2022-01-07 13:38:10 -080048 runtime_libs: ["libfdtrack"],
Josh Gaoad8f02d2020-01-28 13:54:00 -080049}