Skip to content

Commit

Permalink
Disable IncludeValidation for ObjC in bazel (bazelbuild#14440)
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

Co-authored-by: waltl <waltl@google.com>
  • Loading branch information
amberdixon and googlewalt authored Dec 16, 2021
1 parent 5aef53a commit 2fb7dfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void validateAttributes(RuleContext ruleContext) {

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

@Override
Expand Down

0 comments on commit 2fb7dfe

Please sign in to comment.