platform_system_security/fsverity_init/Android.bp
Oriol Prieto Gasco 85d84ff9ed Set the container field of aconfig flags
Test: m
Bug: 312769710
Change-Id: I366717c7139886e30360914256ad7710da5095e9
2024-02-03 02:39:40 +00:00

42 lines
977 B
Text

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "system_security_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["system_security_license"],
}
cc_binary {
name: "fsverity_init",
srcs: [
"fsverity_init.cpp",
],
static_libs: [
"aconfig_fsverity_init_c_lib",
"libc++fs",
"libmini_keyctl_static",
],
shared_libs: [
"libbase",
"libkeyutils",
"liblog",
],
cflags: [
"-Werror",
"-Wall",
"-Wextra",
],
}
aconfig_declarations {
name: "aconfig_fsverity_init",
package: "android.security.flag",
container: "system",
srcs: ["flags.aconfig"],
}
cc_aconfig_library {
name: "aconfig_fsverity_init_c_lib",
aconfig_declarations: "aconfig_fsverity_init",
}