[gn build] add build rule for llvm-locstats

Needed by tests after 30a3652b6a.
This commit is contained in:
Nico Weber 2021-10-27 09:07:24 -04:00
parent c7aaa2efef
commit c1f3d08b06
2 changed files with 5 additions and 0 deletions

View File

@ -301,6 +301,7 @@ group("test") {
"//llvm/utils/TableGen:llvm-tblgen",
"//llvm/utils/count",
"//llvm/utils/llvm-lit",
"//llvm/utils/llvm-locstats",
"//llvm/utils/not",
# llvm-config wants libgtest_main.a to exist at runtime when run as in

View File

@ -0,0 +1,4 @@
copy("llvm-locstats") {
sources = [ "llvm-locstats.py" ]
outputs = [ "$root_out_dir/bin/{{source_name_part}}" ]
}