blob: 558849372d3494969c1dda712dfd86871d5b9609 [file] [log] [blame]
Yunkai Lim0d850132023-07-26 06:21:30 +00001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "system_security_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["system_security_license"],
8}
9
10cc_binary {
11 name: "fsverity_init",
12 srcs: [
13 "fsverity_init.cpp",
14 ],
15 static_libs: [
Victor Hsieh0da66a52023-10-16 16:15:59 -070016 "aconfig_fsverity_init_c_lib",
Yunkai Lim0d850132023-07-26 06:21:30 +000017 "libc++fs",
18 "libmini_keyctl_static",
19 ],
20 shared_libs: [
21 "libbase",
22 "libkeyutils",
23 "liblog",
24 ],
Oriol Prieto Gasco85d84ff2024-02-03 02:39:40 +000025 cflags: [
26 "-Werror",
27 "-Wall",
28 "-Wextra",
29 ],
Yunkai Lim0d850132023-07-26 06:21:30 +000030}
Victor Hsieh0da66a52023-10-16 16:15:59 -070031
32aconfig_declarations {
33 name: "aconfig_fsverity_init",
34 package: "android.security.flag",
Oriol Prieto Gasco85d84ff2024-02-03 02:39:40 +000035 container: "system",
Victor Hsieh0da66a52023-10-16 16:15:59 -070036 srcs: ["flags.aconfig"],
37}
38
39cc_aconfig_library {
40 name: "aconfig_fsverity_init_c_lib",
41 aconfig_declarations: "aconfig_fsverity_init",
42}