Skip to content

Commit

Permalink
[gn build] Manually port 46f3ade
Browse files Browse the repository at this point in the history
  • Loading branch information
aeubanks committed Sep 7, 2023
1 parent 38c5d23 commit d5c6bd1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@ clang_tablegen("AttrList") {
td_file = "Attr.td"
}

clang_tablegen("AttrLeftSideCanPrintList") {
args = [ "-gen-clang-attr-can-print-left-list" ]
td_file = "Attr.td"
}

clang_tablegen("AttrLeftSideMustPrintList") {
args = [ "-gen-clang-attr-must-print-left-list" ]
td_file = "Attr.td"
}

clang_tablegen("AttrSubMatchRulesList") {
args = [ "-gen-clang-attr-subject-match-rule-list" ]
td_file = "Attr.td"
Expand Down
2 changes: 2 additions & 0 deletions llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ static_library("Basic") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
public_deps = [
# public_dep because public header Version.h includes generated Version.inc.
"//clang/include/clang/Basic:AttrLeftSideCanPrintList",
"//clang/include/clang/Basic:AttrLeftSideMustPrintList",
"//clang/include/clang/Basic:AttrList",
"//clang/include/clang/Basic:AttrSubMatchRulesList",
"//clang/include/clang/Basic:AttrTokenKinds",
Expand Down

0 comments on commit d5c6bd1

Please sign in to comment.