Add usd_defaults target to the supplicant
build file.
Can be added to any of the supplicant
binaries to provide access to the
USD source files.
Bug: 365585450
Bug: 382756996
Test: m
Change-Id: I3652967aaca8f17626e972a6953757d4854d0215
diff --git a/wpa_supplicant/Android.bp b/wpa_supplicant/Android.bp
index 5361289..4bed89c 100644
--- a/wpa_supplicant/Android.bp
+++ b/wpa_supplicant/Android.bp
@@ -1222,6 +1222,18 @@
],
}
+cc_defaults {
+ name: "wpa_supplicant_usd_defaults",
+ cflags: [
+ "-DCONFIG_NAN_USD",
+ ],
+ srcs: [
+ "nan_usd.c",
+ "src/ap/nan_usd_ap.c",
+ "src/common/nan_de.c",
+ ],
+}
+
cc_binary {
name: "wpa_cli",
proprietary: true,