Compiler projects using llvm
import("//llvm/utils/TableGen/tablegen.gni")

tablegen("ACC") {
  visibility = [ ":acc_gen" ]
  args = [ "-gen-directive-decl" ]
  output_name = "ACC.h.inc"
}

tablegen("ACCcpp") {
  visibility = [ ":acc_gen" ]
  args = [ "-gen-directive-impl" ]
  output_name = "ACC.inc"
  td_file = "ACC.td"
}

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