diff options
author | Dmitry Shevchenko <dmishe@google.com> | 2016-03-18 19:12:39 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2016-03-21 09:35:13 +0000 |
commit | ee4be22415300fa354862648893023c257638983 (patch) | |
tree | 931bc40b3c05b16f382b8604d85b644a529500e9 /tools/objc | |
parent | 27ec632c88ef228f4dee32b41ec7269ac749da28 (diff) |
Adds mcov tool label to IosTest.
Adds source files to IosTest runfiles so that mcov/clang has access to them during coverage run.
--
MOS_MIGRATED_REVID=117572134
Diffstat (limited to 'tools/objc')
-rw-r--r-- | tools/objc/BUILD | 5 | ||||
-rw-r--r-- | tools/objc/mcov_stub | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tools/objc/BUILD b/tools/objc/BUILD index 3b690d312b..1fa4628c13 100644 --- a/tools/objc/BUILD +++ b/tools/objc/BUILD @@ -110,6 +110,11 @@ filegroup( srcs = [":gcov_stub"], ) +filegroup( + name = "mcov", + srcs = [":mcov_stub"], +) + xcode_config( name = "host_xcodes", ) diff --git a/tools/objc/mcov_stub b/tools/objc/mcov_stub new file mode 100644 index 0000000000..5764e83bea --- /dev/null +++ b/tools/objc/mcov_stub @@ -0,0 +1,7 @@ +#!/bin/bash + +( + printf 'Bazel does not yet support coverage.\n' +) >&2 + +exit 1 |