xref: /aosp_15_r20/external/wpa_supplicant_8/Android.bp (revision 03f9172ca588f91df233974f4258bab95191f931)
1//
2// Copyright (C) 2021 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16package {
17    default_applicable_licenses: ["external_wpa_supplicant_8_license"],
18}
19
20// See: http://go/android-license-faq
21license {
22    name: "external_wpa_supplicant_8_license",
23    visibility: ["//visibility:public"],
24    license_kinds: [
25        "SPDX-license-identifier-BSD-3-Clause",
26    ],
27    license_text: ["LICENSE"],
28}
29
30cc_library_headers {
31    name: "libnetlink_iface_headers",
32    vendor_available: true,
33    export_include_dirs: [
34        "src/drivers",
35    ],
36}
37
38// Generated by building hs20-osu-client and printing LOCAL_SRC_FILES
39filegroup {
40    name: "hs20-osu-client_srcs",
41    srcs: [
42        "hs20/client/spp_client.c",
43        "hs20/client/oma_dm_client.c",
44        "hs20/client/osu_client.c",
45        "hs20/client/est.c",
46        "src/common/wpa_ctrl.c",
47        "src/common/wpa_helpers.c",
48        "src/crypto/crypto_internal.c",
49        "src/crypto/md5-internal.c",
50        "src/crypto/sha1-internal.c",
51        "src/crypto/sha256-internal.c",
52        "src/crypto/tls_openssl_ocsp.c",
53        "src/utils/base64.c",
54        "src/utils/browser-android.c",
55        "src/utils/common.c",
56        "src/utils/eloop.c",
57        "src/utils/http_curl.c",
58        "src/utils/os_unix.c",
59        "src/utils/wpa_debug.c",
60        "src/utils/wpabuf.c",
61        "src/utils/xml_libxml2.c",
62        "src/utils/xml-utils.c",
63        "src/wps/httpread.c",
64        "src/wps/http_server.c",
65    ],
66}
67
68filegroup {
69    name: "wpa_supplicant_macsec_extra_driver_srcs",
70    srcs: [
71        "src/drivers/driver_macsec_linux.c",
72        "src/drivers/driver_wired_common.c",
73    ],
74}
75
76filegroup {
77    name: "hs20_client_srcs",
78    srcs: [
79        "hs20/client/est.c",
80        "hs20/client/oma_dm_client.c",
81        "hs20/client/osu_client.c",
82        "hs20/client/spp_client.c",
83        "src/common/wpa_ctrl.c",
84        "src/common/wpa_helpers.c",
85        "src/crypto/crypto_internal.c",
86        "src/crypto/md5-internal.c",
87        "src/crypto/sha1-internal.c",
88        "src/crypto/sha256-internal.c",
89        "src/crypto/tls_openssl_ocsp.c",
90        "src/utils/base64.c",
91        "src/utils/browser-wpadebug.c",
92        "src/utils/common.c",
93        "src/utils/eloop.c",
94        "src/utils/http_curl.c",
95        "src/utils/os_unix.c",
96        "src/utils/wpa_debug.c",
97        "src/utils/wpabuf.c",
98        "src/utils/xml-utils.c",
99        "src/utils/xml_libxml2.c",
100        "src/wps/http_server.c",
101        "src/wps/httpread.c",
102    ],
103}
104