2021-02-17 03:02:14 +00:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["system_core_libkeyutils_license"],
|
|
|
|
}
|
|
|
|
|
|
|
|
license {
|
|
|
|
name: "system_core_libkeyutils_license",
|
|
|
|
visibility: [":__subpackages__"],
|
2021-06-25 21:42:51 +00:00
|
|
|
license_kinds: ["SPDX-license-identifier-BSD"],
|
|
|
|
license_text: ["NOTICE"],
|
2021-02-17 03:02:14 +00:00
|
|
|
}
|
|
|
|
|
2017-05-10 00:09:06 +00:00
|
|
|
cc_library {
|
|
|
|
name: "libkeyutils",
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
defaults: ["linux_bionic_supported"],
|
2021-06-11 03:58:53 +00:00
|
|
|
ramdisk_available: true,
|
2021-07-23 17:52:06 +00:00
|
|
|
vendor_ramdisk_available: true,
|
2018-05-24 05:11:00 +00:00
|
|
|
recovery_available: true,
|
2017-05-10 00:09:06 +00:00
|
|
|
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"],
|
2018-04-27 23:12:06 +00:00
|
|
|
test_suites: ["device-tests"],
|
2017-05-10 00:09:06 +00:00
|
|
|
}
|