Merge "Do not override setting of SOONG_CONFIG_<m>_module_source_build"

This commit is contained in:
Treehugger Robot 2022-06-23 22:21:41 +00:00 committed by Gerrit Code Review
commit dc08c346fb

View file

@ -78,7 +78,8 @@ INDIVIDUALLY_TOGGLEABLE_PREBUILT_MODULES := \
wifi \
$(foreach m, $(INDIVIDUALLY_TOGGLEABLE_PREBUILT_MODULES),\
$(call soong_config_set,$(m)_module,source_build,$(MODULE_BUILD_FROM_SOURCE)))
$(if $(call soong_config_get,$(m)_module,source_build),,\
$(call soong_config_set,$(m)_module,source_build,$(MODULE_BUILD_FROM_SOURCE))))
# Apex build mode variables
ifdef APEX_BUILD_FOR_PRE_S_DEVICES