[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
This commit is contained in:
parent
533997b026
commit
5916decfc2
|
@ -22,6 +22,9 @@ build --dynamic_mode=off
|
|||
# based on compilation_mode.
|
||||
build --strip=never
|
||||
|
||||
# Add layering check to all projects.
|
||||
build --features=layering_check
|
||||
|
||||
###############################################################################
|
||||
# Options to select different strategies for linking potential dependent
|
||||
# libraries. The default leaves it disabled.
|
||||
|
|
Loading…
Reference in New Issue
Block a user