xref: /aosp_15_r20/external/wpa_supplicant_8/Android.mk (revision 03f9172ca588f91df233974f4258bab95191f931)
1S_LOCAL_PATH := $(call my-dir)
2
3ifdef FORCE_USE_ANDROIDMK_FOR_WPA
4ifneq ($(filter VER_0_8_X VER_2_1_DEVEL,$(WPA_SUPPLICANT_VERSION)),)
5# The order of the 2 Android.mks does matter!
6# TODO: Clean up the Android.mks, reset all the temporary variables at the
7# end of each Android.mk, so that one Android.mk doesn't depend on variables
8# set up in the other Android.mk.
9include $(S_LOCAL_PATH)/hostapd/Android.mk \
10        $(S_LOCAL_PATH)/wpa_supplicant/Android.mk
11ifneq ($(TARGET_BUILD_VARIANT), user)
12ifeq ($(shell test $(PLATFORM_VERSION_LAST_STABLE) -ge 8 ; echo $$?), 0)
13include $(S_LOCAL_PATH)/hs20/client/Android.mk
14endif #End of Check for platform version
15endif #End of Check for target build variant
16endif
17endif
18