[gn build] assert clang-format does not depend on AST, Frontend, Sema at gn time

To catch things like https://reviews.llvm.org/D69854 and
https://reviews.llvm.org/D89708 earlier next time they happen.
This commit is contained in:
Nico Weber 2020-10-20 10:23:40 -04:00
parent f67edf5642
commit 853553f81b
1 changed files with 5 additions and 0 deletions

View File

@ -7,5 +7,10 @@ executable("clang-format") {
"//clang/lib/Tooling/Core",
"//llvm/lib/Support",
]
assert_no_deps = [
"//clang/lib/AST/",
"//clang/lib/Frontend/",
"//clang/lib/Sema/",
]
sources = [ "ClangFormat.cpp" ]
}