platform_system_core/libkeyutils/Android.bp
Elliott Hughes 4d93ef79a2 Separate out libkeyutils and mini_keyctl.
They have different licenses.

Test: treehugger
Change-Id: I9ab8ff33d2b302a9e334b29152f6cabf46121ea9
2021-03-16 17:39:00 -07:00

31 lines
744 B
Text

package {
default_applicable_licenses: ["system_core_libkeyutils_license"],
}
license {
name: "system_core_libkeyutils_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-BSD",
],
// large-scale-change unable to identify any license_text files
}
cc_library {
name: "libkeyutils",
cflags: ["-Werror"],
defaults: ["linux_bionic_supported"],
recovery_available: true,
export_include_dirs: ["include/"],
local_include_dirs: ["include/"],
srcs: ["keyutils.cpp"],
stl: "none",
}
cc_test {
name: "libkeyutils-tests",
cflags: ["-Werror"],
shared_libs: ["libkeyutils"],
srcs: ["keyutils_test.cpp"],
test_suites: ["device-tests"],
}