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

Unified Diff: build/common.gypi

Issue 11111014: Add support for coverage=1 builds on iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Style tweak Created 8 years, 2 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
« base/base.gyp ('K') | « base/base.gyp ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« base/base.gyp ('K') | « base/base.gyp ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698