1import("//llvm/utils/TableGen/tablegen.gni") 2 3tablegen("ACCImpl") { 4 visibility = [ ":OpenACC" ] 5 args = [ "-gen-directive-impl" ] 6 td_file = "//llvm/include/llvm/Frontend/OpenACC/ACC.td" 7 output_name = "ACC.cpp" 8} 9 10static_library("OpenACC") { 11 output_name = "LLVMFrontendOpenACC" 12 deps = [ 13 ":ACCImpl", 14 "//llvm/lib/Support", 15 ] 16 public_deps = [ "//llvm/include/llvm/Frontend/OpenACC:acc_gen" ] 17 sources = get_target_outputs(":ACCImpl") 18} 19