From ec97264431a3b29327332072b5328d81768547c9 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Wed, 17 Feb 2016 10:32:50 +0200 Subject: [osx] Enable coverage support for debug build --- test/test.gypi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') diff --git a/test/test.gypi b/test/test.gypi index 9b5bceea72..f648657c85 100644 --- a/test/test.gypi +++ b/test/test.gypi @@ -126,6 +126,13 @@ 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ], 'OTHER_LDFLAGS': [ '<@(ldflags)' ], }, + 'configurations': { + 'Debug': { + 'xcode_settings': { + 'OTHER_LDFLAGS': [ '--coverage' ], + }, + }, + }, }, { 'cflags_cc': [ '<@(cflags_cc)' ], 'libraries': [ '<@(ldflags)' ], -- cgit v1.2.1