1import("//llvm/utils/TableGen/tablegen.gni")
2
3tablegen("OMP") {
4  visibility = [ ":public_tablegen" ]
5  args = [ "-gen-directive-decl" ]
6  output_name = "OMP.h.inc"
7}
8
9# Groups all tablegen() calls that create .inc files that are included in
10# Frontent/OpenMP's public headers (just one so far).
11# //llvm/lib/Frontend/OpenMP has this as a public_dep, so targets depending on
12# //llvm/lib/Frontend/OpenMP don't need to depend on this.
13group("public_tablegen") {
14  public_deps = [
15    # Frontend/OpenMP's public headers include OMP.h.inc.
16    ":OMP",
17  ]
18}
19