From fc642ec6bb1192fef3ff85aafba345a802c06f3d Mon Sep 17 00:00:00 2001 From: "stuartmorgan@chromium.org" Date: Fri, 12 Oct 2012 19:07:03 +0000 Subject: Add support for coverage=1 builds on iOS Uses the same method as is used on Mac to enable coverage. Some sources need to be removed in coverage mode due to a toolchain bug. BUG=None Review URL: https://chromiumcodereview.appspot.com/11111014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161633 0039d316-1c4b-4281-b951-d872f2087c98 --- net/net.gyp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'net') diff --git a/net/net.gyp b/net/net.gyp index b4cf974..f73ce50 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -1583,6 +1583,15 @@ # OS is not "linux" or "freebsd" or "openbsd". 'base/unix_domain_socket_posix_unittest.cc', ], + 'conditions': [ + ['coverage != 0', { + # These sources can't be built with coverage due to a toolchain + # bug: http://openradar.appspot.com/radar?id=1499403 + 'sources!': [ + 'base/transport_security_state_unittest.cc', + ], + }], + ], }], [ 'OS == "linux"', { 'dependencies': [ -- cgit v1.1