summaryrefslogtreecommitdiff
path: root/su/Android.bp
blob: 86e44fb41ad1fb90196db4f623afa099069cddc5 (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
package {
    default_applicable_licenses: ["system_extras_su_license"],
}

license {
    name: "system_extras_su_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
    ],
    license_text: [
        "NOTICE",
    ],
}

cc_binary {
    name: "su",

    cflags: [
        "-Wall",
        "-Werror",
    ],

    srcs: ["su.cpp"],

    install_in_xbin: true,

    header_libs: ["libcutils_headers"],
}