aboutsummaryrefslogtreecommitdiffstats
path: root/linker
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2019-02-14 13:48:01 -0800
committerPirama Arumuga Nainar <pirama@google.com>2019-02-14 13:50:55 -0800
commitfcd35380dd2a8f1dc01eae3d358f7aa6db2eeab2 (patch)
treeda0aa8a9e34aabe8536a0f4fb6e9445c9429fce9 /linker
parent1b82812635e35667df9d28e7416d4b02c2083dfe (diff)
downloadandroid_bionic-fcd35380dd2a8f1dc01eae3d358f7aa6db2eeab2.tar.gz
android_bionic-fcd35380dd2a8f1dc01eae3d358f7aa6db2eeab2.tar.bz2
android_bionic-fcd35380dd2a8f1dc01eae3d358f7aa6db2eeab2.zip
Disable native_coverage for ld-android and linker
Bug: http://b/116873221 The coverage library, which depends on libc, cannot link with libraries since they opt of libc. Test: m NATIVE_COVERAGE=true COVERAGE_PATHS=bionic Change-Id: Iaaca8bc30c8ba59e5d4f7092b1a0fce8e8c14c72
Diffstat (limited to 'linker')
-rw-r--r--linker/Android.bp7
1 files changed, 7 insertions, 0 deletions
diff --git a/linker/Android.bp b/linker/Android.bp
index fed921d38..06a942dfc 100644
--- a/linker/Android.bp
+++ b/linker/Android.bp
@@ -296,6 +296,10 @@ cc_binary {
},
},
system_shared_libs: [],
+
+ // Opt out of native_coverage when opting out of system_shared_libs
+ native_coverage: false,
+
target: {
android: {
static_libs: ["libdebuggerd_handler_fallback"],
@@ -364,6 +368,9 @@ cc_library {
nocrt: true,
system_shared_libs: [],
+ // Opt out of native_coverage when opting out of system_shared_libs
+ native_coverage: false,
+
sanitize: {
never: true,
},