mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[gn build] (manually) port 301d9261b787
This reverts commit 50fd426fd845eefe916bbeef80b509de9bdea338 and tweaks things for the reland: SystemZAsmLexer is now SystemZAsmLexerTests.
This commit is contained in:
parent
e552f1003f
commit
874bd981f1
@ -49,6 +49,7 @@ llvm_build_ARM = false
|
||||
llvm_build_BPF = false
|
||||
llvm_build_Mips = false
|
||||
llvm_build_PowerPC = false
|
||||
llvm_build_SystemZ = false
|
||||
llvm_build_WebAssembly = false
|
||||
llvm_build_X86 = false
|
||||
foreach(target, llvm_targets_to_build) {
|
||||
@ -64,6 +65,8 @@ foreach(target, llvm_targets_to_build) {
|
||||
llvm_build_Mips = true
|
||||
} else if (target == "PowerPC") {
|
||||
llvm_build_PowerPC = true
|
||||
} else if (target == "SystemZ") {
|
||||
llvm_build_SystemZ = true
|
||||
} else if (target == "WebAssembly") {
|
||||
llvm_build_WebAssembly = true
|
||||
} else if (target == "X86") {
|
||||
|
@ -80,6 +80,9 @@ group("unittests") {
|
||||
"tools/llvm-exegesis/PowerPC:LLVMExegesisPowerPCTests",
|
||||
]
|
||||
}
|
||||
if (llvm_build_SystemZ) {
|
||||
deps += [ "MC/SystemZ:SystemZAsmLexerTests" ]
|
||||
}
|
||||
if (llvm_build_WebAssembly) {
|
||||
deps += [ "Target/WebAssembly:WebAssemblyTests" ]
|
||||
}
|
||||
|
11
utils/gn/secondary/llvm/unittests/MC/SystemZ/BUILD.gn
Normal file
11
utils/gn/secondary/llvm/unittests/MC/SystemZ/BUILD.gn
Normal file
@ -0,0 +1,11 @@
|
||||
import("//llvm/utils/unittest/unittest.gni")
|
||||
|
||||
unittest("SystemZAsmLexerTests") {
|
||||
deps = [
|
||||
"//llvm/lib/MC",
|
||||
"//llvm/lib/MC/MCParser",
|
||||
"//llvm/lib/Support",
|
||||
"//llvm/lib/Target/SystemZ",
|
||||
]
|
||||
sources = [ "SystemZAsmLexerTest.cpp" ]
|
||||
}
|
Loading…
Reference in New Issue
Block a user