• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
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        "main.cpp",
14    ],
15    static_libs: [
16        "libc++fs",
17        "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",
33        "libmini_keyctl_static",
34    ],
35    shared_libs: [
36        "libbase",
37        "libkeyutils",
38        "liblog",
39    ],
40    cflags: ["-Werror", "-Wall", "-Wextra"],
41    export_include_dirs: ["include"],
42    recovery_available: true,
43}
44