xref: /aosp_15_r20/system/extras/su/Android.bp (revision 288bf5226967eb3dac5cce6c939ccc2a7f2b4fe5)
1package {
2    default_applicable_licenses: ["system_extras_su_license"],
3}
4
5license {
6    name: "system_extras_su_license",
7    visibility: [":__subpackages__"],
8    license_kinds: [
9        "SPDX-license-identifier-Apache-2.0",
10    ],
11    license_text: [
12        "NOTICE",
13    ],
14}
15
16cc_binary {
17    name: "su",
18
19    cflags: [
20        "-Wall",
21        "-Werror",
22    ],
23
24    srcs: ["su.cpp"],
25
26    install_in_xbin: true,
27
28    header_libs: ["libcutils_headers"],
29}
30