android_system_core/libstats/socket_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

52 lines
1.2 KiB
Text

// Lazy loading version of libstatssocket that can be used by code
// that is running before the statsd APEX is mounted and
// libstatssocket.so is available.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_library_static {
name: "libstatssocket_lazy",
local_include_dirs: [
"include",
],
export_include_dirs: [
"include",
],
header_libs: [
"libstatssocket_headers",
],
export_header_lib_headers: [
"libstatssocket_headers",
],
apex_available: ["//apex_available:platform"],
srcs: ["libstatssocket_lazy.cpp"],
}
cc_test {
name: "libstatssocket_lazy_test",
srcs: [
"tests/libstatssocket_lazy_test.cpp",
],
static_libs: ["libstatssocket_lazy"],
shared_libs: ["liblog"],
cflags: [
"-Wall",
"-Werror",
],
test_suites: [
"device-tests",
],
test_config: "libstatssocket_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",
},
},
}