1import("//llvm/utils/TableGen/tablegen.gni") 2 3tablegen("WebAssemblyGenInstrInfo") { 4 visibility = [ ":TargetInfo" ] 5 args = [ "-gen-instr-info" ] 6 td_file = "../WebAssembly.td" 7} 8 9static_library("TargetInfo") { 10 output_name = "LLVMWebAssemblyInfo" 11 12 # This should contain tablegen targets generating .inc files included 13 # by other targets. .inc files only used by .cpp files in this directory 14 # should be in deps instead. 15 public_deps = [ ":WebAssemblyGenInstrInfo" ] 16 deps = [ "//llvm/lib/Support" ] 17 include_dirs = [ ".." ] 18 sources = [ "WebAssemblyTargetInfo.cpp" ] 19} 20