Build output files if the build tag filter contains only tags to exclude.
This is arguably more correct, since output files don't have any tags, therefore you cannot exclude them by specifying tags to exclude.
Fixes
RELNOTES: None.
@@ -275,7 +275,7 @@ public final class TargetUtils {
}
if (!(input instanceof Rule)) {
- return false;
+ return requiredTags.isEmpty();
}
// Note that test_tags are those originating from the XX_test rule,
// whereas the requiredTags and excludedTags originate from the command
