aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-06-24 19:23:43 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-06-24 19:23:43 +0000
commit915d0f07b976834cf652529a7c74906daae1eacb (patch)
treeda7d1651d72f5dcc84ff561735ae8cc90e37b194
parent44d1de7b0db4ff787994b21bae5a2b7062e9fa33 (diff)
parentf753bc5890a87242f2c31aa3c52ecc801b2f4cac (diff)
downloadplatform_build-915d0f07b976834cf652529a7c74906daae1eacb.tar.gz
platform_build-915d0f07b976834cf652529a7c74906daae1eacb.tar.bz2
platform_build-915d0f07b976834cf652529a7c74906daae1eacb.zip
Merge "Add MODULE_BUILD_FROM_SOURCE env variable."
-rw-r--r--core/android_soong_config_vars.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/android_soong_config_vars.mk b/core/android_soong_config_vars.mk
index a029985248..6c39b2b499 100644
--- a/core/android_soong_config_vars.mk
+++ b/core/android_soong_config_vars.mk
@@ -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