Trevor Radcliffe | a6e8cc7 | 2021-10-19 20:17:47 +0000 | [diff] [blame] | 1 | package { |
2 | default_applicable_licenses: ["system_extras_su_license"], | ||||
3 | } | ||||
4 | |||||
5 | license { | ||||
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 | |||||
16 | cc_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 | } |