diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-12 19:07:03 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-12 19:07:03 +0000 |
commit | fc642ec6bb1192fef3ff85aafba345a802c06f3d (patch) | |
tree | c36bd37faafb1ef60bd94ad1307ab9ac1866f1af /sync/sync.gyp | |
parent | 8674b318ac2b973317feb982316779d28fad2b71 (diff) | |
download | chromium_src-fc642ec6bb1192fef3ff85aafba345a802c06f3d.zip chromium_src-fc642ec6bb1192fef3ff85aafba345a802c06f3d.tar.gz chromium_src-fc642ec6bb1192fef3ff85aafba345a802c06f3d.tar.bz2 |
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
Diffstat (limited to 'sync/sync.gyp')
-rw-r--r-- | sync/sync.gyp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sync/sync.gyp b/sync/sync.gyp index f216a29..b0805fd 100644 --- a/sync/sync.gyp +++ b/sync/sync.gyp @@ -638,6 +638,15 @@ 'util/protobuf_unittest.cc', 'internal_api/public/util/weak_handle_unittest.cc', ], + 'conditions': [ + ['OS == "ios" and coverage != 0', { + # These sources can't be built with coverage due to a toolchain + # bug: http://openradar.appspot.com/radar?id=1499403 + 'sources!': [ + 'engine/syncer_unittest.cc', + ], + }], + ], }, }, |