mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[gn build] (manually) merge 3b29376e3fca43
This commit is contained in:
parent
2eaa4e6cf6
commit
f19eede4be
@ -6,12 +6,6 @@ tablegen("WebAssemblyGenAsmWriter") {
|
||||
td_file = "../WebAssembly.td"
|
||||
}
|
||||
|
||||
tablegen("WebAssemblyGenInstrInfo") {
|
||||
visibility = [ ":MCTargetDesc" ]
|
||||
args = [ "-gen-instr-info" ]
|
||||
td_file = "../WebAssembly.td"
|
||||
}
|
||||
|
||||
tablegen("WebAssemblyGenMCCodeEmitter") {
|
||||
visibility = [ ":MCTargetDesc" ]
|
||||
args = [ "-gen-emitter" ]
|
||||
@ -37,7 +31,6 @@ static_library("MCTargetDesc") {
|
||||
# by other targets. .inc files only used by .cpp files in this directory
|
||||
# should be in deps instead.
|
||||
public_deps = [
|
||||
":WebAssemblyGenInstrInfo",
|
||||
":WebAssemblyGenRegisterInfo",
|
||||
":WebAssemblyGenSubtargetInfo",
|
||||
]
|
||||
|
@ -1,5 +1,18 @@
|
||||
import("//llvm/utils/TableGen/tablegen.gni")
|
||||
|
||||
tablegen("WebAssemblyGenInstrInfo") {
|
||||
visibility = [ ":TargetInfo" ]
|
||||
args = [ "-gen-instr-info" ]
|
||||
td_file = "../WebAssembly.td"
|
||||
}
|
||||
|
||||
static_library("TargetInfo") {
|
||||
output_name = "LLVMWebAssemblyInfo"
|
||||
|
||||
# This should contain tablegen targets generating .inc files included
|
||||
# by other targets. .inc files only used by .cpp files in this directory
|
||||
# should be in deps instead.
|
||||
public_deps = [ ":WebAssemblyGenInstrInfo" ]
|
||||
deps = [ "//llvm/lib/Support" ]
|
||||
include_dirs = [ ".." ]
|
||||
sources = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user