Add rule to convert WIFI_FEATURE_IMU_DETECTION

to the equivalent soong variable.

Bug: 287607876
Test: Manual test - add a log message to wifi_ext that
       only prints if the proper flag is enabled.
       Check whether the log is displayed, both before
       and after this change.
Change-Id: Id9bfc81384384b915e9772a2016a9843a57897db
This commit is contained in:
Gabriel Biren
2023-06-16 20:49:41 +00:00
parent e4635b3e04
commit fdcf16f55c

View File

@@ -80,4 +80,7 @@ ifdef WIFI_SKIP_STATE_TOGGLE_OFF_ON_FOR_NAN
endif
ifeq ($(strip $(TARGET_USES_AOSP_FOR_WLAN)),true)
$(call soong_config_set,wifi,target_uses_aosp_for_wlan,true)
endif
endif
ifdef WIFI_FEATURE_IMU_DETECTION
$(call soong_config_set,wifi,feature_imu_detection,$(WIFI_FEATURE_IMU_DETECTION))
endif