1cc_binary { 2 name: "netutils-wrapper-1.0", 3 defaults: ["netd_defaults"], 4 srcs: [ 5 "NetUtilsWrapper-1.0.cpp", 6 "main.cpp", 7 ], 8 shared_libs: [ 9 "libbase", 10 "liblog", 11 ], 12 symlinks: [ 13 "iptables-wrapper-1.0", 14 "ip6tables-wrapper-1.0", 15 "ndc-wrapper-1.0", 16 "tc-wrapper-1.0", 17 "ip-wrapper-1.0", 18 ], 19 cflags: [ 20 "-Werror", 21 "-Wall", 22 "-Wextra", 23 ], 24} 25 26cc_test { 27 name: "netutils_wrapper_test", 28 defaults: ["netd_defaults"], 29 srcs: [ 30 "NetUtilsWrapper-1.0.cpp", 31 "NetUtilsWrapperTest-1.0.cpp", 32 ], 33 shared_libs: [ 34 "libbase", 35 "liblog", 36 ], 37} 38