diff --git a/core/android_soong_config_vars.mk b/core/android_soong_config_vars.mk index 74558f56b..39429d026 100644 --- a/core/android_soong_config_vars.mk +++ b/core/android_soong_config_vars.mk @@ -60,3 +60,7 @@ endif ifdef APEX_BUILD_FOR_PRE_S_DEVICES $(call add_soong_config_var_value,ANDROID,library_linking_strategy,prefer_static) endif + +ifdef MODULE_BUILD_FROM_SOURCE +$(call add_soong_config_var_value,ANDROID,module_build_from_source,true) +endif