Skip to content

Commit 0ff06b4

Browse files
committed
[gn] port d00f1c1 (CodeGenDataTests)
1 parent 9d6b68b commit 0ff06b4

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
static_library("CodeGenData") {
2+
output_name = "LLVMCodeGenData"
3+
deps = [
4+
"//llvm/lib/IR",
5+
"//llvm/lib/Support",
6+
]
7+
sources = [
8+
"OutlinedHashTree.cpp",
9+
"OutlinedHashTreeRecord.cpp",
10+
]
11+
}

llvm/utils/gn/secondary/llvm/unittests/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ group("unittests") {
1010
"Bitstream:BitstreamTests",
1111
"CodeGen:CodeGenTests",
1212
"CodeGen/GlobalISel:GlobalISelTests",
13+
"CodeGenData:CodeGenDataTests",
1314
"DWARFLinkerParallel:DWARFLinkerParallelTests",
1415
"DebugInfo/BTF:DebugInfoBTFTests",
1516
"DebugInfo/CodeView:DebugInfoCodeViewTests",
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import("//third-party/unittest/unittest.gni")
2+
3+
unittest("CodeGenDataTests") {
4+
deps = [
5+
"//llvm/lib/CodeGen",
6+
"//llvm/lib/CodeGenData",
7+
"//llvm/lib/IR",
8+
"//llvm/lib/MC",
9+
"//llvm/lib/Support",
10+
"//llvm/lib/Target",
11+
"//llvm/lib/Target:TargetsToBuild",
12+
"//llvm/lib/Testing/Support",
13+
]
14+
sources = [
15+
"OutlinedHashTreeRecordTest.cpp",
16+
"OutlinedHashTreeTest.cpp",
17+
]
18+
}

0 commit comments

Comments
 (0)