summaryrefslogtreecommitdiffstats
path: root/wifi/supplicant/1.0/Android.bp
blob: 978192d70ffd6c09d13eba357b1dc0843c1a4ea3 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
// This file is autogenerated by hidl-gen. Do not edit manually.

filegroup {
    name: "android.hardware.wifi.supplicant@1.0_hal",
    srcs: [
        "types.hal",
        "ISupplicant.hal",
        "ISupplicantCallback.hal",
        "ISupplicantIface.hal",
        "ISupplicantNetwork.hal",
        "ISupplicantP2pIface.hal",
        "ISupplicantP2pIfaceCallback.hal",
        "ISupplicantP2pNetwork.hal",
        "ISupplicantP2pNetworkCallback.hal",
        "ISupplicantStaIface.hal",
        "ISupplicantStaIfaceCallback.hal",
        "ISupplicantStaNetwork.hal",
        "ISupplicantStaNetworkCallback.hal",
    ],
}

genrule {
    name: "android.hardware.wifi.supplicant@1.0_genc++",
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi.supplicant@1.0",
    srcs: [
        ":android.hardware.wifi.supplicant@1.0_hal",
    ],
    out: [
        "android/hardware/wifi/supplicant/1.0/types.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantCallbackAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantIfaceAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantNetworkAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantP2pIfaceAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantP2pIfaceCallbackAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantP2pNetworkAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantP2pNetworkCallbackAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantStaIfaceAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantStaIfaceCallbackAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantStaNetworkAll.cpp",
        "android/hardware/wifi/supplicant/1.0/SupplicantStaNetworkCallbackAll.cpp",
    ],
}

genrule {
    name: "android.hardware.wifi.supplicant@1.0_genc++_headers",
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi.supplicant@1.0",
    srcs: [
        ":android.hardware.wifi.supplicant@1.0_hal",
    ],
    out: [
        "android/hardware/wifi/supplicant/1.0/types.h",
        "android/hardware/wifi/supplicant/1.0/hwtypes.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicant.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicant.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicant.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicant.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicant.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantCallback.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantCallback.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantCallback.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantCallback.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantCallback.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantIface.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantIface.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantIface.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantIface.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantIface.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantNetwork.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantNetwork.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantNetwork.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantNetwork.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantNetwork.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantP2pIface.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantP2pIface.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantP2pIface.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantP2pIface.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantP2pIface.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantP2pIfaceCallback.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantP2pIfaceCallback.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantP2pIfaceCallback.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantP2pIfaceCallback.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantP2pIfaceCallback.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantP2pNetwork.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantP2pNetwork.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantP2pNetwork.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantP2pNetwork.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantP2pNetwork.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantP2pNetworkCallback.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantP2pNetworkCallback.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantP2pNetworkCallback.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantP2pNetworkCallback.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantP2pNetworkCallback.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantStaIface.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantStaIface.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantStaIface.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantStaIface.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantStaIface.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantStaIfaceCallback.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantStaIfaceCallback.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantStaIfaceCallback.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantStaIfaceCallback.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantStaNetwork.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantStaNetwork.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantStaNetwork.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantStaNetwork.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantStaNetwork.h",
        "android/hardware/wifi/supplicant/1.0/ISupplicantStaNetworkCallback.h",
        "android/hardware/wifi/supplicant/1.0/IHwSupplicantStaNetworkCallback.h",
        "android/hardware/wifi/supplicant/1.0/BnHwSupplicantStaNetworkCallback.h",
        "android/hardware/wifi/supplicant/1.0/BpHwSupplicantStaNetworkCallback.h",
        "android/hardware/wifi/supplicant/1.0/BsSupplicantStaNetworkCallback.h",
    ],
}

cc_library {
    name: "android.hardware.wifi.supplicant@1.0",
    defaults: ["hidl-module-defaults"],
    generated_sources: ["android.hardware.wifi.supplicant@1.0_genc++"],
    generated_headers: ["android.hardware.wifi.supplicant@1.0_genc++_headers"],
    export_generated_headers: ["android.hardware.wifi.supplicant@1.0_genc++_headers"],
    vendor_available: true,
    vndk: {
        enabled: true,
    },
    shared_libs: [
        "libhidlbase",
        "libhidltransport",
        "libhwbinder",
        "liblog",
        "libutils",
        "libcutils",
    ],
    export_shared_lib_headers: [
        "libhidlbase",
        "libhidltransport",
        "libhwbinder",
        "libutils",
    ],
}