diff options
author | 2015-04-01 17:25:19 +0000 | |
---|---|---|
committer | 2015-04-01 17:49:44 +0000 | |
commit | e9029d4613d98c17e05236a0058164bb8787f94b (patch) | |
tree | 4eab0f2c6123c387f1130b32668d56fe49d1d010 /src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProvider.java | |
parent | a5cdb19e83160d60de562c1e0ae7638d4152b88b (diff) |
--instrumentation_filter now works with Objective C.
Added "-Tests$" to the default instrumentation_filter, this is the typical pattern for Objective C.
All sources are included in ObjcCommon.SOURCE.
Sources from targets which match the current instrumentation_filter are included in ObjcCommon.INSTRUMENTED_SOURCE.
GCNOs are added to ObjcCommon.GCNO iff the source they originate from is included in from a target which matches the instrumentation_filter.
RELNOTES: --instrumentation_filter now works with Objective C coverage.
--
MOS_MIGRATED_REVID=90076465
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProvider.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProvider.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProvider.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProvider.java index e559ab4e35..12692ba011 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProvider.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProvider.java @@ -83,6 +83,11 @@ public final class ObjcProvider implements TransitiveInfoProvider { public static final Key<Artifact> SOURCE = new Key<>(STABLE_ORDER); /** + * Contains all coverage instrumented source files. + */ + public static final Key<Artifact> INSTRUMENTED_SOURCE = new Key<>(STABLE_ORDER); + + /** * Contains all .gcno files one for every source file if in coverage mode. * It contains information to reconstruct the basic block graphs and assign source line numbers * to blocks. |