aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Biren <gbiren@google.com>2023-06-21 16:03:17 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-06-21 16:03:17 +0000
commit8fee18a6f374d8035478f82bc67c9a193b7c1717 (patch)
treef5b7c48fcd324882ae3562b4ad0c31f609242a73
parent2a477ccdbb8016c55f325ebd06a620f6d37c9305 (diff)
parenta58ce5e9d364df32a0f1a67c72218c64d08ae294 (diff)
downloadbuild-temp_275386652.tar.gz
Merge "Add rule to convert WIFI_FEATURE_IMU_DETECTION to the equivalent soong variable." am: a58ce5e9d3temp_275386652
Original change: https://android-review.googlesource.com/c/platform/build/+/2627737 Change-Id: I33c7269d88483337838d4f4291d8639623633a5a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--core/board_config_wifi.mk5
1 files changed, 4 insertions, 1 deletions
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