aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2021-07-15 16:14:17 +0100
committerMartin Stjernholm <mast@google.com>2021-07-15 16:15:04 +0100
commit2d6bfdb30cbf996953c7872877dca3a828a91b70 (patch)
tree077acba77e12617c2426f2e8513efe30bed80a07
parent06a7034659fe71047c16986fc32aa0b921bdd1ca (diff)
downloadbuild-2d6bfdb30cbf996953c7872877dca3a828a91b70.tar.gz
Fix typo in MODULE_BUILD_FROM_SOURCE variable.
Test: env MODULE_BUILD_FROM_SOURCE=true \ TARGET_PRODUCT=cf_x86_64_phone build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build returns true Test: env TARGET_PRODUCT=cf_x86_64_phone build/soong/soong_ui.bash \ --dumpvar-mode SOONG_CONFIG_art_module_source_build returns false Bug: 191978129 Change-Id: I2056b198bc0b944a6736ff21077b902df13c1479
-rw-r--r--core/android_soong_config_vars.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/android_soong_config_vars.mk b/core/android_soong_config_vars.mk
index 69e4679466..9673c45c85 100644
--- a/core/android_soong_config_vars.mk
+++ b/core/android_soong_config_vars.mk
@@ -41,7 +41,7 @@ else ifeq (,$(filter-out modules_% mainline_modules_%,$(TARGET_PRODUCT)))
# Always build from source for the module targets. This ought to be covered by
# the TARGET_BUILD_APPS check above, but there are test builds that don't set it.
SOONG_CONFIG_art_module_source_build := true
-else ifdef MODULES_BUILD_FROM_SOURCE
+else ifdef MODULE_BUILD_FROM_SOURCE
# Build from source if other Mainline modules are.
SOONG_CONFIG_art_module_source_build := true
else ifneq (,$(filter true,$(NATIVE_COVERAGE) $(CLANG_COVERAGE)))