android_system_core/libstats/pull_lazy/Android.bp
Bob Badour 576104304d [LSC] Add LOCAL_LICENSE_KINDS to system/core
Added SPDX-license-identifier-Apache-2.0 to:
  libstats/pull_lazy/Android.bp
  libstats/socket_lazy/Android.bp
  trusty/utils/acvp/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I33005150521238b61d1a8c923749b17d36bba693
2021-03-17 12:59:19 -07:00

48 lines
1.2 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", "mts-statsd"],
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",
},
},
}