blob: 7539052a4f5b554727cc3114634120b0e275a67c [file] [log] [blame]
Bob Badouraa7d8352021-02-19 13:06:22 -08001package {
2 default_applicable_licenses: ["bionic_libfdtrack_license"],
3}
4
5license {
6 name: "bionic_libfdtrack_license",
7 visibility: [":__subpackages__"],
8 license_kinds: [
9 "SPDX-license-identifier-BSD",
10 ],
11 license_text: [
12 "NOTICE",
13 ],
14}
15
Josh Gao97271922019-11-06 13:15:00 -080016cc_library_shared {
17 name: "libfdtrack",
18 srcs: ["fdtrack.cpp"],
19 stl: "libc++_static",
20
21 header_libs: ["bionic_libc_platform_headers"],
22 static_libs: [
23 "libasync_safe",
24 "libbase",
Christopher Ferrise2f58a32023-05-17 16:04:38 -070025 "libdexfile_support",
Josh Gao97271922019-11-06 13:15:00 -080026 "libunwindstack",
27 "liblzma",
28 "liblog",
29 ],
Christopher Ferrise2f58a32023-05-17 16:04:38 -070030 target: {
31 recovery: {
32 exclude_static_libs: ["libdexfile_support"],
33 },
34 },
Josh Gao97271922019-11-06 13:15:00 -080035 version_script: "libfdtrack.map.txt",
36
37 allow_undefined_symbols: true,
38 recovery_available: true,
39}
Josh Gaoad8f02d2020-01-28 13:54:00 -080040
41cc_test {
42 name: "fdtrack_test",
43 srcs: ["fdtrack_test.cpp"],
44 whole_static_libs: ["libBionicCtsGtestMain"],
45 static_libs: ["liblog"],
46 test_suites: ["device-tests"],
Christopher Ferris459eecb2022-01-07 13:38:10 -080047 runtime_libs: ["libfdtrack"],
Josh Gaoad8f02d2020-01-28 13:54:00 -080048}