Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 92dfe9189ad0d9f532f00e928ff27af58bd586d3..bfa63857ac08ea49f7a08a3234351aef542e5e61 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. |