Skip to content

Commit

Permalink
Disable IncludeValidation for ObjC in bazel
Browse files Browse the repository at this point in the history
IncludeValidation was disabled for ObjC for bazel versions up to 4.2.
We are getting reports that turning it on in 5.0 causes breakages due
to Apple (?) clang emitting absolute paths in .d files.

Fixes bazelbuild#14346.

PiperOrigin-RevId: 415251009
  • Loading branch information
googlewalt authored and Bencodes committed Jan 10, 2022
1 parent ef37b31 commit f5ca5c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void validateAttributes(RuleContext ruleContext) {

@Override
public boolean needsIncludeValidation() {
return true;
return language != Language.OBJC;
}

@Override
Expand Down

0 comments on commit f5ca5c6

Please sign in to comment.