Skip to content

Commit

Permalink
[gn build] Port d3fb41d (llvm-cgdata)
Browse files Browse the repository at this point in the history
  • Loading branch information
nico committed Jul 23, 2024
1 parent 78735d8 commit adea9f9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llvm/utils/gn/secondary/llvm/lib/CodeGenData/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ static_library("CodeGenData") {
"//llvm/lib/Support",
]
sources = [
"CodeGenData.cpp",
"CodeGenDataReader.cpp",
"CodeGenDataWriter.cpp",
"OutlinedHashTree.cpp",
"OutlinedHashTreeRecord.cpp",
]
Expand Down
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/llvm/test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ group("test") {
"//llvm/tools/llvm-c-test",
"//llvm/tools/llvm-cat",
"//llvm/tools/llvm-cfi-verify",
"//llvm/tools/llvm-cgdata",
"//llvm/tools/llvm-cov",
"//llvm/tools/llvm-cvtres",
"//llvm/tools/llvm-cxxdump",
Expand Down
12 changes: 12 additions & 0 deletions llvm/utils/gn/secondary/llvm/tools/llvm-cgdata/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import("//llvm/utils/gn/build/driver_executable.gni")

driver_executable("llvm-cgdata") {
deps = [
"//llvm/lib/CodeGen",
"//llvm/lib/CodeGenData",
"//llvm/lib/IR",
"//llvm/lib/Object",
"//llvm/lib/Support",
]
sources = [ "llvm-cgdata.cpp" ]
}

0 comments on commit adea9f9

Please sign in to comment.