mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
gn build: (manually) merge c82e4ef69
This commit is contained in:
parent
77a4abe86e
commit
7f23194d20
@ -1,47 +1,27 @@
|
||||
import("//clang/utils/TableGen/clang_tablegen.gni")
|
||||
|
||||
clang_tablegen("Attrs") {
|
||||
args = [
|
||||
"-gen-clang-attr-classes",
|
||||
"-I",
|
||||
rebase_path("../..", root_out_dir),
|
||||
]
|
||||
args = [ "-gen-clang-attr-classes" ]
|
||||
td_file = "../Basic/Attr.td"
|
||||
}
|
||||
|
||||
clang_tablegen("AttrImpl") {
|
||||
args = [
|
||||
"-gen-clang-attr-impl",
|
||||
"-I",
|
||||
rebase_path("../..", root_out_dir),
|
||||
]
|
||||
args = [ "-gen-clang-attr-impl" ]
|
||||
td_file = "../Basic/Attr.td"
|
||||
}
|
||||
|
||||
clang_tablegen("AttrTextNodeDump") {
|
||||
args = [
|
||||
"-gen-clang-attr-text-node-dump",
|
||||
"-I",
|
||||
rebase_path("../..", root_out_dir),
|
||||
]
|
||||
args = [ "-gen-clang-attr-text-node-dump" ]
|
||||
td_file = "../Basic/Attr.td"
|
||||
}
|
||||
|
||||
clang_tablegen("AttrNodeTraverse") {
|
||||
args = [
|
||||
"-gen-clang-attr-node-traverse",
|
||||
"-I",
|
||||
rebase_path("../..", root_out_dir),
|
||||
]
|
||||
args = [ "-gen-clang-attr-node-traverse" ]
|
||||
td_file = "../Basic/Attr.td"
|
||||
}
|
||||
|
||||
clang_tablegen("AttrVisitor") {
|
||||
args = [
|
||||
"-gen-clang-attr-ast-visitor",
|
||||
"-I",
|
||||
rebase_path("../..", root_out_dir),
|
||||
]
|
||||
args = [ "-gen-clang-attr-ast-visitor" ]
|
||||
td_file = "../Basic/Attr.td"
|
||||
}
|
||||
|
||||
|
@ -29,12 +29,15 @@ template("clang_tablegen") {
|
||||
tablegen(target_name) {
|
||||
forward_variables_from(invoker,
|
||||
[
|
||||
"args",
|
||||
"output_name",
|
||||
"td_file",
|
||||
"visibility",
|
||||
])
|
||||
|
||||
args = [
|
||||
"-I",
|
||||
rebase_path("//clang/include", root_out_dir),
|
||||
] + invoker.args
|
||||
tblgen_target = "//clang/utils/TableGen:clang-tblgen"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user