From 06075e654377e0b4542433222e6ebd37f95a060d Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Mon, 27 Mar 2023 17:21:58 +0900 Subject: [PATCH] Add TARGET_USES_AOSP_FOR_WLAN soong variable It's set and used in many .mk files. Adding this to "wifi" soong config namespace helps migration of those .mk files into .bp files. Bug: 273376293 Test: m libwifi-hal libwifi-hal-qcom Merged-In: Ie0fad26305d50f70076b7e538fd1a7fa03e397cb Change-Id: Ie0fad26305d50f70076b7e538fd1a7fa03e397cb --- core/board_config_wifi.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/board_config_wifi.mk b/core/board_config_wifi.mk index a7360992ae..8289bf2c5d 100644 --- a/core/board_config_wifi.mk +++ b/core/board_config_wifi.mk @@ -78,3 +78,6 @@ endif ifdef WIFI_SKIP_STATE_TOGGLE_OFF_ON_FOR_NAN $(call soong_config_set,wifi,wifi_skip_state_toggle_off_on_for_nan,true) 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