diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2019-02-15 14:55:23 -0800 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2019-02-15 14:57:59 -0800 |
commit | 15608438f724f4ddcb86a8e534b4651f70befad0 (patch) | |
tree | a918dbd5e48b0ba8139c51c8dc68a6367a85559b | |
parent | 92197c43df19f9afb8a090f0c54be3c75f638e90 (diff) | |
download | webrtc-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.bp | 5 |
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 { |