blob: 83c5945799e6ac8ef7e166fde55463da40048168 [file] [log] [blame]
Bob Badour4c7858c2021-02-12 15:40:29 -08001package {
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
Victor Hsiehd0a4b202019-08-26 11:26:27 -070010cc_binary {
11 name: "fsverity_init",
12 srcs: [
Jeff Vander Stoep3fc82ea2021-11-22 14:45:42 +010013 "main.cpp",
Victor Hsiehd0a4b202019-08-26 11:26:27 -070014 ],
15 static_libs: [
16 "libc++fs",
Jeff Vander Stoep3fc82ea2021-11-22 14:45:42 +010017 "libfsverity_init",
18 "libmini_keyctl_static",
19 ],
20 shared_libs: [
21 "libbase",
22 "libkeyutils",
23 "liblog",
24 ],
25 cflags: ["-Werror", "-Wall", "-Wextra"],
26}
27
28cc_library {
29 name: "libfsverity_init",
30 srcs: ["fsverity_init.cpp"],
31 static_libs: [
32 "libc++fs",
Victor Hsiehd0a4b202019-08-26 11:26:27 -070033 "libmini_keyctl_static",
34 ],
35 shared_libs: [
36 "libbase",
Victor Hsiehd0a4b202019-08-26 11:26:27 -070037 "libkeyutils",
38 "liblog",
Victor Hsiehd0a4b202019-08-26 11:26:27 -070039 ],
40 cflags: ["-Werror", "-Wall", "-Wextra"],
Jeff Vander Stoep3fc82ea2021-11-22 14:45:42 +010041 export_include_dirs: ["include"],
42 recovery_available: true,
Victor Hsiehd0a4b202019-08-26 11:26:27 -070043}