Index: webrtc/build/common.gypi |
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi |
index f4ecc314ca15b9fcf4cf2dcdb1bb91d76c09f633..f8446d9f91bce9e16aa52cd9dfc5df9ae293007e 100644 |
--- a/webrtc/build/common.gypi |
+++ b/webrtc/build/common.gypi |
@@ -372,6 +372,7 @@ |
['coverage==1 and OS=="linux"', { |
kjellander_webrtc
2016/04/11 19:53:08
I think we should add clang==0 here to make it cle
Michael Achenbach
2016/04/12 08:58:34
The cflags are valid for both the clang and the gc
|
'cflags': [ '-ftest-coverage', |
'-fprofile-arcs' ], |
+ 'ldflags': [ '--coverage' ], |
kjellander_webrtc
2016/04/11 19:53:08
Adding this, which seems to be Clang specific, jus
Michael Achenbach
2016/04/12 08:58:34
This seems to fix the clang case as described e.g.
kjellander_webrtc
2016/04/19 05:31:51
OK. If it needs more work when/if we decide to set
|
'link_settings': { 'libraries': [ '-lgcov' ] }, |
}], |
['os_posix==1', { |