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