summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 92dfe91..bfa6385 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1661,11 +1661,13 @@
}],
['coverage!=0', {
'conditions': [
- ['OS=="mac"', {
+ ['OS=="mac" or OS=="ios"', {
'xcode_settings': {
'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs
'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage
},
+ }],
+ ['OS=="mac"', {
# Add -lgcov for types executable, shared_library, and
# loadable_module; not for static_library.
# This is a delayed conditional.