30 lines
708 B
Plaintext
30 lines
708 B
Plaintext
|
import("//llvm/utils/unittest/unittest.gni")
|
||
|
|
||
|
unittest("MCJITTests") {
|
||
|
deps = [
|
||
|
"//llvm/lib/Analysis",
|
||
|
"//llvm/lib/ExecutionEngine",
|
||
|
"//llvm/lib/ExecutionEngine/MCJIT",
|
||
|
"//llvm/lib/ExecutionEngine/RuntimeDyld",
|
||
|
"//llvm/lib/IR",
|
||
|
"//llvm/lib/MC",
|
||
|
"//llvm/lib/Support",
|
||
|
"//llvm/lib/Target",
|
||
|
"//llvm/lib/Target:NativeTarget",
|
||
|
"//llvm/lib/Transforms/IPO",
|
||
|
"//llvm/lib/Transforms/InstCombine",
|
||
|
"//llvm/lib/Transforms/Scalar",
|
||
|
]
|
||
|
sources = [
|
||
|
"MCJITCAPITest.cpp",
|
||
|
"MCJITMemoryManagerTest.cpp",
|
||
|
"MCJITMultipleModuleTest.cpp",
|
||
|
"MCJITObjectCacheTest.cpp",
|
||
|
"MCJITTest.cpp",
|
||
|
]
|
||
|
|
||
|
if (host_os == "win") {
|
||
|
sources += [ "MCJITTests.def" ]
|
||
|
}
|
||
|
}
|