summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.gypi6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test.gypi b/test/test.gypi
index f648657c85..1842a807fb 100644
--- a/test/test.gypi
+++ b/test/test.gypi
@@ -129,7 +129,11 @@
'configurations': {
'Debug': {
'xcode_settings': {
- 'OTHER_LDFLAGS': [ '--coverage' ],
+ 'conditions': [
+ ['enable_coverage=="1"', {
+ 'OTHER_LDFLAGS': [ '--coverage' ],
+ }],
+ ],
},
},
},