llvm/llvm/utils/gn/secondary/llvm/include/llvm/Frontend/OpenACC/BUILD.gn

import("//llvm/utils/TableGen/tablegen.gni")

tablegen("ACC") {
  visibility = [ ":acc_gen" ]
  args = [ "-gen-directive-decl" ]
  output_name = "ACC.h.inc"
  tblgen_target = "//llvm/utils/TableGen:llvm-min-tblgen"
}

tablegen("ACCcpp") {
  visibility = [ ":acc_gen" ]
  args = [ "-gen-directive-impl" ]
  output_name = "ACC.inc"
  td_file = "ACC.td"
  tblgen_target = "//llvm/utils/TableGen:llvm-min-tblgen"
}

group("acc_gen") {
  deps = [
    ":ACC",
    ":ACCcpp",
  ]
}