blob: fdf802f409db7a30e96eafec2e67b3a0a1278c65 [file] [log] [blame]
Bob Badour4114d1a2021-02-12 15:38:42 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "system_netd_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["system_netd_license"],
8}
9
Bernie Innocenti0c532742018-06-11 14:12:08 +090010cc_binary {
11 name: "netutils-wrapper-1.0",
12 defaults: ["netd_defaults"],
13 srcs: [
14 "NetUtilsWrapper-1.0.cpp",
15 "main.cpp",
16 ],
17 shared_libs: [
18 "libbase",
19 "liblog",
20 ],
21 symlinks: [
22 "iptables-wrapper-1.0",
23 "ip6tables-wrapper-1.0",
24 "ndc-wrapper-1.0",
25 "tc-wrapper-1.0",
26 "ip-wrapper-1.0",
27 ],
28 cflags: [
29 "-Werror",
30 "-Wall",
31 "-Wextra",
32 ],
Ken Chen2e413c32020-01-13 11:59:53 +080033 sanitize: {
34 cfi: true,
Evgenii Stepanovd18e38a2021-04-02 15:46:24 -070035 memtag_heap: true,
Ken Chen2e413c32020-01-13 11:59:53 +080036 },
Bernie Innocenti0c532742018-06-11 14:12:08 +090037}
38
39cc_test {
40 name: "netutils_wrapper_test",
41 defaults: ["netd_defaults"],
42 srcs: [
43 "NetUtilsWrapper-1.0.cpp",
44 "NetUtilsWrapperTest-1.0.cpp",
45 ],
46 shared_libs: [
47 "libbase",
48 "liblog",
49 ],
50}