1package { 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 "external_iproute2_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-GPL 7 // SPDX-license-identifier-GPL-2.0 8 default_applicable_licenses: ["external_iproute2_license"], 9} 10 11cc_binary { 12 name: "ss", 13 defaults: ["iproute2_defaults"], 14 15 srcs: [ 16 "ss.c", 17 "ssfilter.y", 18 ], 19 20 shared_libs: [ 21 "libiprouteutil", 22 "libnetlink", 23 "libselinux", 24 ], 25 26 cflags: [ 27 "-Wno-missing-field-initializers", 28 "-Wno-tautological-pointer-compare", 29 "-Dsethostent(x)=", 30 ], 31 32 ldflags: ["-Wl,-export-dynamic"], 33 34 sanitize: { 35 memtag_heap: true, 36 }, 37} 38