Skip to content

Commit 76f1c7a

Browse files
committed
[gn] port dda996b (CAS)
1 parent 1ffc38c commit 76f1c7a

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
static_library("CAS") {
2+
output_name = "LLVMCAS"
3+
sources = [
4+
"BuiltinCAS.cpp",
5+
"InMemoryCAS.cpp",
6+
"ObjectStore.cpp",
7+
]
8+
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ group("unittests") {
88
"BinaryFormat:BinaryFormatTests",
99
"Bitcode:BitcodeTests",
1010
"Bitstream:BitstreamTests",
11+
"CAS:CASTests",
1112
"CGData:CodeGenDataTests",
1213
"CodeGen:CodeGenTests",
1314

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import("//third-party/unittest/unittest.gni")
2+
3+
unittest("CASTests") {
4+
deps = [
5+
"//llvm/lib/CAS",
6+
"//llvm/lib/Support",
7+
"//llvm/lib/Testing/Support",
8+
]
9+
sources = [
10+
"CASTestConfig.cpp",
11+
"ObjectStoreTest.cpp",
12+
]
13+
}

0 commit comments

Comments
 (0)