1package { 2 default_team: "trendy_team_native_tools_libraries", 3 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 17cc_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", 26 "libdexfile_support", 27 "libunwindstack", 28 "liblzma", 29 "liblog", 30 "libz", 31 ], 32 target: { 33 recovery: { 34 exclude_static_libs: ["libdexfile_support"], 35 }, 36 }, 37 version_script: "libfdtrack.map.txt", 38 39 allow_undefined_symbols: true, 40 recovery_available: true, 41} 42 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"], 49 runtime_libs: ["libfdtrack"], 50} 51