summaryrefslogtreecommitdiff
path: root/fsverity_init/Android.bp
blob: 83c5945799e6ac8ef7e166fde55463da40048168 (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
38
39
40
41
42
43
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: [
        "main.cpp",
    ],
    static_libs: [
        "libc++fs",
        "libfsverity_init",
        "libmini_keyctl_static",
    ],
    shared_libs: [
        "libbase",
        "libkeyutils",
        "liblog",
    ],
    cflags: ["-Werror", "-Wall", "-Wextra"],
}

cc_library {
    name: "libfsverity_init",
    srcs: ["fsverity_init.cpp"],
    static_libs: [
        "libc++fs",
        "libmini_keyctl_static",
    ],
    shared_libs: [
        "libbase",
        "libkeyutils",
        "liblog",
    ],
    cflags: ["-Werror", "-Wall", "-Wextra"],
    export_include_dirs: ["include"],
    recovery_available: true,
}