Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f753bc58 authored by Dario Freni's avatar Dario Freni
Browse files

Add MODULE_BUILD_FROM_SOURCE env variable.

When set, module builds will prefer source where applicable.

Bug: 191978129
Test: m; MODULE_BUILD_FROM_SOURCE=true m
Change-Id: Ie7f928674a511a98f17653fa814a42194ee0e9f9
parent 44d1de7b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -62,3 +62,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