android_system_core/libstats/pull_lazy/Android.bp
Tej Singh 42dbd2de87 Remove libstats*_lazy tests from MTS
libstatssocket_lazy_test and libstatspull_lazy_test test primaryly the
lazy libs that ship from the platform. As a result, they shouldn't be in
MTS

Bug: 363078348
Test: TH
Change-Id: Iac7e2797d9f8c432f00688a49d53aa2691a52789
2024-10-07 18:14:22 -07:00

48 lines
1.1 KiB
Text

// Lazy loading version of libstatspull that can be used by code
// that is running before the statsd APEX is mounted and
// libstatspull.so is available.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_library_static {
name: "libstatspull_lazy",
header_libs: [
"libstatspull_headers",
"libstatssocket_headers",
],
export_header_lib_headers: [
"libstatspull_headers",
],
apex_available: ["//apex_available:platform"],
srcs: ["libstatspull_lazy.cpp"],
}
cc_test {
name: "libstatspull_lazy_test",
srcs: [
"tests/libstatspull_lazy_test.cpp",
],
static_libs: [
"libstatspull_lazy",
"libstatssocket_lazy",
],
shared_libs: ["liblog"],
cflags: [
"-Wall",
"-Werror",
],
test_suites: ["device-tests"],
test_config: "libstatspull_lazy_test.xml",
// TODO(b/153588990): Remove when the build system properly separates.
// 32bit and 64bit architectures.
compile_multilib: "both",
multilib: {
lib64: {
suffix: "64",
},
lib32: {
suffix: "32",
},
},
}