Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 1 | // Copyright (C) 2021 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | package { |
| 16 | default_applicable_licenses: [ |
Bob Badour | 618e16c | 2022-02-14 12:41:29 -0800 | [diff] [blame] | 17 | // Inherits SPDX-license-identifier-BSD-3-Clause |
| 18 | "external_wpa_supplicant_8_license", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 19 | ], |
| 20 | } |
| 21 | |
Bob Badour | 618e16c | 2022-02-14 12:41:29 -0800 | [diff] [blame] | 22 | // See: http://go/android-license-faq |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 23 | license { |
Bob Badour | 618e16c | 2022-02-14 12:41:29 -0800 | [diff] [blame] | 24 | name: "external_wpa_supplicant_8_wpa_supplicant_icons_license", |
| 25 | license_kinds: ["SPDX-license-identifier-CC0-1.0"], |
| 26 | license_text: ["wpa_gui-qt4/icons/LICENSE"], |
| 27 | } |
| 28 | |
| 29 | // Ostensibly unused. |
| 30 | filegroup { |
| 31 | name: "wpa_supplicant_gui_qt4_icons", |
| 32 | srcs: ["wpa_gui-qt4/icons/*.svg"], |
| 33 | licenses: [ |
| 34 | "external_wpa_supplicant_8_license", |
| 35 | "external_wpa_supplicant_8_wpa_supplicant_icons_license", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 36 | ], |
| 37 | } |
| 38 | |
| 39 | cc_library_headers { |
| 40 | name: "wpa_supplicant_headers", |
| 41 | export_include_dirs: [ |
| 42 | ".", |
| 43 | "src", |
| 44 | "src/common", |
| 45 | "src/drivers", |
| 46 | "src/eap_common", |
| 47 | "src/eapol_supp", |
| 48 | "src/eap_peer", |
| 49 | "src/eap_server", |
| 50 | "src/l2_packet", |
| 51 | "src/radius", |
| 52 | "src/rsn_supp", |
| 53 | "src/tls", |
| 54 | "src/utils", |
| 55 | "src/wps", |
| 56 | ], |
| 57 | soc_specific: true, |
| 58 | } |
| 59 | |
| 60 | filegroup { |
| 61 | name: "wpa_supplicant_template.conf", |
| 62 | srcs: ["wpa_supplicant_template.conf"], |
| 63 | } |
| 64 | |
| 65 | cc_defaults { |
| 66 | name: "wpa_supplicant_defaults", |
| 67 | defaults: ["wpa_supplicant_cflags_defaults"], |
| 68 | srcs: [":wpa_supplicant_srcs"], |
| 69 | shared_libs: [ |
Sunil Ravi | 3db35ff | 2023-11-06 23:23:30 +0000 | [diff] [blame] | 70 | "android.hardware.wifi.supplicant-V3-ndk", |
Gabriel Biren | 6b4e827 | 2022-12-14 23:07:53 +0000 | [diff] [blame] | 71 | "android.system.keystore2-V1-ndk", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 72 | "libbase", |
Gabriel Biren | 57ededa | 2021-09-03 16:08:50 +0000 | [diff] [blame] | 73 | "libbinder_ndk", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 74 | "libc", |
| 75 | "libcrypto", |
| 76 | "libcutils", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 77 | "libkeystore-engine-wifi-hidl", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 78 | "liblog", |
| 79 | "libnl", |
| 80 | "libssl", |
| 81 | "libutils", |
| 82 | ], |
| 83 | relative_install_path: "hw", |
| 84 | soc_specific: true, |
| 85 | static_libs: [ |
Gabriel Biren | 57ededa | 2021-09-03 16:08:50 +0000 | [diff] [blame] | 86 | "libwpa_aidl_bp", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 87 | ], |
| 88 | header_libs: [ |
| 89 | "wpa_supplicant_headers", |
Gabriel Biren | 57ededa | 2021-09-03 16:08:50 +0000 | [diff] [blame] | 90 | "libwpa_aidl_headers", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 91 | ], |
| 92 | } |
| 93 | |
| 94 | soong_config_module_type { |
| 95 | name: "wpa_supplicant_cflags_cc_defaults", |
| 96 | module_type: "cc_defaults", |
| 97 | config_namespace: "wpa_supplicant", |
| 98 | value_variables: [ |
| 99 | "platform_version", |
| 100 | "nl80211_driver", |
| 101 | ], |
| 102 | properties: ["cflags"], |
| 103 | } |
| 104 | |
| 105 | wpa_supplicant_cflags_cc_defaults { |
| 106 | name: "wpa_supplicant_cflags_defaults", |
| 107 | soong_config_variables: { |
| 108 | // Devices that include this module should set these soong config vars appropriately. |
| 109 | // For example: |
| 110 | // $(call add_soong_config_namespace, wpa_supplicant) |
| 111 | // $(call add_soong_config_var_value, wpa_supplicant, platform_version, $(PLATFORM_VERSION)) |
| 112 | // $(call add_soong_config_var_value, wpa_supplicant, nl80211_driver, CONFIG_DRIVER_NL80211_QCA) |
| 113 | platform_version: { |
| 114 | cflags: ["-DVERSION_STR_POSTFIX=\"-%s\""], |
| 115 | conditions_default: { |
| 116 | // Default value |
| 117 | cflags: ["-DVERSION_STR_POSTFIX=\"-Android\""], |
| 118 | }, |
| 119 | }, |
| 120 | nl80211_driver: { |
| 121 | cflags: ["-D%s"], |
| 122 | // Flag is optional, so no default value provided. |
| 123 | }, |
| 124 | }, |
| 125 | // Generated by building wpa_supplicant and printing LOCAL_CFLAGS. |
| 126 | cflags: [ |
| 127 | "-DANDROID_LOG_NAME=\"wpa_supplicant\"", |
| 128 | "-DANDROID_P2P", |
| 129 | "-DCONFIG_ACS", |
| 130 | "-DCONFIG_ANDROID_LOG", |
| 131 | "-DCONFIG_AP", |
| 132 | "-DCONFIG_BACKEND_FILE", |
| 133 | "-DCONFIG_CTRL_IFACE", |
| 134 | "-DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/vendor/wifi/wpa/sockets\"", |
| 135 | "-DCONFIG_CTRL_IFACE_DIR=\"/data/vendor/wifi/wpa/sockets\"", |
Gabriel Biren | 57ededa | 2021-09-03 16:08:50 +0000 | [diff] [blame] | 136 | "-DCONFIG_CTRL_IFACE_AIDL", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 137 | "-DCONFIG_CTRL_IFACE_UNIX", |
| 138 | "-DCONFIG_DPP", |
| 139 | "-DCONFIG_DPP2", |
| 140 | "-DCONFIG_DRIVER_NL80211", |
| 141 | "-DCONFIG_ECC", |
| 142 | "-DCONFIG_ERP", |
| 143 | "-DCONFIG_FILS", |
| 144 | "-DCONFIG_GAS", |
| 145 | "-DCONFIG_GAS_SERVER", |
Sundong Ahn | 4f6ca3a | 2021-12-02 01:04:41 +0000 | [diff] [blame] | 146 | "-DCONFIG_AIDL", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 147 | "-DCONFIG_HMAC_SHA256_KDF", |
| 148 | "-DCONFIG_HMAC_SHA384_KDF", |
| 149 | "-DCONFIG_HMAC_SHA512_KDF", |
| 150 | "-DCONFIG_HS20", |
| 151 | "-DCONFIG_IEEE80211AC", |
| 152 | "-DCONFIG_IEEE80211R", |
| 153 | "-DCONFIG_INTERWORKING", |
| 154 | "-DCONFIG_IPV6", |
| 155 | "-DCONFIG_JSON", |
| 156 | "-DCONFIG_MBO", |
| 157 | "-DCONFIG_NO_ACCOUNTING", |
| 158 | "-DCONFIG_NO_RADIUS", |
| 159 | "-DCONFIG_NO_RADIUS", |
| 160 | "-DCONFIG_NO_RANDOM_POOL", |
| 161 | "-DCONFIG_NO_ROAMING", |
| 162 | "-DCONFIG_NO_VLAN", |
| 163 | "-DCONFIG_OFFCHANNEL", |
| 164 | "-DCONFIG_OWE", |
| 165 | "-DCONFIG_P2P", |
| 166 | "-DCONFIG_SAE", |
| 167 | "-DCONFIG_SAE_PK", |
| 168 | "-DCONFIG_SHA256", |
| 169 | "-DCONFIG_SHA384", |
| 170 | "-DCONFIG_SHA512", |
| 171 | "-DCONFIG_SMARTCARD", |
| 172 | "-DCONFIG_SME", |
| 173 | "-DCONFIG_SUITEB", |
| 174 | "-DCONFIG_SUITEB192", |
| 175 | "-DCONFIG_TDLS", |
| 176 | "-DCONFIG_WEP", |
| 177 | "-DCONFIG_WIFI_DISPLAY", |
| 178 | "-DCONFIG_WNM", |
| 179 | "-DCONFIG_WPA_CLI_HISTORY_DIR=\"/data/vendor/wifi/wpa\"", |
| 180 | "-DCONFIG_WPS", |
| 181 | "-DCONFIG_WPS_ER", |
| 182 | "-DCONFIG_WPS_NFC", |
| 183 | "-DCONFIG_WPS_OOB", |
| 184 | "-DCONFIG_WPS_UPNP", |
| 185 | "-DEAP_AKA", |
| 186 | "-DEAP_AKA_PRIME", |
| 187 | "-DEAP_GTC", |
| 188 | "-DEAP_LEAP", |
| 189 | "-DEAP_MD5", |
| 190 | "-DEAP_MSCHAPv2", |
| 191 | "-DEAP_OTP", |
| 192 | "-DEAP_PEAP", |
| 193 | "-DEAP_PWD", |
| 194 | "-DEAP_SERVER", |
| 195 | "-DEAP_SERVER_IDENTITY", |
| 196 | "-DEAP_SERVER_WSC", |
| 197 | "-DEAP_SIM", |
| 198 | "-DEAP_TLS", |
| 199 | "-DEAP_TLS_OPENSSL", |
| 200 | "-DEAP_TTLS", |
| 201 | "-DEAP_WSC", |
| 202 | "-DIEEE8021X_EAPOL", |
| 203 | "-DNEED_AP_MLME", |
| 204 | "-DPKCS12_FUNCS", |
| 205 | "-DTLS_DEFAULT_CIPHERS=\"DEFAULT:!EXP:!LOW\"", |
| 206 | "-DWPA_IGNORE_CONFIG_ERRORS", |
| 207 | "-Wall", |
| 208 | "-Werror", |
| 209 | "-Wno-error=sometimes-uninitialized", |
| 210 | "-Wno-incompatible-pointer-types", |
| 211 | "-Wno-incompatible-pointer-types-discards-qualifiers", |
| 212 | "-Wno-macro-redefined", |
| 213 | "-Wno-parentheses-equality", |
| 214 | "-Wno-sign-compare", |
| 215 | "-Wno-unused-function", |
| 216 | "-Wno-unused-parameter", |
| 217 | "-Wno-unused-variable", |
| 218 | ], |
Chih-Hung Hsieh | f3cee1d | 2022-12-02 13:06:22 -0800 | [diff] [blame] | 219 | // Similar to suppressing clang compiler warnings, here we |
| 220 | // suppress clang-tidy warnings to reduce noises in Android build.log. |
| 221 | tidy_checks: [ |
| 222 | "-android-cloexec-*", |
| 223 | "-bugprone-branch-clone", |
| 224 | "-bugprone-macro-parentheses", |
| 225 | "-bugprone-misplaced-widening-cast", |
| 226 | "-bugprone-signal-handler", |
| 227 | "-bugprone-signed-char-misuse", |
| 228 | "-bugprone-sizeof-expression", |
| 229 | "-bugprone-suspicious-string-compare", |
| 230 | "-bugprone-too-small-loop-variable", |
| 231 | "-cert-err34-c", |
| 232 | "-cert-msc30-c", |
| 233 | "-cert-msc50-cpp", |
| 234 | "-cert-msc54-cpp", |
| 235 | "-cert-sig30-c", |
| 236 | "-cert-str34-c", |
| 237 | "-clang-analyzer-core.NullDereference", |
| 238 | "-clang-analyzer-core.UndefinedBinaryOperatorResult", |
| 239 | "-clang-analyzer-deadcode.DeadStores", |
| 240 | "-clang-analyzer-optin.performance.Padding", |
| 241 | "-clang-analyzer-optin.portability.UnixAPI", |
| 242 | "-clang-analyzer-security.insecureAPI.UncheckedReturn", |
| 243 | "-clang-analyzer-unix.cstring.NullArg", |
| 244 | "-clang-analyzer-unix.Malloc", |
| 245 | "-clang-diagnostic-unused-but-set-variable", |
| 246 | "-misc-redundant-expression", |
| 247 | ], |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 248 | } |
| 249 | |
| 250 | // Generated by building wpa_supplicant and printing LOCAL_SRC_FILES. |
| 251 | filegroup { |
| 252 | name: "wpa_supplicant_srcs", |
| 253 | srcs: [ |
| 254 | "ap.c", |
| 255 | "bss.c", |
| 256 | "bssid_ignore.c", |
| 257 | "config.c", |
| 258 | "config_file.c", |
| 259 | "ctrl_iface.c", |
| 260 | "ctrl_iface_unix.c", |
| 261 | "dpp_supplicant.c", |
| 262 | "eap_register.c", |
| 263 | "events.c", |
| 264 | "gas_query.c", |
| 265 | "hs20_supplicant.c", |
| 266 | "interworking.c", |
| 267 | "main.c", |
| 268 | "mbo.c", |
| 269 | "notify.c", |
| 270 | "offchannel.c", |
| 271 | "op_classes.c", |
| 272 | "p2p_supplicant.c", |
| 273 | "p2p_supplicant_sd.c", |
| 274 | "robust_av.c", |
| 275 | "rrm.c", |
| 276 | "scan.c", |
| 277 | "sme.c", |
| 278 | "src/ap/acs.c", |
| 279 | "src/ap/ap_config.c", |
| 280 | "src/ap/ap_drv_ops.c", |
| 281 | "src/ap/ap_list.c", |
Sunil Ravi | 38ad1ed | 2023-01-17 23:58:31 +0000 | [diff] [blame] | 282 | "src/ap/comeback_token.c", |
| 283 | "src/pasn/pasn_responder.c", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 284 | "src/ap/ap_mlme.c", |
| 285 | "src/ap/authsrv.c", |
| 286 | "src/ap/beacon.c", |
| 287 | "src/ap/bss_load.c", |
| 288 | "src/ap/ctrl_iface_ap.c", |
| 289 | "src/ap/dfs.c", |
| 290 | "src/ap/dpp_hostapd.c", |
| 291 | "src/ap/drv_callbacks.c", |
| 292 | "src/ap/eap_user_db.c", |
| 293 | "src/ap/fils_hlp.c", |
| 294 | "src/ap/gas_query_ap.c", |
| 295 | "src/ap/gas_serv.c", |
| 296 | "src/ap/hostapd.c", |
| 297 | "src/ap/hs20.c", |
| 298 | "src/ap/hw_features.c", |
| 299 | "src/ap/ieee802_11_auth.c", |
| 300 | "src/ap/ieee802_11.c", |
| 301 | "src/ap/ieee802_11_ht.c", |
| 302 | "src/ap/ieee802_11_shared.c", |
| 303 | "src/ap/ieee802_11_vht.c", |
| 304 | "src/ap/ieee802_1x.c", |
| 305 | "src/ap/mbo_ap.c", |
| 306 | "src/ap/neighbor_db.c", |
| 307 | "src/ap/p2p_hostapd.c", |
| 308 | "src/ap/pmksa_cache_auth.c", |
| 309 | "src/ap/rrm.c", |
| 310 | "src/ap/sta_info.c", |
| 311 | "src/ap/tkip_countermeasures.c", |
| 312 | "src/ap/utils.c", |
| 313 | "src/ap/wmm.c", |
| 314 | "src/ap/wpa_auth.c", |
| 315 | "src/ap/wpa_auth_glue.c", |
| 316 | "src/ap/wpa_auth_ie.c", |
| 317 | "src/ap/wps_hostapd.c", |
| 318 | "src/common/ctrl_iface_common.c", |
| 319 | "src/common/dpp_auth.c", |
| 320 | "src/common/dpp_backup.c", |
| 321 | "src/common/dpp.c", |
| 322 | "src/common/dpp_crypto.c", |
| 323 | "src/common/dpp_pkex.c", |
| 324 | "src/common/dpp_reconfig.c", |
| 325 | "src/common/dpp_tcp.c", |
| 326 | "src/common/dragonfly.c", |
| 327 | "src/common/gas.c", |
| 328 | "src/common/gas_server.c", |
| 329 | "src/common/hw_features_common.c", |
| 330 | "src/common/ieee802_11_common.c", |
| 331 | "src/common/sae.c", |
| 332 | "src/common/sae_pk.c", |
| 333 | "src/common/wpa_common.c", |
| 334 | "src/crypto/aes-ctr.c", |
chao.meng | 4c248f0 | 2023-11-18 16:55:52 +0800 | [diff] [blame^] | 335 | "src/crypto/aes-encblock.c", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 336 | "src/crypto/aes-siv.c", |
| 337 | "src/crypto/crypto_openssl.c", |
| 338 | "src/crypto/dh_groups.c", |
| 339 | "src/crypto/fips_prf_openssl.c", |
chao.meng | 4c248f0 | 2023-11-18 16:55:52 +0800 | [diff] [blame^] | 340 | "src/crypto/milenage.c", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 341 | "src/crypto/ms_funcs.c", |
| 342 | "src/crypto/sha1-prf.c", |
| 343 | "src/crypto/sha1-tlsprf.c", |
| 344 | "src/crypto/sha256-kdf.c", |
| 345 | "src/crypto/sha256-prf.c", |
| 346 | "src/crypto/sha256-tlsprf.c", |
| 347 | "src/crypto/sha384-kdf.c", |
| 348 | "src/crypto/sha384-prf.c", |
| 349 | "src/crypto/sha512-kdf.c", |
| 350 | "src/crypto/sha512-prf.c", |
| 351 | "src/crypto/tls_openssl.c", |
| 352 | "src/crypto/tls_openssl_ocsp.c", |
| 353 | "src/drivers/driver_common.c", |
| 354 | "src/drivers/driver_nl80211_android.c", |
| 355 | "src/drivers/driver_nl80211.c", |
| 356 | "src/drivers/driver_nl80211_capa.c", |
| 357 | "src/drivers/driver_nl80211_event.c", |
| 358 | "src/drivers/driver_nl80211_monitor.c", |
| 359 | "src/drivers/driver_nl80211_scan.c", |
| 360 | "src/drivers/drivers.c", |
| 361 | "src/drivers/linux_ioctl.c", |
| 362 | "src/drivers/netlink.c", |
| 363 | "src/drivers/rfkill.c", |
| 364 | "src/eap_common/chap.c", |
| 365 | "src/eap_common/eap_common.c", |
| 366 | "src/eap_common/eap_peap_common.c", |
| 367 | "src/eap_common/eap_pwd_common.c", |
| 368 | "src/eap_common/eap_sim_common.c", |
| 369 | "src/eap_common/eap_wsc_common.c", |
| 370 | "src/eapol_auth/eapol_auth_sm.c", |
| 371 | "src/eapol_supp/eapol_supp_sm.c", |
| 372 | "src/eap_peer/eap_aka.c", |
| 373 | "src/eap_peer/eap.c", |
| 374 | "src/eap_peer/eap_gtc.c", |
| 375 | "src/eap_peer/eap_leap.c", |
| 376 | "src/eap_peer/eap_md5.c", |
| 377 | "src/eap_peer/eap_methods.c", |
| 378 | "src/eap_peer/eap_mschapv2.c", |
| 379 | "src/eap_peer/eap_otp.c", |
| 380 | "src/eap_peer/eap_peap.c", |
| 381 | "src/eap_peer/eap_pwd.c", |
| 382 | "src/eap_peer/eap_sim.c", |
| 383 | "src/eap_peer/eap_tls.c", |
| 384 | "src/eap_peer/eap_tls_common.c", |
| 385 | "src/eap_peer/eap_ttls.c", |
| 386 | "src/eap_peer/eap_wsc.c", |
| 387 | "src/eap_peer/mschapv2.c", |
| 388 | "src/eap_server/eap_server.c", |
| 389 | "src/eap_server/eap_server_identity.c", |
| 390 | "src/eap_server/eap_server_methods.c", |
| 391 | "src/eap_server/eap_server_wsc.c", |
| 392 | "src/l2_packet/l2_packet_linux.c", |
| 393 | "src/p2p/p2p_build.c", |
| 394 | "src/p2p/p2p.c", |
| 395 | "src/p2p/p2p_dev_disc.c", |
| 396 | "src/p2p/p2p_go_neg.c", |
| 397 | "src/p2p/p2p_group.c", |
| 398 | "src/p2p/p2p_invitation.c", |
| 399 | "src/p2p/p2p_parse.c", |
| 400 | "src/p2p/p2p_pd.c", |
| 401 | "src/p2p/p2p_sd.c", |
| 402 | "src/p2p/p2p_utils.c", |
| 403 | "src/rsn_supp/pmksa_cache.c", |
| 404 | "src/rsn_supp/preauth.c", |
| 405 | "src/rsn_supp/tdls.c", |
| 406 | "src/rsn_supp/wpa.c", |
| 407 | "src/rsn_supp/wpa_ft.c", |
| 408 | "src/rsn_supp/wpa_ie.c", |
| 409 | "src/tls/asn1.c", |
| 410 | "src/utils/base64.c", |
| 411 | "src/utils/bitfield.c", |
| 412 | "src/utils/common.c", |
| 413 | "src/utils/config.c", |
| 414 | "src/utils/crc32.c", |
| 415 | "src/utils/eloop.c", |
| 416 | "src/utils/ip_addr.c", |
| 417 | "src/utils/json.c", |
| 418 | "src/utils/os_unix.c", |
| 419 | "src/utils/radiotap.c", |
| 420 | "src/utils/uuid.c", |
| 421 | "src/utils/wpabuf.c", |
| 422 | "src/utils/wpa_debug.c", |
| 423 | "src/wps/http_client.c", |
| 424 | "src/wps/httpread.c", |
| 425 | "src/wps/http_server.c", |
| 426 | "src/wps/ndef.c", |
| 427 | "src/wps/upnp_xml.c", |
| 428 | "src/wps/wps_attr_build.c", |
| 429 | "src/wps/wps_attr_parse.c", |
| 430 | "src/wps/wps_attr_process.c", |
| 431 | "src/wps/wps.c", |
| 432 | "src/wps/wps_common.c", |
| 433 | "src/wps/wps_dev_attr.c", |
| 434 | "src/wps/wps_enrollee.c", |
| 435 | "src/wps/wps_er.c", |
| 436 | "src/wps/wps_er_ssdp.c", |
| 437 | "src/wps/wps_registrar.c", |
| 438 | "src/wps/wps_upnp_ap.c", |
| 439 | "src/wps/wps_upnp.c", |
| 440 | "src/wps/wps_upnp_event.c", |
| 441 | "src/wps/wps_upnp_ssdp.c", |
| 442 | "src/wps/wps_upnp_web.c", |
chao.meng | 4c248f0 | 2023-11-18 16:55:52 +0800 | [diff] [blame^] | 443 | "twt.c", |
Daniel Norman | 1f2ba85 | 2021-10-04 16:14:43 -0700 | [diff] [blame] | 444 | "wifi_display.c", |
| 445 | "wmm_ac.c", |
| 446 | "wnm_sta.c", |
| 447 | "wpas_glue.c", |
| 448 | "wpa_supplicant.c", |
| 449 | "wps_supplicant.c", |
| 450 | ], |
Sunil Ravi | 3db35ff | 2023-11-06 23:23:30 +0000 | [diff] [blame] | 451 | } |
chao.meng | 4c248f0 | 2023-11-18 16:55:52 +0800 | [diff] [blame^] | 452 | |
| 453 | // Generated by building wpa_cli and printing LOCAL_SRC_FILES |
| 454 | filegroup { |
| 455 | name: "wpa_cli_srcs", |
| 456 | srcs: [ |
| 457 | "src/common/cli.c", |
| 458 | "src/utils/common.c", |
| 459 | "src/utils/edit.c", |
| 460 | "src/utils/eloop.c", |
| 461 | "src/utils/os_unix.c", |
| 462 | "src/utils/wpa_debug.c", |
| 463 | "wpa_cli.c", |
| 464 | ], |
| 465 | } |
| 466 | |
| 467 | // Generated by building libwpa_client and printing LOCAL_SRC_FILES |
| 468 | filegroup { |
| 469 | name: "libwpa_client_srcs", |
| 470 | srcs: [ |
| 471 | "src/common/wpa_ctrl.c", |
| 472 | "src/utils/os_unix.c", |
| 473 | ], |
| 474 | } |
| 475 | |
| 476 | cc_library_headers { |
| 477 | name: "libwpa_client_headers", |
| 478 | export_include_dirs: [ |
| 479 | ".", |
| 480 | "wpa_client_include/libwpa_client", |
| 481 | ], |
| 482 | soc_specific: true, |
| 483 | } |