From fdcf16f55c1b7642bbdab02fc997a8295cd91d41 Mon Sep 17 00:00:00 2001 From: Gabriel Biren Date: Fri, 16 Jun 2023 20:49:41 +0000 Subject: [PATCH] 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 --- core/board_config_wifi.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/board_config_wifi.mk b/core/board_config_wifi.mk index 8289bf2c5d..3c27d59cc8 100644 --- a/core/board_config_wifi.mk +++ b/core/board_config_wifi.mk @@ -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 \ No newline at end of file +endif +ifdef WIFI_FEATURE_IMU_DETECTION + $(call soong_config_set,wifi,feature_imu_detection,$(WIFI_FEATURE_IMU_DETECTION)) +endif