forked from OSchip/llvm-project
[gn build] (manually) port 82f86ae01
This commit is contained in:
parent
98d7e583db
commit
b69af88481
|
@ -1,6 +1,7 @@
|
|||
set(LLVM_LINK_COMPONENTS
|
||||
Support)
|
||||
add_clang_executable(apinotes-test
|
||||
APINotesTest.cpp)
|
||||
APINotesTest.cpp
|
||||
)
|
||||
clang_target_link_libraries(apinotes-test PRIVATE
|
||||
clangAPINotes)
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
static_library("APINotes") {
|
||||
output_name = "clangAPINotes"
|
||||
configs += [ "//llvm/utils/gn/build:clang_code" ]
|
||||
deps = [
|
||||
"//clang/lib/Basic",
|
||||
"//llvm/lib/Support",
|
||||
]
|
||||
sources = [ "APINotesYAMLCompiler.cpp" ]
|
||||
}
|
|
@ -131,6 +131,7 @@ group("test") {
|
|||
":lit_site_cfg",
|
||||
":lit_unit_site_cfg",
|
||||
"//clang/lib/Headers",
|
||||
"//clang/tools/apinotes-test",
|
||||
"//clang/tools/c-index-test",
|
||||
"//clang/tools/clang-diff",
|
||||
"//clang/tools/clang-format",
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
executable("apinotes-test") {
|
||||
configs += [ "//llvm/utils/gn/build:clang_code" ]
|
||||
deps = [
|
||||
"//clang/lib/APINotes",
|
||||
]
|
||||
sources = [ "APINotesTest.cpp" ]
|
||||
}
|
Loading…
Reference in New Issue