platform_system_core/libkeyutils/Android.bp
David Anderson 61bc5a7097 Make libfs_mgr dependencies vendor_ramdisk_available.
This is needed to link libfs_mgr with snapuserd.

Bug: 193833730
Test: builds
Change-Id: If499d7ec060f9964ccd6900dcaa6425a34ae5ec8
2021-07-23 16:50:06 -07:00

31 lines
756 B
Text

package {
default_applicable_licenses: ["system_core_libkeyutils_license"],
}
license {
name: "system_core_libkeyutils_license",
visibility: [":__subpackages__"],
license_kinds: ["SPDX-license-identifier-BSD"],
license_text: ["NOTICE"],
}
cc_library {
name: "libkeyutils",
cflags: ["-Werror"],
defaults: ["linux_bionic_supported"],
ramdisk_available: true,
vendor_ramdisk_available: true,
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"],
}