[bazel] Add layering-check
authorGuillaume Chatelet <gchatelet@google.com>
Thu, 9 Feb 2023 21:36:59 +0000 (21:36 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 7 Mar 2023 13:24:37 +0000 (13:24 +0000)
commit5916decfc2ba3f5ce5c5c0fe8de72ea2f8b4c3bf
tree4c2f6649a5e8db83e7d5ce475093396b04d92306
parent533997b026bab9994209d07ab6297d1482289f2d
[bazel] Add layering-check

In the same vein as https://reviews.llvm.org/D141553
Enable the feature globally to ensure layering and catch circular dependencies
(https://llvm.org/docs/CodingStandards.html#library-layering).

Differential Revision: https://reviews.llvm.org/D143678
utils/bazel/.bazelrc