Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: webrtc/build/common.gypi

Issue 1875193002: Fix coverage build. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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', {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698