7ea0d74bc8
Modules contributing mainline modules (APK/APEX) should set min_sdk_version as well as apex_available. For now setting min_sdk_version doesn't change build outputs. But build-time checks will be added soon. Bug: 152655956 Test: m Change-Id: Ida890adfe6dfac79267fc0e18b63d2330266438c
60 lines
1.1 KiB
Text
60 lines
1.1 KiB
Text
cc_library {
|
|
name: "libsysutils",
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
},
|
|
|
|
srcs: [
|
|
"src/SocketListener.cpp",
|
|
"src/FrameworkListener.cpp",
|
|
"src/NetlinkListener.cpp",
|
|
"src/NetlinkEvent.cpp",
|
|
"src/FrameworkCommand.cpp",
|
|
"src/SocketClient.cpp",
|
|
"src/ServiceManager.cpp",
|
|
],
|
|
|
|
logtags: ["EventLogTags.logtags"],
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
shared_libs: [
|
|
"libbase",
|
|
"libcutils",
|
|
"liblog",
|
|
],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
tidy: true,
|
|
tidy_checks: [
|
|
"-*",
|
|
"cert-*",
|
|
"clang-analyzer-security*",
|
|
"android-*",
|
|
],
|
|
tidy_checks_as_errors: [
|
|
"cert-*",
|
|
"clang-analyzer-security*",
|
|
"android-*",
|
|
],
|
|
apex_available: [
|
|
"//apex_available:anyapex",
|
|
"//apex_available:platform",
|
|
],
|
|
min_sdk_version: "apex_inherit",
|
|
}
|
|
|
|
cc_test {
|
|
name: "libsysutils_tests",
|
|
test_suites: ["device-tests"],
|
|
srcs: [
|
|
"src/SocketListener_test.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libcutils",
|
|
"libsysutils",
|
|
],
|
|
}
|