diff --git a/core/android_soong_config_vars.mk b/core/android_soong_config_vars.mk index 9673c45c85..1023337fb4 100644 --- a/core/android_soong_config_vars.mk +++ b/core/android_soong_config_vars.mk @@ -52,6 +52,7 @@ else ifneq (,$(filter true,$(NATIVE_COVERAGE) $(CLANG_COVERAGE))) else ifneq (,$(SANITIZE_TARGET)$(SANITIZE_HOST)) # Prebuilts aren't built with sanitizers either. SOONG_CONFIG_art_module_source_build := true + MODULE_BUILD_FROM_SOURCE := true else ifneq (,$(PRODUCT_FUCHSIA)) # Fuchsia picks out ART internal packages that aren't available in the # prebuilt.