Disable native_coverage for scudo-related libraries
Bug: http://b/133379274
Bug: http://b/133322197
Test: coverage-enabled mediaextractor, which uses scudo, no longer
crashes during llvm_gcov_init.
Change-Id: I85a0cc91a2fbd8433823769c3032ec2591424e55
diff --git a/libc/Android.bp b/libc/Android.bp
index 57d4039..570e785 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -2523,6 +2523,9 @@
// Mark this library as global so it overrides all the allocation
// definitions properly.
ldflags: ["-Wl,-z,global"],
+
+ // Like libc, disable native coverage for libc_scudo.
+ native_coverage: false,
}
subdirs = [