gn build: (manually) merge 6404bd236 and d505e57cc2

This commit is contained in:
Nico Weber 2019-12-14 07:44:36 -05:00
parent 2ac702aaf0
commit 6fe527765a
3 changed files with 25 additions and 0 deletions

View File

@ -60,6 +60,26 @@ clang_tablegen("TypeNodes") {
td_file = "../Basic/TypeNodes.td"
}
clang_tablegen("AbstractBasicReader") {
args = [ "-gen-clang-basic-reader" ]
td_file = "PropertiesBase.td"
}
clang_tablegen("AbstractBasicWriter") {
args = [ "-gen-clang-basic-writer" ]
td_file = "PropertiesBase.td"
}
clang_tablegen("AbstractTypeReader") {
args = [ "-gen-clang-type-reader" ]
td_file = "TypeProperties.td"
}
clang_tablegen("AbstractTypeWriter") {
args = [ "-gen-clang-type-writer" ]
td_file = "TypeProperties.td"
}
clang_tablegen("CommentNodes") {
args = [ "-gen-clang-comment-nodes" ]
td_file = "../Basic/CommentNodes.td"

View File

@ -29,6 +29,10 @@ static_library("AST") {
# Generated files used in public headers should be in public_deps, the rest
# in regular deps.
public_deps = [
"//clang/include/clang/AST:AbstractBasicReader",
"//clang/include/clang/AST:AbstractBasicWriter",
"//clang/include/clang/AST:AbstractTypeReader",
"//clang/include/clang/AST:AbstractTypeWriter",
"//clang/include/clang/AST:AttrVisitor",
"//clang/include/clang/AST:Attrs",
"//clang/include/clang/AST:CommentCommandList",

View File

@ -5,6 +5,7 @@ executable("clang-tblgen") {
]
sources = [
"ClangASTNodesEmitter.cpp",
"ClangASTPropertiesEmitter.cpp",
"ClangAttrEmitter.cpp",
"ClangCommentCommandInfoEmitter.cpp",
"ClangCommentHTMLNamedCharacterReferenceEmitter.cpp",