aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2019-02-15 14:55:23 -0800
committerPirama Arumuga Nainar <pirama@google.com>2019-02-15 14:57:59 -0800
commit15608438f724f4ddcb86a8e534b4651f70befad0 (patch)
treea918dbd5e48b0ba8139c51c8dc68a6367a85559b
parent92197c43df19f9afb8a090f0c54be3c75f638e90 (diff)
downloadwebrtc-15608438f724f4ddcb86a8e534b4651f70befad0.tar.gz
Disable native_coverage for webrtc
Bug: http://b/116873221 Linking fails at O0 because VTable for InStream and OutStream (defined in webrtc/common_types.h) is not found. The fix is to mark the Rewind function in both classes as pure virtual. It's better to disable native_coverage here rather than pick up a downstream change to an external codebase. Test: Build with coverage Change-Id: I13375f8fa02c2e9330d30f091f069518e2908f51
-rw-r--r--Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 48ff6074ed..1b89263921 100644
--- a/Android.bp
+++ b/Android.bp
@@ -116,6 +116,11 @@ cc_library_shared {
instruction_set: "arm",
},
},
+
+ // Disable native_coverage since linking fails with -O0 (needed for
+ // coverage). The fix is to mark InStream::Rewind and OutStream::Rewind as
+ // pure virtual in webrtc/common_types.h
+ native_coverage: false,
}
cc_library_shared {