1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[gn build] (manually) merge 3b29376e3fca43

This commit is contained in:
Nico Weber 2020-06-15 13:21:34 -04:00
parent 2eaa4e6cf6
commit f19eede4be
2 changed files with 13 additions and 7 deletions

View File

@ -6,12 +6,6 @@ tablegen("WebAssemblyGenAsmWriter") {
td_file = "../WebAssembly.td" td_file = "../WebAssembly.td"
} }
tablegen("WebAssemblyGenInstrInfo") {
visibility = [ ":MCTargetDesc" ]
args = [ "-gen-instr-info" ]
td_file = "../WebAssembly.td"
}
tablegen("WebAssemblyGenMCCodeEmitter") { tablegen("WebAssemblyGenMCCodeEmitter") {
visibility = [ ":MCTargetDesc" ] visibility = [ ":MCTargetDesc" ]
args = [ "-gen-emitter" ] args = [ "-gen-emitter" ]
@ -37,7 +31,6 @@ static_library("MCTargetDesc") {
# by other targets. .inc files only used by .cpp files in this directory # by other targets. .inc files only used by .cpp files in this directory
# should be in deps instead. # should be in deps instead.
public_deps = [ public_deps = [
":WebAssemblyGenInstrInfo",
":WebAssemblyGenRegisterInfo", ":WebAssemblyGenRegisterInfo",
":WebAssemblyGenSubtargetInfo", ":WebAssemblyGenSubtargetInfo",
] ]

View File

@ -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") { static_library("TargetInfo") {
output_name = "LLVMWebAssemblyInfo" 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" ] deps = [ "//llvm/lib/Support" ]
include_dirs = [ ".." ] include_dirs = [ ".." ]
sources = [ sources = [