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 copybara-github committed Dec 9, 2021
1 parent 278a637 commit 005361c
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 005361c

Please sign in to comment.