summaryrefslogtreecommitdiff
path: root/fsverity_init/Android.bp
blob: d9bff3b22b28575991838e3a8ea3c10227ec1d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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",
    srcs: ["flags.aconfig"],
}

cc_aconfig_library {
    name: "aconfig_fsverity_init_c_lib",
    aconfig_declarations: "aconfig_fsverity_init",
}