xref: /aosp_15_r20/external/iptables/libiptc/Android.bp (revision a71a954618bbadd4a345637e5edcf36eec826889)
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_iptables_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-GPL
7    default_applicable_licenses: ["external_iptables_license"],
8}
9
10cc_defaults {
11    name: "libiptc_defaults",
12    defaults: ["iptables_defaults"],
13
14    cflags: ["-Wno-pointer-sign"],
15}
16
17cc_library_static {
18    name: "libip4tc",
19    defaults: ["libiptc_defaults"],
20
21    srcs: ["libip4tc.c"],
22}
23
24cc_library_static {
25    name: "libip6tc",
26    defaults: ["libiptc_defaults"],
27
28    cflags: ["-Wno-unused-function"],
29
30    srcs: ["libip6tc.c"],
31}
32