summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 00:12:01 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 00:12:01 +0000
commitac1f573789f90dc6ee2a990fb8bcbc70f6b495ff (patch)
tree0464ec66b1cf20bb132640e6adfe6edb9ae3e43f /build
parent8e2468fe4bd74d2d51a9a7a159b007e260573f4b (diff)
downloadchromium_src-ac1f573789f90dc6ee2a990fb8bcbc70f6b495ff.zip
chromium_src-ac1f573789f90dc6ee2a990fb8bcbc70f6b495ff.tar.gz
chromium_src-ac1f573789f90dc6ee2a990fb8bcbc70f6b495ff.tar.bz2
Fix coverage on the Mac.
Add extra unit test bundles (all platforms). Review URL: http://codereview.chromium.org/307032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29845 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/common.gypi b/build/common.gypi
index bd11ee4..101fd46 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -311,10 +311,10 @@
'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs
'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage
},
- # Add -lgcov for executables, not for static_libraries.
- # This is a delayed conditional.
+ # Add -lgcov for executables and shared_libraries, not for
+ # static_libraries. This is a delayed conditional.
'target_conditions': [
- ['_type=="executable"', {
+ ['_type=="executable" or _type=="shared_library"', {
'xcode_settings': { 'OTHER_LDFLAGS': [ '-lgcov' ] },
}],
],