aboutsummaryrefslogtreecommitdiff
path: root/libiptc/Android.bp
blob: d7297a927d4a3acedc55e35315f1384ebfd70d3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "external_iptables_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-GPL
    default_applicable_licenses: ["external_iptables_license"],
}

cc_defaults {
    name: "libiptc_defaults",
    defaults: ["iptables_defaults"],

    cflags: ["-Wno-pointer-sign"],
}

cc_library_static {
    name: "libip4tc",
    defaults: ["libiptc_defaults"],

    srcs: ["libip4tc.c"],
}

cc_library_static {
    name: "libip6tc",
    defaults: ["libiptc_defaults"],

    cflags: ["-Wno-unused-function"],

    srcs: ["libip6tc.c"],
}