Don't use prebuilt modules for sanitizer builds.
Prebuilt modules do not provide sanitizer binaries to using them in this context is unsafe. Bug: 194067130 Test: TH Change-Id: I3682ae9ad963a8cd13bb395fe84dae515dc6d30f
This commit is contained in:
@@ -49,6 +49,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.
|
||||
|
Reference in New Issue
Block a user